Missing Load plugin

与世无争的帅哥 提交于 2019-11-29 17:22:38

Write the following line in your app\Config\bootstrap.php file

CakePlugin::loadAll(array('Forums',
   array('bootstrap' => true, 'routes' => true),
));

I was also facing the same problem in cake 2+. The problem in this was

 CakePlugin::load( 'DebugKit');

was already added in bootstrap.php file and when I added this line

CakePlugin::load( 'Cooltheme');

The first was loaded and second was omitted. So to solve this problem I simply removed second one and modified the first one as below

CakePlugin::load( array('DebugKit','Cooltheme'));

Then it works for me, may be heplfull to others.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!