This is in my error.log
Code:
PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80
PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80
PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80
PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80
could anyone enlighten me as to what this means? the line of code it is reffering to is this
Code:
$$objectName = new $className();
and that is taken from the larger bit of code in the file
Code:
case 'classInstantiate':
$objectName = $entry['objectName'];
$className = $entry['className'];
if (isset($entry['classSession']) && $entry['classSession'] === true) {
if (isset($entry['checkInstantiated']) && $entry['checkInstantiated'] === true) {
if (!isset($_SESSION[$objectName])) {
$_SESSION[$objectName] = new $className();
$debugOutput .= 'if (!$_SESSION[' . $objectName . ']) { ';
$debugOutput .= '$_SESSION[' . $objectName . '] = new ' . $className . '();';
$debugOutput .= ' }<br />';
}
} else {
$_SESSION[$objectName] = new $className();
$debugOutput .= ' $_SESSION[' . $objectName . '] = new ' . $className . '();<br />';
}
} else {
***********THIS NEXT LINE OF CODE IS THE PROBLEM***********
$$objectName = new $className();
$debugOutput .= '$' . $objectName . ' = new ' . $className . '();<br />';
}
break;
This is for a client of mine,
Thanks for any help
Bookmarks