To avoid this issue, you need to remove NO_ZERO_DATE
from the mysql mode configuration.
- Go to ‘phpmyadmin’.
- Once phpmyadmin is loaded up, click on the ‘variables’ tab.
- Search for ‘sql mode’.
- Click on the Edit option and remove
NO_ZERO_DATE
(and its trailing comma) from the configuration.
This is a very common issue in the local environment with wamp or xamp.
Leave a Reply