Missing Plugin
Error:
The application is trying to load a file from the plugin
Error:
Make sure your plugin is in the admin/Plugin directory and was loaded
<?php
CakePlugin::load('');
Loading all plugins:
If you wish to load all plugins at once, use the following line in your admin/Config/bootstrap.php file
CakePlugin::loadAll();
Notice:
If you want to customize this error message, create admin/View/Errors/missing_plugin.ctp
Stack Trace
CORE/Cake/Routing/Filter/AssetDispatcher.php line 74 → CakePlugin::path(string) if (CakePlugin::loaded($plugin)) {
unset($parts[0]);
$fileFragment = urldecode(implode(DS, $parts));
$pluginWebroot = CakePlugin::path($plugin) . 'webroot' . DS;
if (file_exists($pluginWebroot . $fileFragment)) {
[internal function] → AssetDispatcher->beforeDispatch(CakeEvent) object(CakeEvent) {
data => array(
[maximum depth reached]
)
result => null
}
CORE/Cake/Event/CakeEventManager.php line 246 → call_user_func(array, CakeEvent) if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
}
array(
(int) 0 => object(AssetDispatcher) {},
(int) 1 => 'beforeDispatch'
)
object(CakeEvent) {
data => array(
[maximum depth reached]
)
result => null
}
CORE/Cake/Routing/Dispatcher.php line 141 → CakeEventManager->dispatch(CakeEvent) */
public function dispatch(CakeRequest $request, CakeResponse $response, $additionalParams = array()) {
$beforeEvent = new CakeEvent('Dispatcher.beforeDispatch', $this, compact('request', 'response', 'additionalParams'));
$this->getEventManager()->dispatch($beforeEvent);
object(CakeEvent) {
data => array(
[maximum depth reached]
)
result => null
}
APP/webroot/index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse) App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => '/admin/webroot/upload/image/files/timthumb.jpg'
base => '/admin'
webroot => '/admin/'
here => '/admin//admin/webroot/upload/image/files/timthumb.jpg'
}
object(CakeResponse) {
}