Notice (8): Undefined index: PetCategory [APP/Controller/PetsController.php, line 723]Code Context),
));
$pet_category = $pet_category['PetCategory'];
$id = '4331' $pet = array( 'Pet' => array( 'id' => '4331', 'title' => 'High Flying Breeding Pigeons ', 'price' => '3000', 'user_id' => '15572', 'city_id' => '311', 'breed_id' => '0', 'details' => 'I want to sale my home breeding high Flying Qasoori Neeley and Cheeney Saibey Waley pigeons with red eyes and the babies of Teddy breeding pigeons. I live in Lahore Cantt near New Airport Road Lahore Cantt. Please contact me on my cell phone.', 'date_added' => '0000-00-00 00:00:00', 'created' => '2020-08-23 08:38:55', 'modified' => '2023-09-30 15:19:59', 'type' => null, 'contact_number' => '03219400726', 'active' => true, 'views' => '323' ), 'Breed' => array( 'id' => null, 'name' => null, 'slug' => null, 'pet_category_id' => null, 'description' => null, 'breeding_tips' => null, 'image' => null, 'created' => null, 'modified' => null, 'meta_title' => null, 'meta_keywords' => null, 'meta_description' => null ), 'City' => array( 'id' => '311', 'name' => 'LAHORE CANTT', 'slug' => 'lahore-cantt', 'is_top' => false ), 'User' => array( 'password' => '*****', 'id' => '15572', 'first_name' => 'SK', 'last_name' => 'Afridi', 'username' => 'skafridi0786', 'email' => 'skafridi0786@yahoo.com', 'admin' => false, 'key' => '2ef39e2851757dfe42a11965779cc55bc161b359', 'blocked' => null, 'contact_number' => null, 'last_login' => '2020-08-23 08:33:55', 'active' => true, 'fb_id' => null, 'verified' => '0', 'login_count' => '1', 'created' => null, 'modified' => '2020-08-23 08:35:03' ), 'PetImage' => array() ) $pet_category = array()PetsController::detail() - APP/Controller/PetsController.php, line 723 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165 require - APP/webroot/index.php, line 118 [main] - ROOT/index.php, line 42
Error: An Internal Error Has Occurred.
$errorConfig = Configure::read('Error');
list($error, $log) = self::mapErrorCode($code);
if ($log === LOG_ERR) {
return self::handleFatalError($code, $description, $file, $line);
}
(int) 256 '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #15 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #17 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #18 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #19 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #22 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #23 [internal function]: App::shutdown() #24 {main}' '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' (int) 128
(int) 256 '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #15 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #17 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #18 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #19 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #22 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #23 [internal function]: App::shutdown() #24 {main}' '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' (int) 128 array( 'exception' => object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #17 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main}' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' [protected] line => (int) 128 }, 'config' => array( 'handler' => 'ErrorHandler::handleException', 'renderer' => 'ExceptionRenderer', 'log' => true ), 'renderer' => 'ExceptionRenderer', 'error' => object(ExceptionRenderer) { controller => object(CakeErrorController) {} template => 'fatalError' method => '_cakeError' error => object(FatalErrorException) {} }, 'e' => object(CakeException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => 'Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php' [protected] line => (int) 524 }, 'message' => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #15 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #17 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #18 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #19 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #22 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #23 [internal function]: App::shutdown() #24 {main}' )
$e->getMessage(),
$e->getTraceAsString()
);
trigger_error($message, E_USER_ERROR);
}
'[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #15 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #17 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #18 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #19 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #22 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #23 [internal function]: App::shutdown() #24 {main}' (int) 256
object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #17 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main}' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' [protected] line => (int) 128 }
}
if (Configure::read('debug')) {
call_user_func($exceptionHandler, new FatalErrorException($description, 500, $file, $line));
} else {
'ErrorHandler::handleException' object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #17 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main}' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' [protected] line => (int) 128 }
$errorConfig = Configure::read('Error');
list($error, $log) = self::mapErrorCode($code);
if ($log === LOG_ERR) {
return self::handleFatalError($code, $description, $file, $line);
}
(int) 256 '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #17 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main}' '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' (int) 128
(int) 256 '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #17 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main}' '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' (int) 128 array( 'exception' => object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #12 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #13 [internal function]: App::shutdown() #14 {main}' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' [protected] line => (int) 128 }, 'config' => array( 'handler' => 'ErrorHandler::handleException', 'renderer' => 'ExceptionRenderer', 'log' => true ), 'renderer' => 'ExceptionRenderer', 'error' => object(ExceptionRenderer) { controller => object(CakeErrorController) {} template => 'fatalError' method => '_cakeError' error => object(FatalErrorException) {} }, 'e' => object(CakeException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => 'Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php' [protected] line => (int) 524 }, 'message' => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #17 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main}' )
$e->getMessage(),
$e->getTraceAsString()
);
trigger_error($message, E_USER_ERROR);
}
'[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(256, '[CakeException]...', '/home/codenast/...', 128) #10 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #12 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #13 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #14 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #17 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main}' (int) 256
object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #12 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #13 [internal function]: App::shutdown() #14 {main}' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' [protected] line => (int) 128 }
}
if (Configure::read('debug')) {
call_user_func($exceptionHandler, new FatalErrorException($description, 500, $file, $line));
} else {
'ErrorHandler::handleException' object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #12 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #13 [internal function]: App::shutdown() #14 {main}' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' [protected] line => (int) 128 }
$errorConfig = Configure::read('Error');
list($error, $log) = self::mapErrorCode($code);
if ($log === LOG_ERR) {
return self::handleFatalError($code, $description, $file, $line);
}
(int) 256 '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #12 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #13 [internal function]: App::shutdown() #14 {main}' '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' (int) 128
(int) 256 '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #12 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #13 [internal function]: App::shutdown() #14 {main}' '/home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php' (int) 128 array( 'exception' => object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 2060373 bytes)' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/View/View.php' [protected] line => (int) 952 }, 'config' => array( 'handler' => 'ErrorHandler::handleException', 'renderer' => 'ExceptionRenderer', 'log' => true ), 'renderer' => 'ExceptionRenderer', 'error' => object(ExceptionRenderer) { controller => object(CakeErrorController) {} template => 'fatalError' method => '_cakeError' error => object(FatalErrorException) {} }, 'e' => object(CakeException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => 'Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php' [protected] line => (int) 524 }, 'message' => '[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #12 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #13 [internal function]: App::shutdown() #14 {main}' )
$e->getMessage(),
$e->getTraceAsString()
);
trigger_error($message, E_USER_ERROR);
}
'[CakeException] Headers already sent in /home/codenast/petspakistan.com/lib/Cake/Utility/Debugger.php on line 801 #0 /home/codenast/petspakistan.com/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...') #1 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(316): CakeResponse->send() #2 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(295): ExceptionRenderer->_outputMessageSafe('error500') #3 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError') #4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException)) #5 /home/codenast/petspakistan.com/lib/Cake/Error/ExceptionRenderer.php(176): call_user_func_array(Array, Array) #6 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render() #7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #8 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #9 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 952) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 952, Array) #12 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #13 [internal function]: App::shutdown() #14 {main}' (int) 256
object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 2060373 bytes)' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/View/View.php' [protected] line => (int) 952 }
}
if (Configure::read('debug')) {
call_user_func($exceptionHandler, new FatalErrorException($description, 500, $file, $line));
} else {
'ErrorHandler::handleException' object(FatalErrorException) { [protected] _attributes => array() [protected] _messageTemplate => '' [protected] _responseHeaders => null [protected] message => 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 2060373 bytes)' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/View/View.php' [protected] line => (int) 952 }
$errorConfig = Configure::read('Error');
list($error, $log) = self::mapErrorCode($code);
if ($log === LOG_ERR) {
return self::handleFatalError($code, $description, $file, $line);
}
(int) 1 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 2060373 bytes)' '/home/codenast/petspakistan.com/lib/Cake/View/View.php' (int) 952
(int) 1 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 2060373 bytes)' '/home/codenast/petspakistan.com/lib/Cake/View/View.php' (int) 952 array()
if (!is_callable($errorHandler)) {
return;
}
call_user_func($errorHandler, $lastError['type'], $lastError['message'], $lastError['file'], $lastError['line'], array());
}
'ErrorHandler::handleError' (int) 1 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 2060373 bytes)' '/home/codenast/petspakistan.com/lib/Cake/View/View.php' (int) 952 array()
if (self::$_objectCacheChange) {
Cache::write('object_map', self::$_objects, '_cake_core_');
}
self::_checkFatalError();
}