I have deleted the vendor folder and recreated it using composer install yesterday and it was working fine (probably cached). Today I'm facing this error.
FatalErrorException in AuthController.php line 84: Class enterglobe\Http\Controllers\Auth\AuthController contains 5 abstract methods and must therefore be declared abstract or implement the remaining methods (enterglobe\Http\Controllers\Auth\AuthController::toArray, enterglobe\Http\Controllers\Auth\AuthController::getKey, enterglobe\Http\Controllers\Auth\AuthController::getTable, ...)
I tried deleting it and installing, also composer dump-autoload also cleared composer cached files to install another version of laravel but with no success.
The error disappears if i just implement the methods on this class for example
public function toArray(){}
public function getKey()
etc...
Error goes away from AuthController but then it appears in other controllers.
Anyone faced this before.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire