News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Warning: Invalid argument supplied for foreach()

Started by segami, May 11, 2020, 14:08:11 PM

Previous topic - Next topic

segami

Hi
i need help. I get this message below, if I push all categories in my shop!
I have VirtueMart 3.8.0 10319 installed to joomla 3.9.18. and php-version 7.4.5.

Warning: Invalid argument supplied for foreach() in /components/com_virtuemart/views/category/view.html.php on line 285

line 285 ->   foreach( $opt as $o ) {

regards
Thomas

Jörgen

#1
Quote from: segami on May 11, 2020, 14:08:11 PM
Hi
i need help. I get this message below, if I push all categories in my shop!

regards
Thomas

Push all categories ?

QuoteWarning: Invalid argument supplied for foreach() in /components/com_virtuemart/views/category/view.html.php on line 285

This is only a warning, turn down error reporting in php. Probably connected to harder syntax check in PHP 7.4.5.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.