Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in xmlsitemap_check_status()

Created on 22 November 2022, about 2 years ago
Updated 10 August 2023, over 1 year ago

Problem/Motivation

Config page is broken after site upgraded to Drupal 10.

Steps to reproduce

Upgrade or install Drupal 10 site.
Go to : /admin/config/search/xmlsitemap
You'll see

The website encountered an unexpected error. Please try again later.

Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in xmlsitemap_check_status() (line 2351 of modules/contrib/xmlsitemap/xmlsitemap.module).

Proposed resolution

Remove deprecated code.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

xmlsitemap.module

Created by

🇮🇳India abhaisasidharan

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024