Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Upgrade xmlsitemap to 7.x-2.6 #890

Closed
sonnykt opened this issue Sep 25, 2019 · 3 comments
Closed

Upgrade xmlsitemap to 7.x-2.6 #890

sonnykt opened this issue Sep 25, 2019 · 3 comments

Comments

@sonnykt
Copy link
Contributor

sonnykt commented Sep 25, 2019

Version 2.5 has a critical issue https://www.drupal.org/project/xmlsitemap/issues/2986847 which breaks the sitemap and may break system cron as well. ASADA has reported the issue on their site https://www.govcms.support/a/tickets/3651. Disabling then re-enabling the module fixes the issue temporarily, but the module needs to be upgraded to 2.6 to permanent fix the issue.

@tobybellwood
Copy link
Contributor

fixed when #849 gets merged

@seanhamlin
Copy link
Contributor

Just encountered another site with issues running cron:

2019-11-04T21:16:20Z CRONJOB: drush cron
Agent pid 20
Identity added: /home/.ssh/key (/home/.ssh/key)
WD php: TypeError: Argument 1 passed to xmlsitemap_node_create_link()    [error]
must be an instance of stdClass, boolean given, called in
/app/profiles/govcms/modules/contrib/xmlsitemap/xmlsitemap_menu/xmlsitemap_menu.module
on line 282 in xmlsitemap_node_create_link() (line 219 of
/app/profiles/govcms/modules/contrib/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module).
TypeError: Argument 1 passed to xmlsitemap_node_create_link() must be an instance of stdClass, boolean given, called in /app/profiles/govcms/modules/contrib/xmlsitemap/xmlsitemap_menu/xmlsitemap_menu.module on line 282 in xmlsitemap_node_create_link() (line 219 of /app/profiles/govcms/modules/contrib/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module).
Drush command terminated abnormally due to an unrecoverable error.       [error]

This causes the cron pod to fail.

@thisisalistairsaccount
Copy link

Closing issue. Module had been updated previous to 2.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants