Code Context $pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error'
$message = '[FatalErrorException] Cannot use 'Object' as class name as it is reserved
Request URL: /stations/detail/7607/36901752/?url=stations%2Fdetail%2F7607%2F36901752%2F
Stack Trace:
#0 /home/sites/xiehui_2jojo/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError()
#1 /home/sites/xiehui_2jojo/lib/Cake/Core/App.php(970): ErrorHandler::handleError()
#2 /home/sites/xiehui_2jojo/lib/Cake/Core/App.php(943): App::_checkFatalError()
#3 [internal function]: App::shutdown()
#4 {main}'
$output = '2025-05-22 05:28:53 Error: [FatalErrorException] Cannot use 'Object' as class name as it is reserved
Request URL: /stations/detail/7607/36901752/?url=stations%2Fdetail%2F7607%2F36901752%2F
Stack Trace:
#0 /home/sites/xiehui_2jojo/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError()
#1 /home/sites/xiehui_2jojo/lib/Cake/Core/App.php(970): ErrorHandler::handleError()
#2 /home/sites/xiehui_2jojo/lib/Cake/Core/App.php(943): App::_checkFatalError()
#3 [internal function]: App::shutdown()
#4 {main}
'
$filename = 'error.log'
$pathname = '/home/sites/xiehui_2jojo/app/tmp/logs/error.log'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 442
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 284
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 213
App::_checkFatalError() - CORE/Cake/Core/App.php, line 970
App::shutdown() - CORE/Cake/Core/App.php, line 943
[main] - [internal], line ??