How to enable DebugKit in cakephp 4? Please help.
I already run commands composer require --dev cakephp/debug_kit â~4.0â and cake plugin load DebugKit and $this->addPlugin(âDubugKitâ) in application.php but not working.
Hello,
check if in âconfig/app.phpâ the debug level set to true
, if âaddPluginâ is surrounded by an âifâ as @dreamingmind wrote.
Is there a folder âvendor/cakephp/debug_kitâ in your workspace? Any error logs in folder âlogsâ?
Solved
->add(new AuthorizationMiddleware($this, [
**'requireAuthorizationCheck' => false**
]))
I wrote code at authorization middeleware ârequireAuthorizationCheckâ => false
1 Like