Laravel Error 419 Session Expired On Post Requests

Laravel's default 419 error page

Clear your cache Getting a 419 error on login or posts requests? The first step is to check the cache and clear it. From your terminal, you can run. This is common during local development from constantly changing configurations. Check CSRF verification. Laravel automatically generates a CSRF “token” for each active user session managed by … Read more

Reaching the Memory Limit Running Laravel Valet

php memory limit ini file

If you ever get this error “PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted ” while running Laravel Valet, check out the path below for Mac users. It seems that this is the specific memory-limit ini file that Valet uses, and you can edit the memory limits there. /usr/local/etc/php/7.0/conf.d/php-memory-limits.ini Note that 7.0 is the … Read more