[英]CakePHP Missing Plugin exception after deletion
I just deleted the Media Plugin and edited my bootstrap.php. 我只是删除了媒体插件并编辑了bootstrap.php。 I'm now getting a Missing plugin exception.
我现在遇到了Missing插件异常。 Am I doing something wrong?
难道我做错了什么?
You're probably still referring to the plugin somewhere in your application, for example by trying to use a Helper
or a Model
that uses the plugin notation; 您可能仍在应用程序中的某个位置引用插件,例如通过尝试使用使用插件表示法的
Helper
或Model
。
app/tmp/cache/models
and app/tmp/cache/persistent/
directories app/tmp/cache/models
和app/tmp/cache/persistent/
目录的内容来清除app/tmp/cache/models
app/tmp/cache/persistent/
Helpers and models in a controller: 控制器中的助手和模型:
public $helpers = array(
'Media.Somehelper',
);
public $uses = array(
'Media.Somemodel'
);
Or in a model; 或在模型中;
public $actsAs => array(
'Media.Somebehavior',
);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.