Our Joomla! extensions are all OpenSource and free of charge. Support is also free of charge. Nevertheless, we do have costs that need to be paid. This is done out of our own pocket. We have had a donation button on our website for some time now, which is actually used to make donations from time to time. The donation progress bar is intended to show how much support we have received and how much is still missing to cover the basic costs, such as hosting and services. The annual costs currently amount to 420€.

  • 2024: €235.49 out of the €356 target was reached

Thank you for your support!

Donate PayPal GitHub Sponsors

You want to support and there is no suitable platform? Write to us in the forum.

98,12€

[Solved] Sitemap 5.3.0: Bug in sitemap_images.xml creation

11 months 1 week ago - 10 months 3 weeks ago #642 by LUCiD
Howdy Sven.

I've updated to the latest version of the Sitemap (on Joomla 5.3.3), but now there is an error within the creation of the XML file for the images map, after clicking the button 'Create Imagesmap XML' ('Create Sitemap XML' seems to work like it should).

An error has occurred.

0 array_merge(): Argument #2 must be of type array, null given

Call Stack#                    
Function                                Location
1 ()                                ->     JROOT\plugins\schuweb_sitemap\content\src\Extension\Content.php:714
2 array_merge()           ->      JROOT\plugins\schuweb_sitemap\content\src\Extension\Content.php:714
3 SchuWeb\Plugin\SchuWeb_Sitemap\Content\Extension\Content->getImages() 
                                     ->      JROOT\plugins\schuweb_sitemap\content\src\Extension\Content.php:544
4 SchuWeb\Plugin\SchuWeb_Sitemap\Content\Extension\Content->includeCategoryContent()
                                     ->      JROOT\plugins\schuweb_sitemap\content\src\Extension\Content.php:401
5 SchuWeb\Plugin\SchuWeb_Sitemap\Content\Extension\Content->expandCategory() 
                                     ->      JROOT\plugins\schuweb_sitemap\content\src\Extension\Content.php:250
6 SchuWeb\Plugin\SchuWeb_Sitemap\Content\Extension\Content->onGetTree() 
                                     ->      JROOT\libraries\vendor\joomla\event\src\Dispatcher.php:454

[truncated]

For the meantime and on my live site I've reverted to v5.2.2

Please Log in or Create an account to join the conversation.

11 months 5 days ago #644 by Sven Schultschik
Replied by Sven Schultschik on topic Sitemap 5.3.0: Bug in sitemap_images.xml creation
Thx for report, and the stack trace. I will look into it.

If you enjoy our extensions and found our assistance helpful, please consider supporting the project as outlined at the top of the page. Your support would be greatly appreciated.
The following user(s) said Thank You: LUCiD, Rolf Dautrich

Please Log in or Create an account to join the conversation.

11 months 4 days ago - 11 months 4 days ago #646 by Rolf Dautrich
Replied by Rolf Dautrich on topic Sitemap 5.3.0: Bug in sitemap_images.xml creation
I ran into the identical problem. My stack trace looks very similar:

An error has occurred.

0 array_merge(): Argument #2 must be of type array, null given

Call Stack
# Function Location
1 () JROOT/plugins/schuweb_sitemap/content/src/Extension/Content.php:714
2 array_merge() JROOT/plugins/schuweb_sitemap/content/src/Extension/Content.php:714
3 SchuWeb\Plugin\SchuWeb_Sitemap\Content\Extension\Content->getImages() JROOT/plugins/schuweb_sitemap/content/src/Extension/Content.php:544
4 SchuWeb\Plugin\SchuWeb_Sitemap\Content\Extension\Content->includeCategoryContent() JROOT/plugins/schuweb_sitemap/content/src/Extension/Content.php:255
5 SchuWeb\Plugin\SchuWeb_Sitemap\Content\Extension\Content->onGetTree() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
6 Joomla\Event\Dispatcher->dispatch() JROOT/components/com_schuweb_sitemap/src/Model/SitemapModel.php:367
7 SchuWeb\Component\Sitemap\Site\Model\SitemapModel->getSubNodes() JROOT/components/com_schuweb_sitemap/src/Model/SitemapModel.php:219
8 SchuWeb\Component\Sitemap\Site\Model\SitemapModel->getNodes() JROOT/components/com_schuweb_sitemap/src/Model/SitemapXmlModel.php:137
9 SchuWeb\Component\Sitemap\Site\Model\SitemapXmlModel->createSitemapXml() JROOT/components/com_schuweb_sitemap/src/Model/SitemapXmlModel.php:104
10 SchuWeb\Component\Sitemap\Site\Model\SitemapXmlModel->createxmlimages() JROOT/administrator/components/com_schuweb_sitemap/src/Controller/SitemapsController.php:150
11 SchuWeb\Component\Sitemap\Administrator\Controller\SitemapsController->_createxml() JROOT/administrator/components/com_schuweb_sitemap/src/Controller/SitemapsController.php:118
12 SchuWeb\Component\Sitemap\Administrator\Controller\SitemapsController->createxmlimages() JROOT/libraries/src/MVC/Controller/BaseController.php:730
13 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143

Please Log in or Create an account to join the conversation.

10 months 3 weeks ago #653 by alex_job
confirm the problem at my Joomla 5.3.3, hope to solve a bug soon, in other cases version works well!

Please Log in or Create an account to join the conversation.

10 months 3 weeks ago #654 by Sven Schultschik
Replied by Sven Schultschik on topic Sitemap 5.3.0: Bug in sitemap_images.xml creation
Thanks all. I found the issue and fixed it.
On the way I stumbled over another issue. 

If you enjoy our extensions and found our assistance helpful, please consider supporting the project as outlined at the top of the page. Your support would be greatly appreciated.
The following user(s) said Thank You: LUCiD

Please Log in or Create an account to join the conversation.

10 months 3 weeks ago #655 by Sven Schultschik
Replied by Sven Schultschik on topic Sitemap 5.3.0: Bug in sitemap_images.xml creation
Here a fix for testing

 

File Attachment:

File Name: pkg_schuwe...0922.zip
File Size:118 KB

If you enjoy our extensions and found our assistance helpful, please consider supporting the project as outlined at the top of the page. Your support would be greatly appreciated.
Attachments:
The following user(s) said Thank You: LUCiD

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds
Powered by Kunena Forum