Notice (8): Undefined index: Subcategory [APP/Controller/GalleryCategoriesController.php, line 159]Code Context
$GalleryCategory=$this->GalleryCategory->find('all',array(
'conditions'=>array('GalleryCategory.subcategory_id'=>$Galleries['Subcategory']['id']),
$id = (int) 8
$Galleries = array()
GalleryCategoriesController::gallery() - APP/Controller/GalleryCategoriesController.php, line 159
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: GalleryCategory [APP/Controller/GalleryCategoriesController.php, line 167]Code Context // echo '</pre>';
// exit();
$this->set('title_for_layout', $Galleries['GalleryCategory']['title']);
$id = (int) 8
$Galleries = array()
$GalleryCategory = array()
GalleryCategoriesController::gallery() - APP/Controller/GalleryCategoriesController.php, line 167
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
[CakeException] Headers already sent in /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Utility/Debugger.php on line 801
#0 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...')
#1 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(327): CakeResponse->send()
#2 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(306): ExceptionRenderer->_outputMessageSafe('error500')
#3 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(210): ExceptionRenderer->_outputMessage('fatalError')
#4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException))
#5 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(187): call_user_func_array(Array, Array)
#6 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render()
#7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException))
#8 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException))
#9 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/chroot/home/in...', 243)
#10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/chroot/home/in...', 243, Array)
#11 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/chroot/home/in...', 243, Array)
#12 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Core/App.php(904): App::_checkFatalError()
#13 [internal function]: App::shutdown()
#14 {main}
Error:
An Internal Error Has Occurred.
Stack Trace
- CORE/Cake/Error/ErrorHandler.php line 203 → ErrorHandler::handleFatalError(integer, string, string, integer)
$errorConfig = Configure::read('Error');
list($error, $log) = self::mapErrorCode($code);
if ($log === LOG_ERR) {
return self::handleFatalError($code, $description, $file, $line);
}
(int) 256
'[CakeException] Headers already sent in /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Utility/Debugger.php on line 801
#0 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Network/CakeResponse.php(419): CakeResponse->_sendHeader('HTTP/1.1 500 In...')
#1 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(327): CakeResponse->send()
#2 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(306): ExceptionRenderer->_outputMessageSafe('error500')
#3 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(210): ExceptionRenderer->_outputMessage('fatalError')
#4 [internal function]: ExceptionRenderer->_cakeError(Object(FatalErrorException))
#5 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ExceptionRenderer.php(187): call_user_func_array(Array, Array)
#6 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render()
#7 [internal function]: ErrorHandler::handleException(Object(FatalErrorException))
#8 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ErrorHandler.php(252): call_user_func('ErrorHandler::h...', Object(FatalErrorException))
#9 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Allowed memory ...', '/chroot/home/in...', 243)
#10 [internal function]: ErrorHandler::handleError(1, 'Allowed memory ...', '/chroot/home/in...', 243, Array)
#11 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 1, 'Allowed memory ...', '/chroot/home/in...', 243, Array)
#12 /chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Core/App.php(904): App::_checkFatalError()
#13 [internal function]: App::shutdown()
#14 {main}'
'/chroot/home/inteplastbuild/inteplastbuild.com/html/lib/Cake/Error/ErrorHandler.php'
(int) 128
- [internal function] →