Notice (8): Undefined index: BlogCategory [APP/Controller/BlogCategoriesController.php, line 57]Code Context'BlogPost' => array(
'conditions' => array(
'BlogPost.blog_category_id' => $blog_category['BlogCategory']['id'],
$category_slug = 'arrots' $bc_links = array( 'Blog' => '/blog' ) $blog_category = array()BlogCategoriesController::view() - APP/Controller/BlogCategoriesController.php, line 57 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
Notice (8): Undefined index: BlogCategory [APP/Controller/BlogCategoriesController.php, line 73]Code Context
$meta = array(
'meta_title' => $blog_category['BlogCategory']['meta_title'],
$category_slug = 'arrots' $bc_links = array( 'Blog' => '/blog' ) $blog_category = array() $blog_posts = array() $blog_categories = array( (int) 0 => array( 'BlogCategory' => array( 'id' => '1', 'name' => 'Dogs', 'slug' => 'dogs', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Blog - Dogs', 'meta_keywords' => 'Dogs, breeds, pets', 'meta_description' => 'Dog is a domestic pet and most loyal pet in animals.', 'created' => '2017-12-28 11:05:43.000000', 'updated' => '2017-12-28 11:29:00.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ), (int) 16 => array( [maximum depth reached] ), (int) 17 => array( [maximum depth reached] ), (int) 18 => array( [maximum depth reached] ), (int) 19 => array( [maximum depth reached] ), (int) 20 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'BlogCategory' => array( 'id' => '2', 'name' => 'Wild birds', 'slug' => 'wild-birds', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Pets Pakistan - wild birds', 'meta_keywords' => 'pets, pakistan, birds, animals, wild', 'meta_description' => 'Pets Pakista - wild birds, wild animals', 'created' => '2018-01-08 11:00:05.000000', 'updated' => '2018-01-08 11:00:05.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'BlogCategory' => array( 'id' => '3', 'name' => 'Parrots', 'slug' => 'parrots', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Parrots', 'meta_keywords' => 'Parrots', 'meta_description' => 'Parrots types ', 'created' => '2018-01-09 10:46:11.000000', 'updated' => '2018-01-09 10:46:11.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'BlogCategory' => array( 'id' => '4', 'name' => 'Animal Attacks', 'slug' => 'animal-attacks', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'animal attacks', 'meta_keywords' => 'animal attacks', 'meta_description' => 'animal attacks', 'created' => '2018-01-10 10:08:17.000000', 'updated' => '2018-01-10 10:08:17.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'BlogCategory' => array( 'id' => '5', 'name' => 'general', 'slug' => 'general', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'general', 'meta_keywords' => 'general', 'meta_description' => 'general', 'created' => '2018-01-11 19:42:31.000000', 'updated' => '2018-01-11 19:42:31.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 5 => array( 'BlogCategory' => array( 'id' => '6', 'name' => 'Cats', 'slug' => 'cats', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Cats', 'meta_keywords' => 'Cats', 'meta_description' => 'Cats', 'created' => '2018-01-16 17:15:04.000000', 'updated' => '2018-01-16 17:15:04.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 6 => array( 'BlogCategory' => array( 'id' => '7', 'name' => 'Animals', 'slug' => 'animals', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Animals', 'meta_keywords' => 'Animals', 'meta_description' => 'Animals', 'created' => '2018-01-25 10:03:24.000000', 'updated' => '2018-01-25 10:03:24.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ) )BlogCategoriesController::view() - APP/Controller/BlogCategoriesController.php, line 73 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
Notice (8): Undefined index: BlogCategory [APP/Controller/BlogCategoriesController.php, line 74]Code Context$meta = array(
'meta_title' => $blog_category['BlogCategory']['meta_title'],
'meta_keywords' => $blog_category['BlogCategory']['meta_keywords'],
$category_slug = 'arrots' $bc_links = array( 'Blog' => '/blog' ) $blog_category = array() $blog_posts = array() $blog_categories = array( (int) 0 => array( 'BlogCategory' => array( 'id' => '1', 'name' => 'Dogs', 'slug' => 'dogs', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Blog - Dogs', 'meta_keywords' => 'Dogs, breeds, pets', 'meta_description' => 'Dog is a domestic pet and most loyal pet in animals.', 'created' => '2017-12-28 11:05:43.000000', 'updated' => '2017-12-28 11:29:00.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ), (int) 16 => array( [maximum depth reached] ), (int) 17 => array( [maximum depth reached] ), (int) 18 => array( [maximum depth reached] ), (int) 19 => array( [maximum depth reached] ), (int) 20 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'BlogCategory' => array( 'id' => '2', 'name' => 'Wild birds', 'slug' => 'wild-birds', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Pets Pakistan - wild birds', 'meta_keywords' => 'pets, pakistan, birds, animals, wild', 'meta_description' => 'Pets Pakista - wild birds, wild animals', 'created' => '2018-01-08 11:00:05.000000', 'updated' => '2018-01-08 11:00:05.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'BlogCategory' => array( 'id' => '3', 'name' => 'Parrots', 'slug' => 'parrots', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Parrots', 'meta_keywords' => 'Parrots', 'meta_description' => 'Parrots types ', 'created' => '2018-01-09 10:46:11.000000', 'updated' => '2018-01-09 10:46:11.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'BlogCategory' => array( 'id' => '4', 'name' => 'Animal Attacks', 'slug' => 'animal-attacks', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'animal attacks', 'meta_keywords' => 'animal attacks', 'meta_description' => 'animal attacks', 'created' => '2018-01-10 10:08:17.000000', 'updated' => '2018-01-10 10:08:17.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'BlogCategory' => array( 'id' => '5', 'name' => 'general', 'slug' => 'general', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'general', 'meta_keywords' => 'general', 'meta_description' => 'general', 'created' => '2018-01-11 19:42:31.000000', 'updated' => '2018-01-11 19:42:31.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 5 => array( 'BlogCategory' => array( 'id' => '6', 'name' => 'Cats', 'slug' => 'cats', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Cats', 'meta_keywords' => 'Cats', 'meta_description' => 'Cats', 'created' => '2018-01-16 17:15:04.000000', 'updated' => '2018-01-16 17:15:04.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 6 => array( 'BlogCategory' => array( 'id' => '7', 'name' => 'Animals', 'slug' => 'animals', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Animals', 'meta_keywords' => 'Animals', 'meta_description' => 'Animals', 'created' => '2018-01-25 10:03:24.000000', 'updated' => '2018-01-25 10:03:24.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ) )BlogCategoriesController::view() - APP/Controller/BlogCategoriesController.php, line 74 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
Notice (8): Undefined index: BlogCategory [APP/Controller/BlogCategoriesController.php, line 75]Code Context'meta_title' => $blog_category['BlogCategory']['meta_title'],
'meta_keywords' => $blog_category['BlogCategory']['meta_keywords'],
'meta_description' => $blog_category['BlogCategory']['meta_description'],
$category_slug = 'arrots' $bc_links = array( 'Blog' => '/blog' ) $blog_category = array() $blog_posts = array() $blog_categories = array( (int) 0 => array( 'BlogCategory' => array( 'id' => '1', 'name' => 'Dogs', 'slug' => 'dogs', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Blog - Dogs', 'meta_keywords' => 'Dogs, breeds, pets', 'meta_description' => 'Dog is a domestic pet and most loyal pet in animals.', 'created' => '2017-12-28 11:05:43.000000', 'updated' => '2017-12-28 11:29:00.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ), (int) 16 => array( [maximum depth reached] ), (int) 17 => array( [maximum depth reached] ), (int) 18 => array( [maximum depth reached] ), (int) 19 => array( [maximum depth reached] ), (int) 20 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'BlogCategory' => array( 'id' => '2', 'name' => 'Wild birds', 'slug' => 'wild-birds', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Pets Pakistan - wild birds', 'meta_keywords' => 'pets, pakistan, birds, animals, wild', 'meta_description' => 'Pets Pakista - wild birds, wild animals', 'created' => '2018-01-08 11:00:05.000000', 'updated' => '2018-01-08 11:00:05.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 2 => array( 'BlogCategory' => array( 'id' => '3', 'name' => 'Parrots', 'slug' => 'parrots', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Parrots', 'meta_keywords' => 'Parrots', 'meta_description' => 'Parrots types ', 'created' => '2018-01-09 10:46:11.000000', 'updated' => '2018-01-09 10:46:11.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ) ) ), (int) 3 => array( 'BlogCategory' => array( 'id' => '4', 'name' => 'Animal Attacks', 'slug' => 'animal-attacks', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'animal attacks', 'meta_keywords' => 'animal attacks', 'meta_description' => 'animal attacks', 'created' => '2018-01-10 10:08:17.000000', 'updated' => '2018-01-10 10:08:17.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 4 => array( 'BlogCategory' => array( 'id' => '5', 'name' => 'general', 'slug' => 'general', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'general', 'meta_keywords' => 'general', 'meta_description' => 'general', 'created' => '2018-01-11 19:42:31.000000', 'updated' => '2018-01-11 19:42:31.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 5 => array( 'BlogCategory' => array( 'id' => '6', 'name' => 'Cats', 'slug' => 'cats', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Cats', 'meta_keywords' => 'Cats', 'meta_description' => 'Cats', 'created' => '2018-01-16 17:15:04.000000', 'updated' => '2018-01-16 17:15:04.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ) ), (int) 6 => array( 'BlogCategory' => array( 'id' => '7', 'name' => 'Animals', 'slug' => 'animals', 'published' => false, 'display_order' => '0', 'contents' => '', 'meta_title' => 'Animals', 'meta_keywords' => 'Animals', 'meta_description' => 'Animals', 'created' => '2018-01-25 10:03:24.000000', 'updated' => '2018-01-25 10:03:24.000000' ), 'BlogPost' => array( (int) 0 => array( [maximum depth reached] ) ) ) )BlogCategoriesController::view() - APP/Controller/BlogCategoriesController.php, line 75 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(256, '[CakeException]...', '/home/codenast/...', 128) #20 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #22 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #23 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #24 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 242) #25 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #26 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #27 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #28 [internal function]: App::shutdown() #29 {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(256, '[CakeException]...', '/home/codenast/...', 128) #20 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #22 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #23 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #24 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 242) #25 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #26 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #27 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #28 [internal function]: App::shutdown() #29 {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(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/...', 242) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #22 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #23 [internal function]: App::shutdown() #24 {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(256, '[CakeException]...', '/home/codenast/...', 128) #20 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #22 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #23 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #24 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 242) #25 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #26 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #27 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #28 [internal function]: App::shutdown() #29 {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(256, '[CakeException]...', '/home/codenast/...', 128) #20 [internal function]: ErrorHandler::handleError(256, '[CakeException]...', '/home/codenast/...', 128, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(128): trigger_error('[CakeException]...', 256) #22 [internal function]: ErrorHandler::handleException(Object(FatalErrorException)) #23 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException)) #24 /home/codenast/petspakistan.com/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/home/codenast/...', 242) #25 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #26 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #27 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #28 [internal function]: App::shutdown() #29 {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(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/...', 242) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #22 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #23 [internal function]: App::shutdown() #24 {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(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/...', 242) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #22 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(904): App::_checkFatalError() #23 [internal function]: App::shutdown() #24 {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(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/...', 242) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #20 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #21 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #15 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #16 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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 536870912 bytes exhausted (tried to allocate 6249116 bytes)' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Event/CakeEventManager.php' [protected] line => (int) 242 }, '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/...', 242) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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/...', 242) #10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/home/codenast/...', 242, Array) #11 /home/codenast/petspakistan.com/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/home/codenast/...', 242, 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 536870912 bytes exhausted (tried to allocate 6249116 bytes)' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Event/CakeEventManager.php' [protected] line => (int) 242 }
}
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 536870912 bytes exhausted (tried to allocate 6249116 bytes)' [protected] code => (int) 500 [protected] file => '/home/codenast/petspakistan.com/lib/Cake/Event/CakeEventManager.php' [protected] line => (int) 242 }
$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 536870912 bytes exhausted (tried to allocate 6249116 bytes)' '/home/codenast/petspakistan.com/lib/Cake/Event/CakeEventManager.php' (int) 242
(int) 1 'Allowed memory size of 536870912 bytes exhausted (tried to allocate 6249116 bytes)' '/home/codenast/petspakistan.com/lib/Cake/Event/CakeEventManager.php' (int) 242 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 536870912 bytes exhausted (tried to allocate 6249116 bytes)' '/home/codenast/petspakistan.com/lib/Cake/Event/CakeEventManager.php' (int) 242 array()
if (self::$_objectCacheChange) {
Cache::write('object_map', self::$_objects, '_cake_core_');
}
self::_checkFatalError();
}