Skip to main content

Invalid Argument

More
15 years 5 months ago #13922 by james
Invalid Argument was created by james
I am getting this error message -


Warning: Invalid argument supplied for foreach() in /home/content/84/6698584/html/components/com_hikashop/views/product/view.html.php on line 508

Warning: Invalid argument supplied for foreach() in /home/content/84/6698584/html/components/com_hikashop/views/product/view.html.php on line 558


You can view it here - http://www.groweasyorganics.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=7&name=mineralplex-gallon&Itemid=59&category_pathway=0

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

More
15 years 5 months ago #13931 by nicolas
Replied by nicolas on topic Re: Invalid Argument
You're using HikaShop 1.4.1. Please update to the latest version and try again.

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

More
15 years 5 months ago #14078 by AllisonR
Replied by AllisonR on topic Re: Invalid Argument
Hi

I'm using the latest version and am still getting this error when importing products. Everything looks fine, though, but I don't want to run into problems later.


Warning: Invalid argument supplied for foreach() in /home/simplyco/domains/simplycolostrum.co.za/subdomains/master/public_html/administrator/components/com_hikashop/views/product/view.html.php on line 203

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

More
15 years 5 months ago #14082 by nicolas
Replied by nicolas on topic Re: Invalid Argument
Hi,

Your problem is NOT the same. You're getting that notice on the back end products listing page.
Please edit that page and change the code on that line 203:
foreach($prices as $price){
to:
foreach(@$prices as $price){

and try again.

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

More
15 years 5 months ago #14960 by ellemhach
Replied by ellemhach on topic Re: Invalid Argument
Hi there,

Similar but different error here:

"Warning: Invalid argument supplied for foreach() in /home/jolidage/public_html/shop/components/com_hikashop/views/product/view.html.php on line 617"

& shows on front end. I have the latest version (downloaded & installed today) 1.4.9

Code at line 617 reads:

foreach($element->characteristics as $k => $characteristic){

Any help massively appreciated :)

-lisa

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

More
15 years 5 months ago #14968 by nicolas
Replied by nicolas on topic Re: Invalid Argument
Please try to change that line by:
foreach(@$element->characteristics as $k => $characteristic){

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

Time to create page: 0.224 seconds
Powered by Kunena Forum