skip to Main Content

Laravel – ID getting lost during delayed job

I'm dispatching a delayed job that should created some entries in the database: `$userId = Auth::user() ? Auth::user()->getAuthIdentifier() : null; $job = new DelayedAddPeopleJob($event, $userId); dispatch($job)->delay(DelayedAddPeopleJob::DELAY);` After 15 minutes DelayedAddPeopleJob is executed and in there im creating entries in the…

VIEW QUESTION

Laravel – syntax error, unexpected token "endfor" after composer update

I've updated the packages of my laravel project with "composer update", but after the update i have this error : syntax error, unexpected token "endfor". <div wire:loading.remove wire:target="lieuDepart"> @foreach ($lieuxDepart->where('type','Aéroport') as $lieu) <p wire:loading.remove wire:click="appliquerLieuDepart('{{ $lieu->nom }}','{{ $lieu->id }}')" x-on:click="lieuDepart='{{…

VIEW QUESTION
Back To Top
Search