I have a model called option
in App\Models
and I call it in the controller's constructor as
$this->options = \App\Models\Option::getAutoloaded();
It works perfectly on local server, but on a Digital Ocean server I have
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'App\Models\Option' not found
I done a composer dumpautoload but nothing changed.
Thanx for your help
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire