Error: Class "Drupal\simple_sitemap\Controller\SimplesitemapController" not found in include() (line 17 of /var/www/html/web/modules/contrib/domain_simple_sitemap/src/Controller/DomainSimpleSitemapController.php)

Created on 31 October 2023, 8 months ago
Updated 8 November 2023, 8 months ago

Problem/Motivation

When upgrading Simple XML Sitemap from 8.x-3.11 to 4.1.6 in my local environment, I get this error:
PHP Fatal error: Uncaught Error: Class "Drupal\simple_sitemap\Controller\SimplesitemapController" not found in /var/www/html/web/modules/contrib/domain_simple_sitemap/src/Controller/DomainSimpleSitemapController.php:17

Steps to reproduce

Tools:

  • MAC OS 13.4.1
  • Docker 4.21.1
  • DDEV v1.22.3

Commands:

  • ddev composer require 'drupal/simple_sitemap:^4.1.6'
  • ddev exec drush cr

I tried my luck with some solutions from the issue Class 'Drupal\simple_sitemap\Queue\SimpleSitemapQueue' not found πŸ’¬ Class 'Drupal\simple_sitemap\Queue\SimpleSitemapQueue' not found Fixed to no avail.

πŸ’¬ Support request
Status

Fixed

Version

4.1

Component

Miscellaneous

Created by

πŸ‡ΉπŸ‡·Turkey TitaCvetkovic

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024