When cron runs, I get an error message:
Illegal choice xmlsitemap_engines_test in status element.

It also comes up when I run some drush commands.

Let me know if you need more data from me.

Comments

jwintx’s picture

I had the same issue. Here is how I fixed it:

Disable all xml sitemap modules from the webpage.
Uninstall all xml sitemap modules from the webpage.
Delete the /sites/all/modules/xmlsitemap directory (or move it to a location outside of drupal)
Run drush updatedb
You should see the following message:

"module xmlsitemap_engines_test is incompatible with this release of Drupal, and will be disabled."

Run drush dl xmlsitemap
Run drush en xmlsitemap (and any other xml sitemap modules you need)
Goto xml sitemap admin in your browser and reset your settings and rebuild your sitemap.