Invalid argument supplied for foreach()

  • Posts: 24
  • Thank you received: 1
12 years 2 days ago #113845

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:

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.

  • Posts: 12953
  • Thank you received: 1778
12 years 1 day ago #113891

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.

  • Posts: 24
  • Thank you received: 1
12 years 1 day ago #114016

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.

  • Posts: 2334
  • Thank you received: 403
12 years 19 hours ago #114063

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.058 seconds
Powered by Kunena Forum