Quote Originally Posted by Joe Robot View Post
OK, so I made some time to check the ZC logs and there are a bunch of errors, all the same thing:

Invalid argument supplied for foreach() in /home/content/88/7710088/html/zencart/includes/functions/extra_functions/reward_points_functions.php on line 314

That's about as far as I can get, any thoughts as to what could have caused this?
Step 1 is to look in that file at that line of code. I copied that section below. Line 314 is the 'foreach' line. Have you installed any other Order Total Modules recently or adjusted the advanced calculation setting? Also, what version of ZEn-Cart and this module are you using?

function GetRewardPointAdvancedCalculateValue()
{
$value=0;

$module_list=GetRewardPointAdvancedCalculateTable();

foreach($module_list as $module)
if($module['action']=="Subtract")
$value-=GetOrderTotalValue($module['module']);
else
$value+=GetOrderTotalValue($module['module']);

return $value;
}