Getting a error when tring to bake it. #cakephp

341 views Asked by At

tried creating small DB and to bake it. but getting an error.

c:\xampp\htdocs\cakeBlog>bin\cake bake Exception: Plugin DebugKit could not be found.

In

[C:\xampp\htdocs\cakeBlog\vendor\cakephp\cakephp\src\Core\PluginCollection.php, line 140]

1

There are 1 answers

0
Sudhanshu Garg On

Use the following code in the following directory

config/bootstrap.php

if (Configure::read('debug')) {
    Configure::write('DebugKit', ['forceEnable' => true]);
    Plugin::load('DebugKit', ['bootstrap' => true]);
}