Error in Router.php ???

13.07.2025 19:11
#1
Petergus
Joomshopping forum user no avatar
Name: Peter Gustafsson
23.10.2008
Posts: 5
Quote
Error in Router.php ???

Hello.

I get a warning when using the component.
Version 5.8.0

The store seems to work but the warning appears at the top of every page.

Warning: Undefined array key "Itemid" in /home/*******/**********.es/components/com_jshopping/Service/Router.php on line 113

Line 113 is as follows:
if (isset($categoryitemidlist[$query['category_id']]) && $categoryitemidlist[$query['category_id']]==$query['Itemid'] && isset($prodalias[$query['product_id']])){

Advice is appreciated on what could be the problem and how to fix it.


Joomla: 5,3,2
JoomShopping: 5.8.0
PHP: 8,4
 
13.07.2025 20:18
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28106
Quote
Aw: Error in Router.php ???

Item menu shop created?

 
14.07.2025 10:30
#3
Petergus
Joomshopping forum user no avatar
Name: Peter Gustafsson
23.10.2008
Posts: 5
Quote
Aw: Error in Router.php ???

Yes, to one category, in 3 languages.

 
14.07.2025 10:34
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28106
Quote
Aw: Error in Router.php ???

No only category.

Item menu shop created?
https://www.joomshopping.com/forum/posts/7/955.html
---------------------------------------
Now
Global Configuration
Error Reporting: none


Last change: 14.07.2025 10:35
 
14.07.2025 14:11
#5
Petergus
Joomshopping forum user no avatar
Name: Peter Gustafsson
23.10.2008
Posts: 5
Quote
Aw: Error in Router.php ???

Thanks for the help.
It seems to be working now.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.