Invalid argument supplied for foreach()

  • Posts: 24
  • Thank you received: 1
11 years 4 months 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
11 years 4 months 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
11 years 4 months 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
11 years 4 months 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.150 seconds
Powered by Kunena Forum