Skip to main content

Invalid argument supplied for foreach()

More
13 years 2 months ago #113845 by electronsi00
Hi

Searched but didn't find my exact error.

Getting this error on checkout

Invalid argument supplied for foreach() in /home/cottagem/public_html/modules/mod_hikashop_cart/mod_hikashop_cart.php on line 28

Line 28 says this:
Code:
foreach($module_options as $key => $option){ if($key !='moduleclass_sfx'){ $params->set($key,$option); } }

Please advise

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

More
13 years 2 months ago #113891 by Mohamed Thelji
Hi,

Did you edited some Hikashop system files ? If not can you just update your Hikashop to the last version ?

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

More
13 years 2 months ago #114016 by electronsi00
Thank you that fixed it :)

If i make changes to the language file, in the future, is it possible to back that file up and reload it after an update?

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

More
13 years 2 months ago #114063 by Eliot
Hi there,

Updating will not affect your language file if you edited it.
It should keep your customizations ;)

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

Time to create page: 0.148 seconds
Powered by Kunena Forum