title: Notifications wont work Laravel
body: <p>i've implemented notifications on my app.And they were working fine until yesterday out of the blue the stopped working.now when i click on the route that enables the notification it just keeps loading this is the store method on my controller where i check if the email notifications are enabled and if they are the user should recieve an email everytime a project is published</p>
  
  <pre><code>public function store(Request $request){
  
  $this-&gt;validate(request(), [
      'title'    =&gt; 'required|max:255|unique:projects',
      'body'     =&gt; 'required|max:1000',
      // 'tutorial' =&gt; 'required|max:1000',
      'avatar'   =&gt; 'required|mimes:jpeg,bmp,png',
      'zip_file' =&gt; 'required|mimes:zip,rar',
  ]);
  $user = User::all();
  $profiles_storage = storage_path('app/avatars/');
  $project =  new Project;
  $project -&gt; user_id = auth()-&gt;id();
  $project -&gt; title = request('title');
  $project -&gt; body = request('body');
  $project -&gt; tutorial = request('tutorial');
  $project -&gt; views = '0';
  $project -&gt; downloads = '0';
  $project -&gt; alternative_text = config('app.name').' '.request('title').' '.'project';
  $profile = request()-&gt;file('avatar');
  // $profile-&gt;store('profiles');
  $project-&gt;image = $profile-&gt;hashName();
  $image = Image::make($profile-&gt;getRealPath());
  $image-&gt;fit(640, 360, function ($constraint) 
  { $constraint-&gt;upsize();})-&gt;save($profiles_storage.$profile-&gt;hashName());
  
  
  
  request()-&gt; file('zip_file')-&gt;store('zip_files');
  $project -&gt; zip_file = request()-&gt;file('zip_file')-&gt;hashName();
  $project -&gt; save();
  $category = $request-&gt;input('categories');
  $project-&gt;categories()-&gt;sync($category);
  foreach ($user as $u) {
      if ($u-&gt;email_notifications != 0) {
      $u-&gt;notify(new ProjectPublished($project));
  }
  }
  
  session()-&gt;flash('message',"{$project-&gt;title}".' created');
  return redirect('/admin/projects');
  
  
  }
  </code></pre>
  
  <p>and this is the ProjectPublished.php</p>
  
  <pre><code>&lt;?php
  namespace App\Notifications;
  
  use App\User; use App\Project; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage;
  
  class ProjectPublished extends Notification { use Queueable; protected $project;
  
  /**
   * Create a new notification instance.
   *
   * @return void
   */
  public function __construct(Project $project)
  {
      $this-&gt;project = $project;
  }
  
  /**
   * Get the notification's delivery channels.
   *
   * @param  mixed  $notifiable
   * @return array
   */
  public function via($notifiable)
  {
      return ['mail'];
  }
  
  /**
   * Get the mail representation of the notification.
   *
   * @param  mixed  $notifiable
   * @return \Illuminate\Notifications\Messages\MailMessage
   */
  public function toMail($notifiable)
  {       
      return (new MailMessage)
                  -&gt;greeting('Hello there')
                  -&gt;subject('New Project:'.$this-&gt;project-&gt;title)
                  -&gt;line('As requested we are letting you know that a new project was published at Rek Studio')
                  -&gt;action('Check it out', url('projects/'.$this-&gt;project-&gt;title));
  }
  
  /**
   * Get the array representation of the notification.
   *
   * @param  mixed  $notifiable
   * @return array
   */
  public function toArray($notifiable)
  {
      return [
          //
      ];
  }
  }
  </code></pre>
  
  <p>can anyone help me out?</p>