Notice (8): Trying to get property of non-object [APP/Controller/ArticlesController.php, line 74]Code Context->find()->where(['Articles.status' => 1,'Articles.id !=' => $article->id])->order(['Articles.id DESC'])$slug = null $article = nullApp\Controller\ArticlesController::details() - APP/Controller/ArticlesController.php, line 74 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\I18n\Middleware\I18nMiddleware::__invoke() - ROOT/vendor/admad/cakephp-i18n/src/Middleware/I18nMiddleware.php, line 94 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98 [main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/ArticlesController.php, line 79]Code Context$title = $article->title;$description = $article->description;$slug = null $article = null $recent_post = []App\Controller\ArticlesController::details() - APP/Controller/ArticlesController.php, line 79 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\I18n\Middleware\I18nMiddleware::__invoke() - ROOT/vendor/admad/cakephp-i18n/src/Middleware/I18nMiddleware.php, line 94 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98 [main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/ArticlesController.php, line 80]Code Context$title = $article->title;$description = $article->description;$image = 'uploads' . DS . 'articles' . DS . $article->id . DS .$article->image;$slug = null $article = null $recent_post = [] $title = nullApp\Controller\ArticlesController::details() - APP/Controller/ArticlesController.php, line 80 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\I18n\Middleware\I18nMiddleware::__invoke() - ROOT/vendor/admad/cakephp-i18n/src/Middleware/I18nMiddleware.php, line 94 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98 [main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/ArticlesController.php, line 81]Code Context$description = $article->description;$image = 'uploads' . DS . 'articles' . DS . $article->id . DS .$article->image;$keywords = json_decode($article->meta_keyword, true);$slug = null $article = null $recent_post = [] $title = null $description = nullApp\Controller\ArticlesController::details() - APP/Controller/ArticlesController.php, line 81 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\I18n\Middleware\I18nMiddleware::__invoke() - ROOT/vendor/admad/cakephp-i18n/src/Middleware/I18nMiddleware.php, line 94 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98 [main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/ArticlesController.php, line 81]Code Context$description = $article->description;$image = 'uploads' . DS . 'articles' . DS . $article->id . DS .$article->image;$keywords = json_decode($article->meta_keyword, true);$slug = null $article = null $recent_post = [] $title = null $description = nullApp\Controller\ArticlesController::details() - APP/Controller/ArticlesController.php, line 81 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\I18n\Middleware\I18nMiddleware::__invoke() - ROOT/vendor/admad/cakephp-i18n/src/Middleware/I18nMiddleware.php, line 94 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98 [main] - ROOT/webroot/index.php, line 40
Notice (8): Trying to get property of non-object [APP/Controller/ArticlesController.php, line 82]Code Context$image = 'uploads' . DS . 'articles' . DS . $article->id . DS .$article->image;$keywords = json_decode($article->meta_keyword, true);$keyword = '';$slug = null $article = null $recent_post = [] $title = null $description = null $image = 'uploads/articles//'App\Controller\ArticlesController::details() - APP/Controller/ArticlesController.php, line 82 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\I18n\Middleware\I18nMiddleware::__invoke() - ROOT/vendor/admad/cakephp-i18n/src/Middleware/I18nMiddleware.php, line 94 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98 [main] - ROOT/webroot/index.php, line 40
Warning (512): Unable to emit headers. Headers sent in file=/home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 51]Code Contextif (Configure::read('debug')) {trigger_error($message, E_USER_WARNING);} else {$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Error: Fatal Error </title> <link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style> body { font: 14px helvetica, arial, sans-serif; color: #222; background-color: #f8f8f8; padding:0; margin: 0; max-height: 100%; } .code-dump, pre { background: #fefefe; border: 1px solid #ddd; padding: 5px; white-space: pre-wrap; } header { background-color: #C3232D; color: #ffffff; padding: 16px 10px; border-bottom: 3px solid #626262; } .header-title { margin: 0; font-weight: normal; font-size: 30px; line-height: 64px; } .header-type { opacity: 0.75; display: block; font-size: 16px; line-height: 1; } .header-help { font-size: 12px; line-height: 1; position: absolute; top: 30px; right: 16px; } .header-help a { color: #fff; } .error-nav { float: left; width: 30%; } .error-contents { padding: 10px 1%; float: right; width: 68%; } .error, .error-subheading { font-size: 18px; margin-top: 0; padding: 10px; border: 1px solid #EDBD26; } .error-subheading { background: #1798A5; color: #fff; border: 1px solid #02808C; } .error { background: #ffd54f; } .customize { opacity: 0.6; } .stack-trace { list-style: none; margin: 0; padding: 0; } .stack-frame { padding: 10px; border-bottom: 1px solid #212121; } .stack-frame:last-child { border-bottom: none; } .stack-frame a { display: block; color: #212121; text-decoration: none; } .stack-frame.active { background: #e5e5e5; } .stack-frame a:hover { text-decoration: underline; } .stack-file, .stack-function { display: block; margin-bottom: 5px; } .stack-frame-file, .stack-file { font-family: consolas, monospace; } .stack-function { font-weight: bold; } .stack-file { font-size: 0.9em; word-wrap: break-word; } .stack-details { background: #ececec; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); border: 1px solid #ababab; padding: 10px; margin-bottom: 18px; } .stack-frame-args { float: right; } .toggle-link { color: #1798A5; text-decoration: none; } .toggle-link:hover { text-decoration: underline; } .toggle-vendor-frames { padding: 5px; display: block; text-align: center; } .code-excerpt { width: 100%; margin: 5px 0; background: #fefefe; } .code-highlight { display: block; background: #fff59d; } .excerpt-line { padding-left: 2px; } .excerpt-number { background: #f6f6f6; width: 50px; text-align: right; color: #666; border-right: 1px solid #ddd; padding: 2px; } .excerpt-number:after { content: attr(data-number); } table { text-align: left; } th, td { padding: 4px; } th { border-bottom: 1px solid #ccc; } </style> </head> <body> <header> <h1 class="header-title"> Fatal Error <span class="header-type">Cake\Error\FatalErrorException</span> </h1> <div class="header-help"> <a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a> <a target="_blank" href="https://api.cakephp.org/">API</a> </div> </header> <div class="error-contents"> <p class="error-subheading"> <strong>Error: </strong> Call to a member function format() on null <br/> <strong>File</strong> /home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp <br/> <strong>Line: </strong> 14 </p> <div id="stack-frame-0" style="display:none;" class="stack-details"> <span class="stack-frame-file">/home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="106"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="107"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'message'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="108"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'file'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="109"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'line'</span><span style="color: #007700">]</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="110"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="111"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="112"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="113"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="114"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> </table> <div id="stack-args-0" style="display: none;"> <pre>(int) 1 'Call to a member function format() on null' '/home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp' (int) 14</pre> </div> </div> <div id="stack-frame-1" style="display:none;" class="stack-details"> <span class="stack-frame-file">[internal function]</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> </table> <div id="stack-args-1" style="display: none;"> <pre>No arguments</pre> </div> </div> <div class="error-suggestion"> </div> <p class="customize"> If you want to customize this error message, create <em>src/Template/Error/fatal_error.ctp</em> </p> </div> <div class="error-nav"> <a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a> <ul class="stack-trace"> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-0"> <span class="stack-function">⟩ Cake\Error\BaseErrorHandler->handleFatalError</span> <span class="stack-file"> CORE/src/Error/BaseErrorHandler.php, line 110 </span> </a> </li> <li class="stack-frame app-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">⟩ Cake\Error\BaseErrorHandler->Cake\Error\{closure}</span> <span class="stack-file"> [internal function] </span> </a> </li> </ul> </div> <script type="text/javascript"> function bindEvent(selector, eventName, listener) { var els = document.querySelectorAll(selector); for (var i = 0, len = els.length; i < len; i++) { els[i].addEventListener(eventName, listener, false); } } function toggleElement(el) { if (el.style.display === 'none') { el.style.display = 'block'; } else { el.style.display = 'none'; } } function each(els, cb) { var i, len; for (i = 0, len = els.length; i < len; i++) { cb(els[i], i); } } window.addEventListener('load', function() { bindEvent('.stack-frame-args', 'click', function(event) { var target = this.dataset['target']; var el = document.getElementById(target); toggleElement(el); event.preventDefault(); }); var details = document.querySelectorAll('.stack-details'); var frames = document.querySelectorAll('.stack-frame'); bindEvent('.stack-frame a', 'click', function(event) { each(frames, function(el) { el.classList.remove('active'); }); this.parentNode.classList.add('active'); each(details, function(el) { el.style.display = 'none'; }); var target = document.getElementById(this.dataset['target']); toggleElement(target); event.preventDefault(); }); bindEvent('.toggle-vendor-frames', 'click', function(event) { each(frames, function(el) { if (el.classList.contains('vendor-frame')) { toggleElement(el); } }); event.preventDefault(); }); }); </script> </body> </html> ' } $maxBufferLength = (int) 8192 $file = '/home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 853 $message = 'Unable to emit headers. Headers sent in file=/home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=853'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51 Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 198 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 193 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 231 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 110 [main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 153]Code Context($reasonPhrase ? ' ' . $reasonPhrase : '')));}$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Error: Fatal Error </title> <link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style> body { font: 14px helvetica, arial, sans-serif; color: #222; background-color: #f8f8f8; padding:0; margin: 0; max-height: 100%; } .code-dump, pre { background: #fefefe; border: 1px solid #ddd; padding: 5px; white-space: pre-wrap; } header { background-color: #C3232D; color: #ffffff; padding: 16px 10px; border-bottom: 3px solid #626262; } .header-title { margin: 0; font-weight: normal; font-size: 30px; line-height: 64px; } .header-type { opacity: 0.75; display: block; font-size: 16px; line-height: 1; } .header-help { font-size: 12px; line-height: 1; position: absolute; top: 30px; right: 16px; } .header-help a { color: #fff; } .error-nav { float: left; width: 30%; } .error-contents { padding: 10px 1%; float: right; width: 68%; } .error, .error-subheading { font-size: 18px; margin-top: 0; padding: 10px; border: 1px solid #EDBD26; } .error-subheading { background: #1798A5; color: #fff; border: 1px solid #02808C; } .error { background: #ffd54f; } .customize { opacity: 0.6; } .stack-trace { list-style: none; margin: 0; padding: 0; } .stack-frame { padding: 10px; border-bottom: 1px solid #212121; } .stack-frame:last-child { border-bottom: none; } .stack-frame a { display: block; color: #212121; text-decoration: none; } .stack-frame.active { background: #e5e5e5; } .stack-frame a:hover { text-decoration: underline; } .stack-file, .stack-function { display: block; margin-bottom: 5px; } .stack-frame-file, .stack-file { font-family: consolas, monospace; } .stack-function { font-weight: bold; } .stack-file { font-size: 0.9em; word-wrap: break-word; } .stack-details { background: #ececec; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); border: 1px solid #ababab; padding: 10px; margin-bottom: 18px; } .stack-frame-args { float: right; } .toggle-link { color: #1798A5; text-decoration: none; } .toggle-link:hover { text-decoration: underline; } .toggle-vendor-frames { padding: 5px; display: block; text-align: center; } .code-excerpt { width: 100%; margin: 5px 0; background: #fefefe; } .code-highlight { display: block; background: #fff59d; } .excerpt-line { padding-left: 2px; } .excerpt-number { background: #f6f6f6; width: 50px; text-align: right; color: #666; border-right: 1px solid #ddd; padding: 2px; } .excerpt-number:after { content: attr(data-number); } table { text-align: left; } th, td { padding: 4px; } th { border-bottom: 1px solid #ccc; } </style> </head> <body> <header> <h1 class="header-title"> Fatal Error <span class="header-type">Cake\Error\FatalErrorException</span> </h1> <div class="header-help"> <a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a> <a target="_blank" href="https://api.cakephp.org/">API</a> </div> </header> <div class="error-contents"> <p class="error-subheading"> <strong>Error: </strong> Call to a member function format() on null <br/> <strong>File</strong> /home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp <br/> <strong>Line: </strong> 14 </p> <div id="stack-frame-0" style="display:none;" class="stack-details"> <span class="stack-frame-file">/home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="106"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="107"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'message'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="108"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'file'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="109"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'line'</span><span style="color: #007700">]</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="110"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="111"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="112"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="113"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="114"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> </table> <div id="stack-args-0" style="display: none;"> <pre>(int) 1 'Call to a member function format() on null' '/home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp' (int) 14</pre> </div> </div> <div id="stack-frame-1" style="display:none;" class="stack-details"> <span class="stack-frame-file">[internal function]</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> </table> <div id="stack-args-1" style="display: none;"> <pre>No arguments</pre> </div> </div> <div class="error-suggestion"> </div> <p class="customize"> If you want to customize this error message, create <em>src/Template/Error/fatal_error.ctp</em> </p> </div> <div class="error-nav"> <a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a> <ul class="stack-trace"> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-0"> <span class="stack-function">⟩ Cake\Error\BaseErrorHandler->handleFatalError</span> <span class="stack-file"> CORE/src/Error/BaseErrorHandler.php, line 110 </span> </a> </li> <li class="stack-frame app-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">⟩ Cake\Error\BaseErrorHandler->Cake\Error\{closure}</span> <span class="stack-file"> [internal function] </span> </a> </li> </ul> </div> <script type="text/javascript"> function bindEvent(selector, eventName, listener) { var els = document.querySelectorAll(selector); for (var i = 0, len = els.length; i < len; i++) { els[i].addEventListener(eventName, listener, false); } } function toggleElement(el) { if (el.style.display === 'none') { el.style.display = 'block'; } else { el.style.display = 'none'; } } function each(els, cb) { var i, len; for (i = 0, len = els.length; i < len; i++) { cb(els[i], i); } } window.addEventListener('load', function() { bindEvent('.stack-frame-args', 'click', function(event) { var target = this.dataset['target']; var el = document.getElementById(target); toggleElement(el); event.preventDefault(); }); var details = document.querySelectorAll('.stack-details'); var frames = document.querySelectorAll('.stack-frame'); bindEvent('.stack-frame a', 'click', function(event) { each(frames, function(el) { el.classList.remove('active'); }); this.parentNode.classList.add('active'); each(details, function(el) { el.style.display = 'none'; }); var target = document.getElementById(this.dataset['target']); toggleElement(target); event.preventDefault(); }); bindEvent('.toggle-vendor-frames', 'click', function(event) { each(frames, function(el) { if (el.classList.contains('vendor-frame')) { toggleElement(el); } }); event.preventDefault(); }); }); </script> </body> </html> ' } $reasonPhrase = 'Internal Server Error'header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 153 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 57 Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 198 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 193 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 231 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 110 [main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 185]Code Context$value), $first);$first = false;$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Error: Fatal Error </title> <link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style> body { font: 14px helvetica, arial, sans-serif; color: #222; background-color: #f8f8f8; padding:0; margin: 0; max-height: 100%; } .code-dump, pre { background: #fefefe; border: 1px solid #ddd; padding: 5px; white-space: pre-wrap; } header { background-color: #C3232D; color: #ffffff; padding: 16px 10px; border-bottom: 3px solid #626262; } .header-title { margin: 0; font-weight: normal; font-size: 30px; line-height: 64px; } .header-type { opacity: 0.75; display: block; font-size: 16px; line-height: 1; } .header-help { font-size: 12px; line-height: 1; position: absolute; top: 30px; right: 16px; } .header-help a { color: #fff; } .error-nav { float: left; width: 30%; } .error-contents { padding: 10px 1%; float: right; width: 68%; } .error, .error-subheading { font-size: 18px; margin-top: 0; padding: 10px; border: 1px solid #EDBD26; } .error-subheading { background: #1798A5; color: #fff; border: 1px solid #02808C; } .error { background: #ffd54f; } .customize { opacity: 0.6; } .stack-trace { list-style: none; margin: 0; padding: 0; } .stack-frame { padding: 10px; border-bottom: 1px solid #212121; } .stack-frame:last-child { border-bottom: none; } .stack-frame a { display: block; color: #212121; text-decoration: none; } .stack-frame.active { background: #e5e5e5; } .stack-frame a:hover { text-decoration: underline; } .stack-file, .stack-function { display: block; margin-bottom: 5px; } .stack-frame-file, .stack-file { font-family: consolas, monospace; } .stack-function { font-weight: bold; } .stack-file { font-size: 0.9em; word-wrap: break-word; } .stack-details { background: #ececec; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); border: 1px solid #ababab; padding: 10px; margin-bottom: 18px; } .stack-frame-args { float: right; } .toggle-link { color: #1798A5; text-decoration: none; } .toggle-link:hover { text-decoration: underline; } .toggle-vendor-frames { padding: 5px; display: block; text-align: center; } .code-excerpt { width: 100%; margin: 5px 0; background: #fefefe; } .code-highlight { display: block; background: #fff59d; } .excerpt-line { padding-left: 2px; } .excerpt-number { background: #f6f6f6; width: 50px; text-align: right; color: #666; border-right: 1px solid #ddd; padding: 2px; } .excerpt-number:after { content: attr(data-number); } table { text-align: left; } th, td { padding: 4px; } th { border-bottom: 1px solid #ccc; } </style> </head> <body> <header> <h1 class="header-title"> Fatal Error <span class="header-type">Cake\Error\FatalErrorException</span> </h1> <div class="header-help"> <a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a> <a target="_blank" href="https://api.cakephp.org/">API</a> </div> </header> <div class="error-contents"> <p class="error-subheading"> <strong>Error: </strong> Call to a member function format() on null <br/> <strong>File</strong> /home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp <br/> <strong>Line: </strong> 14 </p> <div id="stack-frame-0" style="display:none;" class="stack-details"> <span class="stack-frame-file">/home/travel/domains/travelalohahawaii.com/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="106"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="107"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'message'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="108"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'file'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="109"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'line'</span><span style="color: #007700">]</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="110"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="111"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="112"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="113"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="114"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> </table> <div id="stack-args-0" style="display: none;"> <pre>(int) 1 'Call to a member function format() on null' '/home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp' (int) 14</pre> </div> </div> <div id="stack-frame-1" style="display:none;" class="stack-details"> <span class="stack-frame-file">[internal function]</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> </table> <div id="stack-args-1" style="display: none;"> <pre>No arguments</pre> </div> </div> <div class="error-suggestion"> </div> <p class="customize"> If you want to customize this error message, create <em>src/Template/Error/fatal_error.ctp</em> </p> </div> <div class="error-nav"> <a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a> <ul class="stack-trace"> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-0"> <span class="stack-function">⟩ Cake\Error\BaseErrorHandler->handleFatalError</span> <span class="stack-file"> CORE/src/Error/BaseErrorHandler.php, line 110 </span> </a> </li> <li class="stack-frame app-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">⟩ Cake\Error\BaseErrorHandler->Cake\Error\{closure}</span> <span class="stack-file"> [internal function] </span> </a> </li> </ul> </div> <script type="text/javascript"> function bindEvent(selector, eventName, listener) { var els = document.querySelectorAll(selector); for (var i = 0, len = els.length; i < len; i++) { els[i].addEventListener(eventName, listener, false); } } function toggleElement(el) { if (el.style.display === 'none') { el.style.display = 'block'; } else { el.style.display = 'none'; } } function each(els, cb) { var i, len; for (i = 0, len = els.length; i < len; i++) { cb(els[i], i); } } window.addEventListener('load', function() { bindEvent('.stack-frame-args', 'click', function(event) { var target = this.dataset['target']; var el = document.getElementById(target); toggleElement(el); event.preventDefault(); }); var details = document.querySelectorAll('.stack-details'); var frames = document.querySelectorAll('.stack-frame'); bindEvent('.stack-frame a', 'click', function(event) { each(frames, function(el) { el.classList.remove('active'); }); this.parentNode.classList.add('active'); each(details, function(el) { el.style.display = 'none'; }); var target = document.getElementById(this.dataset['target']); toggleElement(target); event.preventDefault(); }); bindEvent('.toggle-vendor-frames', 'click', function(event) { each(frames, function(el) { if (el.classList.contains('vendor-frame')) { toggleElement(el); } }); event.preventDefault(); }); }); </script> </body> </html> ' } $cookies = [] $name = 'Content-Type' $values = [ (int) 0 => 'text/html; charset=UTF-8' ] $first = true $value = 'text/html; charset=UTF-8'header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 185 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58 Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 198 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 193 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 231 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 110 [main] - [internal], line ??
Error:
Call to a member function format() on null
File
/home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp
Line:
14
$error['type'], |
|
$error['message'], |
|
$error['file'], |
|
$error['line'] |
|
); |
|
}); |
|
} |
|
|
|
/** |
(int) 1 'Call to a member function format() on null' '/home/travel/domains/travelalohahawaii.com/public_html/src/Template/Articles/details.ctp' (int) 14
If you want to customize this error message, create src/Template/Error/fatal_error.ctp