When I enable XMLSitemap_Engines I get a fatal error.

Error: Class Drupal\xmlsitemap_engines\Form\XmlSitemapEnginesSettingsForm contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\Core\Form\ConfigFormBase::getEditableConfigNames) in /var/www/mysite/public_html/modules/xmlsitemap/xmlsitemap_engines/src/Form/XmlSitemapEnginesSettingsForm.php, line 161

I'm using Drupal8.0.0-beta9 (dev). When I try to go to the Configuration pages for XMlSitemap I get further errors and no further options.

Uninstalling XMLSiteMap_Engines allows me to configure the base module.

I've attached a txt doc with the full debug.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kingfisher64’s picture

Yep, with latest stable Drupal and using the dev branch, dated 2015-Jun-30 of sitemap module the following is output when going to update.php page

Fatal error: Class Drupal\xmlsitemap_engines\Form\XmlSitemapEnginesSettingsForm contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\Core\Form\ConfigFormBase::getEditableConfigNames) in modules/xmlsitemap/xmlsitemap_engines/src/Form/XmlSitemapEnginesSettingsForm.php on line 22

Is there a fix for this?
Should we be using a different version of the module from github say?

Thanks

swentel’s picture

Status: Active » Needs review
FileSize
5.8 KB

This makes the form at least save again

badcrocodile’s picture

I'm getting that exact error on D8 when running drush rebuild-cache.

  • amateescu committed aa476d2 on 8.x-1.x authored by swentel
    Issue #2541112 by swentel: Enabling XMLSiteMapEngines module give fatal...
juampynr’s picture

Status: Needs review » Fixed

Fixed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Status: Closed (fixed) » Needs work

The last submitted patch, 2: 2541112-2.patch, failed testing.

amateescu’s picture

Status: Needs work » Closed (fixed)