Notice (8): Undefined index: PetCategory [APP/Controller/PetsController.php, line 723]

[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}

Error: An Internal Error Has Occurred.

Stack Trace

  • CORE/Cake/Error/ErrorHandler.php line 203ErrorHandler::handleFatalError(integer, string, string, integer)
  • [internal function]ErrorHandler::handleError(integer, string, string, integer, array)