phpicalendar gives foreach error after upgrading
April 15th, 2007 by Lawrence David
if you see the following error message after upgrading to phpicalendar 2.2+:
Warning: Invalid argument supplied for foreach() in functions/template.php on line 274
it’s because you copied your old config.php file; the new ones have this new line:
$week_length = '7'; // Number of days to display in the week view