Notice (1024)
: Undefined property: ErrorController::$Auth in /home/admin/domains/logboek.comp.nl/public_html/src/Controller/AppController.php on line 78 [in
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php, line
342]
Code
$parts = explode('\\', static::class);
trigger_error(
sprintf(
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php, line 342
Cake\Controller\Controller->__get() /home/admin/domains/logboek.comp.nl/public_html/src/Controller/AppController.php, line 78
App\Controller\AppController->beforeRender() /home/admin/domains/logboek.comp.nl/public_html/src/Controller/ErrorController.php, line 56
App\Controller\ErrorController->beforeRender() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309
Cake\Event\EventManager->_callListener() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286
Cake\Event\EventManager->dispatch() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller->dispatchEvent() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php, line 776
Cake\Controller\Controller->render() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 432
Cake\Error\Renderer\WebExceptionRenderer->_outputMessage() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 303
Cake\Error\Renderer\WebExceptionRenderer->render() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 250
Cake\Error\ExceptionTrap->handleException() [internal], line ??
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
71]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71
Cake\Http\ResponseEmitter->emit() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 321
Cake\Error\Renderer\WebExceptionRenderer->write() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 250
Cake\Error\ExceptionTrap->handleException() [internal], line ??
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
164]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164
Cake\Http\ResponseEmitter->emitStatusLine() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74
Cake\Http\ResponseEmitter->emit() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 321
Cake\Error\Renderer\WebExceptionRenderer->write() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 250
Cake\Error\ExceptionTrap->handleException() [internal], line ??
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
197]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter->emitHeaders() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75
Cake\Http\ResponseEmitter->emit() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 321
Cake\Error\Renderer\WebExceptionRenderer->write() /home/admin/domains/logboek.comp.nl/public_html/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 250
Cake\Error\ExceptionTrap->handleException() [internal], line ??
[main]
APP/Application.php at line 66
(edit)
|
*/
|
|
if (Configure::read('debug')) {
|
|
$this->addPlugin('DebugKit');
|
|
}
|
|
Configure::write(‘DebugKit.safeTld’, [‘dev’, ‘local’, ‘example’]);
|
|
// Load more plugins here
|
|
}
|
|
|
|
/**
|
-
|
* @return void
|
|
*/
|
|
protected function bootstrap(): void
|
|
{
|
|
$this->app->bootstrap();
|
|
if ($this->app instanceof PluginApplicationInterface) {
|
|
$this->app->pluginBootstrap();
|
|
}
|
|
}
|
Toggle Arguments
-
|
public function run(
|
|
?ServerRequestInterface $request = null,
|
|
?MiddlewareQueue $middlewareQueue = null
|
|
): ResponseInterface {
|
|
$this->bootstrap();
|
|
|
|
$request = $request ?: ServerRequestFactory::fromGlobals();
|
|
|
|
if ($middlewareQueue === null) {
|
Toggle Arguments
-
|
// Bind your application to the server.
|
|
$server = new Server(new Application(dirname(__DIR__) . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.php