Generate the sitemap file: array_key_exists() expects parameter 2 to be array, null given
Permalink Browser Info Environment
I think this add-on is breaking the "Generate Sitemap" automated job with the following error:
See attached.
I restored my C5 instance from a backup before installing this add-on, and the Generate Sitemap automated job works as expected. Once the Devoda SEO package was installed, this error is given.
Not sure if it's relevant or not, but I'm using C5 8.5.
Can you please advise?
Thanks in advance
Generate the sitemap file: array_key_exists() expects parameter 2 to be array, null given
See attached.
I restored my C5 instance from a backup before installing this add-on, and the Generate Sitemap automated job works as expected. Once the Devoda SEO package was installed, this error is given.
Not sure if it's relevant or not, but I'm using C5 8.5.
Can you please advise?
Thanks in advance
Type: | Pre-Sale |
---|---|
Status: | Resolved |
No problem. I've edited the concrete/src/Page/Sitemap/Event/XmlReadyEvent.php as suggested however there's no update pending for the add-on (at least not through the Dashboard) despite my installed version being 1.5.2 and the marketplace clearly stating that the latest version is 1.5.3.
Can you advise how I can manually download it?
Can you advise how I can manually download it?
Hi there,
Can you look if you can update now? The marketplace is acting strange on serving versions of the Add-On but should be OK now.
Kind regards,
Ramon
Can you look if you can update now? The marketplace is acting strange on serving versions of the Add-On but should be OK now.
Kind regards,
Ramon
Thanks - I was able to update today and I have been able to successfully generate the sitemap.xml.
Thanks for the prompt support!
Thanks for the prompt support!
Hi there,
Glad it's working as expected. Drop a product review if you have the time to do so! :)
Kind regards,
Ramon
Glad it's working as expected. Drop a product review if you have the time to do so! :)
Kind regards,
Ramon
There is an issue in the current concrete5 version (8.5.0). You can make this change yourself now, if you'd like:
https://github.com/concrete5/concrete5/pull/7691/files...
It's only 1 file change. After doing this, you can update Devoda SEO too, as you need to update since core code change (hence the error they made).
So the combination of editing the core file and updating the Add-On, will make it work. You can also wait for an update of the CMS, since this bug is fixed in the upcoming version (probably version 8.5.1, but not sure if they add more in the next update and make it 8.6.0).
Does that work for you?
Kind regards,
Ramon