Any idea why the following code in the end of global.php causes " Warning: Invalid argument supplied for foreach() in /includes/functions.php" after upgrading from 3.0.5 to 3.0.6?
Code:
if (DB_QUERIES)
{
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "End call of global.php: $aftertime\n";
echo "\n<hr />\n\n";
}
// +++ vBookie
// get general settings for vBookie
$vbookiesettings = convert_bits_to_array($vbookiesettings,$_VBOOKIE);
// --- vBookie
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 02:21, Fri Jan 21st 2005