have you done a composer dump-autoload? Not necessarily the issue, but you didn't say you did it either, so first place to check.
Oct 15, 2016
3
Level 1
Fresh spark install: Trait 'Illuminate\Notifications\Notifiable' not found
Hello, I have a brand new installation of Laravel 5.3.18 + Spark 2.0.10 (verifiable with artisan, so installation should be OK). When I try to open the homepage of the installed project, I'm greeted by the following error in the spark User class:
FatalErrorException in User.php line 11:
Trait 'Illuminate\Notifications\Notifiable' not found
The library is in place, i checked. I can use PHPStorm to jump around the files with no issues. This is the problematic code:
namespace Laravel\Spark;
use Illuminate\Support\Str;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Billable, HasApiTokens, Notifiable;
Any thoughts would be much appreciated. 10x
Please or to participate in this conversation.