Deprecated (16384) : Use Cake\Http\ServerRequest instead of Cake\Network\Request. - /home/okbvtfr/public_html/commentaries/vendor/composer/ClassLoader.php, line: 444
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php. [CORE/src/Core/functions.php , line 311 ]Code Context
trigger_error ( $message , E_USER_DEPRECATED );
}
$message = 'Use Cake\Http\ServerRequest instead of Cake\Network\Request. - /home/okbvtfr/public_html/commentaries/vendor/composer/ClassLoader.php, line: 444
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php.'
$stackFrame = (int) 1
$trace = [
(int) 0 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Network/Request.php',
'line' => (int) 4,
'function' => 'deprecationWarning',
'args' => [
(int) 0 => 'Use Cake\Http\ServerRequest instead of Cake\Network\Request.'
]
],
(int) 1 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/composer/ClassLoader.php',
'line' => (int) 444,
'args' => [
(int) 0 => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Network/Request.php'
],
'function' => 'include'
],
(int) 2 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/composer/ClassLoader.php',
'line' => (int) 322,
'function' => 'Composer\Autoload\includeFile',
'args' => [
(int) 0 => '/home/okbvtfr/public_html/commentaries/vendor/composer/../cakephp/cakephp/src/Network/Request.php'
]
],
(int) 3 => [
'function' => 'loadClass',
'class' => 'Composer\Autoload\ClassLoader',
'object' => object(Composer\Autoload\ClassLoader) {},
'type' => '->',
'args' => [
(int) 0 => 'Cake\Network\Request'
]
],
(int) 4 => [
'file' => '/home/okbvtfr/public_html/commentaries/config/bootstrap.php',
'line' => (int) 194,
'function' => 'spl_autoload_call',
'args' => [
(int) 0 => 'Cake\Network\Request'
]
],
(int) 5 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => (int) 152,
'args' => [
(int) 0 => '/home/okbvtfr/public_html/commentaries/config/bootstrap.php'
],
'function' => 'require_once'
],
(int) 6 => [
'file' => '/home/okbvtfr/public_html/commentaries/src/Application.php',
'line' => (int) 38,
'function' => 'bootstrap',
'class' => 'Cake\Http\BaseApplication',
'object' => object(App\Application) {},
'type' => '->',
'args' => []
],
(int) 7 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 121,
'function' => 'bootstrap',
'class' => 'App\Application',
'object' => object(App\Application) {},
'type' => '->',
'args' => []
],
(int) 8 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 82,
'function' => 'bootstrap',
'class' => 'Cake\Http\Server',
'object' => object(Cake\Http\Server) {},
'type' => '->',
'args' => []
],
(int) 9 => [
'file' => '/home/okbvtfr/public_html/commentaries/webroot/index.php',
'line' => (int) 37,
'function' => 'run',
'class' => 'Cake\Http\Server',
'object' => object(Cake\Http\Server) {},
'type' => '->',
'args' => []
]
]
$frame = [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/composer/ClassLoader.php',
'line' => (int) 444,
'args' => [
(int) 0 => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Network/Request.php'
],
'function' => 'include'
] deprecationWarning - CORE/src/Core/functions.php, line 311
include - CORE/src/Network/Request.php, line 4
Composer\Autoload\includeFile - ROOT/vendor/composer/ClassLoader.php, line 444
Composer\Autoload\ClassLoader::loadClass() - ROOT/vendor/composer/ClassLoader.php, line 322
spl_autoload_call - [internal], line ??
require_once - ROOT/config/bootstrap.php, line 194
Cake\Http\BaseApplication::bootstrap() - CORE/src/Http/BaseApplication.php, line 152
App\Application::bootstrap() - APP/Application.php, line 38
Cake\Http\Server::bootstrap() - CORE/src/Http/Server.php, line 121
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 82
[main] - ROOT/webroot/index.php, line 37 Deprecated (16384) : AkkaCKEditor\View\Helper\CKEditorHelper::config() is deprecated. Use setConfig()/getConfig() instead. - /home/okbvtfr/public_html/commentaries/vendor/akkaweb/cakephp-ckeditor/src/View/Helper/CKEditorHelper.php, line: 53
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php. [CORE/src/Core/functions.php , line 311 ]Code Context
trigger_error ( $message , E_USER_DEPRECATED );
}
$message = 'AkkaCKEditor\View\Helper\CKEditorHelper::config() is deprecated. Use setConfig()/getConfig() instead. - /home/okbvtfr/public_html/commentaries/vendor/akkaweb/cakephp-ckeditor/src/View/Helper/CKEditorHelper.php, line: 53
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php.'
$stackFrame = (int) 1
$trace = [
(int) 0 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Core/InstanceConfigTrait.php',
'line' => (int) 180,
'function' => 'deprecationWarning',
'args' => [
(int) 0 => 'AkkaCKEditor\View\Helper\CKEditorHelper::config() is deprecated. Use setConfig()/getConfig() instead.'
]
],
(int) 1 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/akkaweb/cakephp-ckeditor/src/View/Helper/CKEditorHelper.php',
'line' => (int) 53,
'function' => 'config',
'class' => 'Cake\View\Helper',
'object' => object(AkkaCKEditor\View\Helper\CKEditorHelper) {},
'type' => '->',
'args' => []
],
(int) 2 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/View/HelperRegistry.php',
'line' => (int) 146,
'function' => '__construct',
'class' => 'AkkaCKEditor\View\Helper\CKEditorHelper',
'object' => object(AkkaCKEditor\View\Helper\CKEditorHelper) {},
'type' => '->',
'args' => [
(int) 0 => object(App\View\AppView) {},
(int) 1 => [
[maximum depth reached]
]
]
],
(int) 3 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php',
'line' => (int) 97,
'function' => '_create',
'class' => 'Cake\View\HelperRegistry',
'object' => object(Cake\View\HelperRegistry) {},
'type' => '->',
'args' => [
(int) 0 => 'AkkaCKEditor\View\Helper\CKEditorHelper',
(int) 1 => 'CKEditor',
(int) 2 => [
[maximum depth reached]
]
]
],
(int) 4 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/View/View.php',
'line' => (int) 1451,
'function' => 'load',
'class' => 'Cake\Core\ObjectRegistry',
'object' => object(Cake\View\HelperRegistry) {},
'type' => '->',
'args' => [
(int) 0 => 'AkkaCKEditor.CKEditor',
(int) 1 => [
[maximum depth reached]
]
]
],
(int) 5 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/View/View.php',
'line' => (int) 1352,
'function' => 'loadHelper',
'class' => 'Cake\View\View',
'object' => object(App\View\AppView) {},
'type' => '->',
'args' => [
(int) 0 => 'AkkaCKEditor.CKEditor',
(int) 1 => [
[maximum depth reached]
]
]
],
(int) 6 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/View/View.php',
'line' => (int) 375,
'function' => 'loadHelpers',
'class' => 'Cake\View\View',
'object' => object(App\View\AppView) {},
'type' => '->',
'args' => []
],
(int) 7 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/View/ViewBuilder.php',
'line' => (int) 727,
'function' => '__construct',
'class' => 'Cake\View\View',
'object' => object(App\View\AppView) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Event\EventManager) {},
(int) 3 => [
[maximum depth reached]
]
]
],
(int) 8 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/View/ViewVarsTrait.php',
'line' => (int) 124,
'function' => 'build',
'class' => 'Cake\View\ViewBuilder',
'object' => object(Cake\View\ViewBuilder) {},
'type' => '->',
'args' => [
(int) 0 => [
[maximum depth reached]
],
(int) 1 => object(Cake\Http\ServerRequest) {},
(int) 2 => object(Cake\Http\Response) {},
(int) 3 => object(Cake\Event\EventManager) {}
]
],
(int) 9 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 795,
'function' => 'createView',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\ErrorController) {},
'type' => '->',
'args' => []
],
(int) 10 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php',
'line' => (int) 369,
'function' => 'render',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\ErrorController) {},
'type' => '->',
'args' => [
(int) 0 => 'missingPlugin'
]
],
(int) 11 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php',
'line' => (int) 244,
'function' => '_outputMessage',
'class' => 'Cake\Error\ExceptionRenderer',
'object' => object(Cake\Error\ExceptionRenderer) {},
'type' => '->',
'args' => [
(int) 0 => 'missingPlugin'
]
],
(int) 12 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/ErrorHandler.php',
'line' => (int) 137,
'function' => 'render',
'class' => 'Cake\Error\ExceptionRenderer',
'object' => object(Cake\Error\ExceptionRenderer) {},
'type' => '->',
'args' => []
],
(int) 13 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php',
'line' => (int) 193,
'function' => '_displayException',
'class' => 'Cake\Error\ErrorHandler',
'object' => object(Cake\Error\ErrorHandler) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Core\Exception\MissingPluginException) {}
]
],
(int) 14 => [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php',
'line' => (int) 177,
'function' => 'handleException',
'class' => 'Cake\Error\BaseErrorHandler',
'object' => object(Cake\Error\ErrorHandler) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Core\Exception\MissingPluginException) {}
]
],
(int) 15 => [
'function' => 'wrapAndHandleException',
'class' => 'Cake\Error\BaseErrorHandler',
'object' => object(Cake\Error\ErrorHandler) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Core\Exception\MissingPluginException) {}
]
]
]
$frame = [
'file' => '/home/okbvtfr/public_html/commentaries/vendor/akkaweb/cakephp-ckeditor/src/View/Helper/CKEditorHelper.php',
'line' => (int) 53,
'function' => 'config',
'class' => 'Cake\View\Helper',
'object' => object(AkkaCKEditor\View\Helper\CKEditorHelper) {
'helpers' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
},
'type' => '->',
'args' => []
] deprecationWarning - CORE/src/Core/functions.php, line 311
Cake\View\Helper::config() - CORE/src/Core/InstanceConfigTrait.php, line 180
AkkaCKEditor\View\Helper\CKEditorHelper::__construct() - ROOT/vendor/akkaweb/cakephp-ckeditor/src/View/Helper/CKEditorHelper.php, line 53
Cake\View\HelperRegistry::_create() - CORE/src/View/HelperRegistry.php, line 146
Cake\Core\ObjectRegistry::load() - CORE/src/Core/ObjectRegistry.php, line 97
Cake\View\View::loadHelper() - CORE/src/View/View.php, line 1451
Cake\View\View::loadHelpers() - CORE/src/View/View.php, line 1352
Cake\View\View::__construct() - CORE/src/View/View.php, line 375
Cake\View\ViewBuilder::build() - CORE/src/View/ViewBuilder.php, line 727
Cake\Controller\Controller::createView() - CORE/src/View/ViewVarsTrait.php, line 124
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 244
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 137
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 193
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 177 Warning (512) : Unable to emit headers. Headers sent in file=/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php , line 51 ]Code Context if ( 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: Missing Plugin </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">
Missing Plugin <span class="header-type">Cake\Core\Exception\MissingPluginException</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>
The application is trying to load a file from the <em>DebugKit\Plugin</em> plugin.
<br>
<br>
Make sure your plugin <em>DebugKit\Plugin</em> is in the /home/okbvtfr/public_html/commentaries/plugins/ directory and was loaded.
</p>
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.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="136"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">$className</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="137"></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="138"></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="139"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!isset(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'path'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="140"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'path'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">plugins</span><span style="color: #007700">-></span><span style="color: #0000BB">findPath</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="141"></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="142"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="143"></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="144"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">BasePlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>'DebugKit\Plugin'</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.php</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">
<tr>
<td class="excerpt-number" data-number="93"></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="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, array </span><span style="color: #0000BB">$config </span><span style="color: #007700">= [])</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></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="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $plugin </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">makePlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $plugin </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></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="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$plugin </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">PluginInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>'DebugKit\Plugin'
[]</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/src/Application.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Only </span><span style="color: #007700">try </span><span style="color: #0000BB">to load DebugKit in development mode</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Debug Kit should not be installed on a production system</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></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="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'debug'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">Plugin</span><span style="color: #007700">::class);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></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="57"></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="58"></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="59"></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-2" style="display: none;">
<pre>'DebugKit\Plugin'</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></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="119"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></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="121"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">-></span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></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="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">PluginApplicationInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">-></span><span style="color: #0000BB">pluginBootstrap</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">RuntimeException When the application does not make a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></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="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></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="82"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></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="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$response </span><span style="color: #007700">?: new </span><span style="color: #0000BB">Response</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request </span><span style="color: #007700">?: </span><span style="color: #0000BB">ServerRequestFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">fromGlobals</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></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="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// and emit the response.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<div class="code-dump"><code><span style="color: #000000">
<span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">// src/Application.php<br /></span><span style="color: #007700">public function </span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">()<br />{<br /> </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();<br /><br /> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #DD0000">'DebugKit\Plugin'</span><span style="color: #007700">);<br />}</span>
</span>
</code></div>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/missing_plugin.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\Core\PluginCollection->findPath</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 140 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Http\BaseApplication->makePlugin</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 97 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Http\BaseApplication->addPlugin</span>
<span class="stack-file">
APP/Application.php, line 55 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ App\Application->bootstrap</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 121 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\Server->bootstrap</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 82 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT/webroot/index.php, line 37 </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/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 853
$message = 'Unable to emit headers. Headers sent in file=/home/okbvtfr/public_html/commentaries/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::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 177
[main] - [internal], line ?? Warning (2) : Cannot modify header information - headers already sent by (output started at /home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php , line 152 ]Code Context $response -> getStatusCode (),
( $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: Missing Plugin </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">
Missing Plugin <span class="header-type">Cake\Core\Exception\MissingPluginException</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>
The application is trying to load a file from the <em>DebugKit\Plugin</em> plugin.
<br>
<br>
Make sure your plugin <em>DebugKit\Plugin</em> is in the /home/okbvtfr/public_html/commentaries/plugins/ directory and was loaded.
</p>
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.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="136"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">$className</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="137"></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="138"></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="139"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!isset(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'path'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="140"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'path'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">plugins</span><span style="color: #007700">-></span><span style="color: #0000BB">findPath</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="141"></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="142"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="143"></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="144"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">BasePlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>'DebugKit\Plugin'</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.php</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">
<tr>
<td class="excerpt-number" data-number="93"></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="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, array </span><span style="color: #0000BB">$config </span><span style="color: #007700">= [])</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></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="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $plugin </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">makePlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $plugin </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></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="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$plugin </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">PluginInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>'DebugKit\Plugin'
[]</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/src/Application.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Only </span><span style="color: #007700">try </span><span style="color: #0000BB">to load DebugKit in development mode</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Debug Kit should not be installed on a production system</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></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="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'debug'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">Plugin</span><span style="color: #007700">::class);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></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="57"></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="58"></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="59"></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-2" style="display: none;">
<pre>'DebugKit\Plugin'</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></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="119"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></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="121"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">-></span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></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="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">PluginApplicationInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">-></span><span style="color: #0000BB">pluginBootstrap</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">RuntimeException When the application does not make a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></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="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></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="82"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></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="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$response </span><span style="color: #007700">?: new </span><span style="color: #0000BB">Response</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request </span><span style="color: #007700">?: </span><span style="color: #0000BB">ServerRequestFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">fromGlobals</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></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="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// and emit the response.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<div class="code-dump"><code><span style="color: #000000">
<span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">// src/Application.php<br /></span><span style="color: #007700">public function </span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">()<br />{<br /> </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();<br /><br /> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #DD0000">'DebugKit\Plugin'</span><span style="color: #007700">);<br />}</span>
</span>
</code></div>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/missing_plugin.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\Core\PluginCollection->findPath</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 140 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Http\BaseApplication->makePlugin</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 97 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Http\BaseApplication->addPlugin</span>
<span class="stack-file">
APP/Application.php, line 55 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ App\Application->bootstrap</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 121 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\Server->bootstrap</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 82 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT/webroot/index.php, line 37 </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 152
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::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 177
[main] - [internal], line ?? Warning (2) : Cannot modify header information - headers already sent by (output started at /home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php , line 181 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$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: Missing Plugin </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">
Missing Plugin <span class="header-type">Cake\Core\Exception\MissingPluginException</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>
The application is trying to load a file from the <em>DebugKit\Plugin</em> plugin.
<br>
<br>
Make sure your plugin <em>DebugKit\Plugin</em> is in the /home/okbvtfr/public_html/commentaries/plugins/ directory and was loaded.
</p>
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.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="136"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">$className</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="137"></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="138"></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="139"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!isset(</span><span style="color: #0000BB">$config</span><span style="color: #007700">[</span><span style="color: #DD0000">'path'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="140"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'path'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">plugins</span><span style="color: #007700">-></span><span style="color: #0000BB">findPath</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="141"></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="142"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $config</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="143"></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="144"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return new </span><span style="color: #0000BB">BasePlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>'DebugKit\Plugin'</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.php</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">
<tr>
<td class="excerpt-number" data-number="93"></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="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, array </span><span style="color: #0000BB">$config </span><span style="color: #007700">= [])</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></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="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $plugin </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">makePlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$config</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $plugin </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></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="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$plugin </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">PluginInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>'DebugKit\Plugin'
[]</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/src/Application.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Only </span><span style="color: #007700">try </span><span style="color: #0000BB">to load DebugKit in development mode</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Debug Kit should not be installed on a production system</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></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="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'debug'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #0000BB">Plugin</span><span style="color: #007700">::class);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></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="57"></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="58"></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="59"></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-2" style="display: none;">
<pre>'DebugKit\Plugin'</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></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="119"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></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="121"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">-></span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></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="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">PluginApplicationInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">-></span><span style="color: #0000BB">pluginBootstrap</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">RuntimeException When the application does not make a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></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="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></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="82"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></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="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$response </span><span style="color: #007700">?: new </span><span style="color: #0000BB">Response</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request </span><span style="color: #007700">?: </span><span style="color: #0000BB">ServerRequestFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">fromGlobals</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/home/okbvtfr/public_html/commentaries/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></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="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// and emit the response.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<div class="code-dump"><code><span style="color: #000000">
<span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">// src/Application.php<br /></span><span style="color: #007700">public function </span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">()<br />{<br /> </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">bootstrap</span><span style="color: #007700">();<br /><br /> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">addPlugin</span><span style="color: #007700">(</span><span style="color: #DD0000">'DebugKit\Plugin'</span><span style="color: #007700">);<br />}</span>
</span>
</code></div>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/missing_plugin.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\Core\PluginCollection->findPath</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 140 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Http\BaseApplication->makePlugin</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php, line 97 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Http\BaseApplication->addPlugin</span>
<span class="stack-file">
APP/Application.php, line 55 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ App\Application->bootstrap</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 121 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\Server->bootstrap</span>
<span class="stack-file">
CORE/src/Http/Server.php, line 82 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT/webroot/index.php, line 37 </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 = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
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::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 177
[main] - [internal], line ??
Error: Missing Plugin
Error:
The application is trying to load a file from the DebugKit\Plugin plugin.
Make sure your plugin DebugKit\Plugin is in the /home/okbvtfr/public_html/commentaries/plugins/ directory and was loaded.
/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.php
toggle arguments
return new $className ( $config );
}
if (!isset( $config [ 'path' ])) {
$config [ 'path' ] = $this -> plugins -> findPath ( $name );
}
$config [ 'name' ] = $name ;
return new BasePlugin ( $config );
/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/BaseApplication.php
toggle arguments
*/
public function addPlugin ( $name , array $config = [])
{
if ( is_string ( $name )) {
$plugin = $this -> makePlugin ( $name , $config );
} else {
$plugin = $name ;
}
if (! $plugin instanceof PluginInterface ) {
/home/okbvtfr/public_html/commentaries/src/Application.php
toggle arguments
* Only try to load DebugKit in development mode
* Debug Kit should not be installed on a production system
*/
if ( Configure :: read ( 'debug' )) {
$this -> addPlugin ( Plugin ::class);
}
}
/**
/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php
toggle arguments
* @return void
*/
protected function bootstrap ()
{
$this -> app -> bootstrap ();
if ( $this -> app instanceof PluginApplicationInterface ) {
$this -> app -> pluginBootstrap ();
}
/home/okbvtfr/public_html/commentaries/vendor/cakephp/cakephp/src/Http/Server.php
toggle arguments
* @ throws \ RuntimeException When the application does not make a response .
*/
public function run ( ServerRequestInterface $request = null , ResponseInterface $response = null )
{
$this -> bootstrap ();
$response = $response ?: new Response ();
$request = $request ?: ServerRequestFactory :: fromGlobals ();
/home/okbvtfr/public_html/commentaries/webroot/index.php
toggle arguments
$server = new Server (new Application ( dirname ( __DIR__ ) . '/config' ));
// Run the request/response through the application
// and emit the response.
$server -> emit ( $server -> run ());
<?php // src/Application.php public function bootstrap () { parent :: bootstrap (); $this -> addPlugin ( 'DebugKit\Plugin' ); }
If you want to customize this error message, create
src/Template/Error/missing_plugin.ctp