Cannot use 'String' as class name as it is reserved
Error:
An Internal Error Has Occurred.
Stack Trace
- CORE/Cake/Error/ErrorHandler.php line 184 → ErrorHandler::handleFatalError(integer, string, string, integer)
$errorConfig = Configure::read('Error');
list($error, $log) = self::mapErrorCode($code);
if ($log === LOG_ERR) {
return self::handleFatalError($code, $description, $file, $line);
}
(int) 64
'Cannot use 'String' as class name as it is reserved'
'/home/patrickenergy/public_html/portal/lib/Cake/Utility/String.php'
(int) 27
- CORE/Cake/Core/App.php line 931 → ErrorHandler::handleError(integer, string, string, integer, array)
if (!is_callable($errorHandler)) {
return;
}
call_user_func($errorHandler, $lastError['type'], $lastError['message'], $lastError['file'], $lastError['line'], array());
}
(int) 64
'Cannot use 'String' as class name as it is reserved'
'/home/patrickenergy/public_html/portal/lib/Cake/Utility/String.php'
(int) 27
array()
- CORE/Cake/Core/App.php line 904 → App::_checkFatalError()
if (self::$_objectCacheChange) {
Cache::write('object_map', self::$_objects, '_cake_core_');
}
self::_checkFatalError();
}
- [internal function] → App::shutdown()