Closed boscho87 closed 6 years ago
When generating Craft3 Modules the namespace in the main Module file $this->controllerNamespace and in the Controllers are wrong...
$this->controllerNamespace
in my case it was:
$this->controllerNamespace = 'donatemodule\controllers'; //wrong $this->controllerNamespace = 'modules\donatemodule\controllers'; //right // and: namespace donatemodule\controllers; //wrong namespace modules\donatemodule\controllers; //right
Fixed in 1.4.1:
https://github.com/nystudio107/generator-craftplugin/releases/tag/1.4.1
When generating Craft3 Modules the namespace in the main Module file
$this->controllerNamespace
and in the Controllers are wrong...in my case it was: