Member Since 2 Years Ago
3,920 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Started a new Conversation Folder Permission Errors On Forge
Started a new Conversation Sudo -s Doesn't Seem To Be Working
I've just deployed a new site to laravel forge and tried to run the deploy script however the script fails because it is asking for the sudo password. Here's the deployment script code
$FORGE_COMPOSER install --no-interaction --prefer-dist --optimize-autoloader ( flock -w 10 9 || exit 1 echo 'Restarting FPM...'; sudo -S service $FORGE_PHP_FPM reload ) 9>/tmp/fpmlock if [ -f artisan ]; then $FORGE_PHP artisan migrate --force fi
Here's the deployment log
Already up-to-date. Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: facade/ignition Discovered Package: fideloper/proxy Discovered Package: fruitcake/laravel-cors Discovered Package: intervention/image Discovered Package: laravel/socialite Discovered Package: laravel/tinker Discovered Package: laravel/ui Discovered Package: nesbot/carbon Discovered Package: nunomaduro/collision Discovered Package: socialiteproviders/manager Discovered Package: spatie/laravel-medialibrary Discovered Package: spatie/laravel-permission Discovered Package: spatie/laravel-tags Discovered Package: spatie/laravel-translatable Package manifest generated successfully. 55 packages you are using are looking for funding. Use the `composer fund` command to find out more! Restarting FPM... [sudo] password for forge:
I can't seem to figure out why this is happening. I recently installed php 7.4 on the server so this site is using 7.4, all the other sites are using 7.3 and they deploy fine
Any help would be appreciated
Hi @ahmeddabak this worked for me. Thanks for your help.
Started a new Conversation Resolving Class From Container Is Null In Queued Job
I've created a job that I would like to queue which involves resolving something out of the container using the app() helper.
This works fine when the queue driver is set to sync but changing it to the database driver causes the instance from the container to be null.
Does anyone know why? what can I do to fix it?