Common Laravel Mistakes

Simple Common Laravel Mistakes

by David Yu

Last Updated: 30 December 2018

  1. Everything looks bigger in production but in local environment everything is sized correctly.
  • Zoom level is different for the web pages
  1. The webserver is failing silently there is no log errors but the page doesn't load
  • CSRF token is not being passed in the form
  1. The data is not being saved to the database but all the data is there just not being saved
  • The elements have not been whitelisted e.g. fillable
  1. Jquery is not changing the data on screen but I am sure the code is right
  • Check that the targeted code is in a async call or not if it is you have to wait for the async operation to finish before you can start manipulating the code