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, about 1 year ago
Updated 8 November 2023, about 1 year 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.71.5 2024