Warning after update to 5.0.7

05.09.2022 10:35
#1
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Posts: 41
Quote
Warning after update to 5.0.7

Hello,
Not a big deal for now as this is on a test Joomla 4 site I'm putting up together, but since I updated the install this morning to use the latest com_jshopping 5.0.7, I get a warning error as herebelow which I can seem to be able to fix:

Warning: Invalid argument supplied for foreach() in xxxxx/components/com_jshopping/Service/Router.php on line 74

Could you pls let me know how to fix it?

Thanks and best rgds

Philippe


Joomla: 4.2.2
JoomShopping: 5.0.7
PHP: 7.4.30
Website Url: philippe.leslevi.org
 
05.09.2022 10:53
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Warning after update to 5.0.7

1. update
upd_joomshopping_5.8.0_a61.zip

2. Create item menu shop (example hidden menu)
https://www.joomshopping.com/forum/posts/7/955.html#1


Last change: 05.09.2022 10:53
 
05.09.2022 11:16
#3
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Posts: 41
Quote
Aw: Warning after update to 5.0.7

Thks much!
Got it to work ok now
Cheers
Philippe

 
05.09.2022 12:36
#4
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Posts: 41
Quote
Aw: Warning after update to 5.0.7

Hmmmmm,
Wonder if there is not another quirk here: when I create new orders, order status is not displayed at all, neither in the Admin panel nor in the email / pdf outputs.
Checking the global config, I found that all values had been removed...No sweat as I have them from the old 4.x install but I just don't know why they disappeared...

Just to help out...

Philippe

 
05.09.2022 12:42
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Warning after update to 5.0.7

-..сonfig, I found that all values had been removed.

after update joomshopping?
or
after upgrade joomshopping 4 - joomshopping 5?

 
05.09.2022 13:14
#6
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Posts: 41
Quote
Aw: Warning after update to 5.0.7

After Joomshopping update from 5.0.6 to 5.0.7 apparently...Cannot doublecheck anymore, unfortunately.

Complete story is I created in June a new install from scracth with J4 and Joomshopping 5.0.5 and I had everything (almost) ready to go, upgrading to 5.0.6.
Coming back from vacation, I figured there was the 5.0.7 update which I installed today, followed by your pre-5.0.8 fix

That's it.

Philippe

 
05.09.2022 13:20
#7
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Warning after update to 5.0.7

Very strange.

 
05.09.2022 13:40
#8
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Posts: 41
Quote
Aw: Warning after update to 5.0.7

Yes, but, again, not a big deal :-)

 
05.09.2022 13:50
#9
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Warning after update to 5.0.7

update to 5.0.7 does not change configuration

Possible problem only when updating Joomshopping 4.x - 5.x
how did you make the transition?

 
05.09.2022 14:06
#10
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Posts: 41
Quote
Aw: Warning after update to 5.0.7

I believe you that it shouldn't change the configuration....

I never transitionned from 4.x to 5.x.becuase my live site is for now based on 4.x...
I just restarted a complete J4-JS5 Quickstart template package from the company I get the template from and put both installs side-by-side to recreate layout and products, since you mentionned that the product tables had changed and so I could not just import the product table...
And I'm pretty sure that product statuses were actually pre-filled in the database but summer came and I'm getting older everyday, so I can't swear I recall everything from beginning of July now :-)

Maybe I messed up something but I never edited the database, that's for sure...

Don't spend valuable time on this anyhow...I'll keep an eye on it.

Philippe

 


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.