I have this error,
“In the case you tried to access a plugin controller make sure you added it to your composer file or you use the autoload option for the plugin.”
Error: Create the class ContactsController below in file: /…/( some PATH) /BASIC/src/Controller/ContactsController.php
Inside ContactsController.php i have those lines!!! FILE EXISTS … and chmod is 777
namespace Custom\Basic\Controller;
use Custom\Basic\Controller\AppController;
class ContactsController extends AppController
{
public function index()
{
//...
}
}
nobody know why this happen ? … thanks