I ran php artisan optimize:clear first to check but this did not work. Basically using auth::user works on Store.php but not Destroy.php
On Store.php it works and gets the variable names from auth but on Destroy.php it returns could not find object user->email. It is strange as works fine on two Windows installs.
Fixed this by assigning the auth helper to $user before dropping db with tenancy dispatch... I believe on live dispatching the job loses the session information.
I ran php artisan optimize:clear first to check but this did not work. Basically using auth::user works on Store.php but not Destroy.php
On Store.php it works and gets the variable names from auth but on Destroy.php it returns could not find object user->email. It is strange as works fine on two Windows installs.
Is there anything else I can try?