Concrete 8 - autoloading from \Application\Src
Permalink
I have an addon which suddenly doesn't work anymore in Concrete 8.
I have a custom service provider override registered in /application/config/app.php and this service provider class file resides in the /application/src/MailService/Providers folder.
But I get :
"Fatal error: Class '\Application\Src\MailService\Providers\MailServiceProvider' not found in C:\MAMP\htdocs\c5marketplace\concrete\src\Foundation\Service\ProviderList.php on line 32".
This is the code in /application/config/app.php:
I get the impression that in Concrete 8 the autoloader for the application folder has not been started yet when the providers are being initialized by the application but I'm not quite sure how I can check this. Does anyone have an idea?
I have a custom service provider override registered in /application/config/app.php and this service provider class file resides in the /application/src/MailService/Providers folder.
But I get :
"Fatal error: Class '\Application\Src\MailService\Providers\MailServiceProvider' not found in C:\MAMP\htdocs\c5marketplace\concrete\src\Foundation\Service\ProviderList.php on line 32".
This is the code in /application/config/app.php:
I get the impression that in Concrete 8 the autoloader for the application folder has not been started yet when the providers are being initialized by the application but I'm not quite sure how I can check this. Does anyone have an idea?