Issue
I transferred my cakephp api from linux vps to azure cloud. I configured redirects too but I am getting "Trait 'Crud\Controller\ControllerTrait' not found" error. I checked the bootstrap.php file to check whether its loading crud plugin or not. It does.
Do I need to run composer autoload to load the plugin? If yes then how to in azure as its windows vm.
Solution
Frist, you should check whether the folder named friendsofcake
exists in \vendor
directory or not. If not, you need to run the following command to install it by using composer:
composer require friendsofcake/crud:^4.3
Refer to this doc for more details.
Answered By - Aaron Chen
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.