OK this is getting very frustrating. MAMP used to display errors but then stopped. I decided to do a fresh install of it as I couldn\'t figure it out. I check my PHP version
Change the setting in your php.ini file. The file is located in MAMP > conf > php5 > php.ini
php.ini
MAMP > conf > php5 > php.ini
Look for display_errors = Off and change to display_errors = On
display_errors = Off
display_errors = On
After that you need to restart your Apache and MySQL servers for the change to take effect.