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
On MAMP 3.2.0 and PHP 7 you'll need to target php.ini-production and change the value to Production Value = On
php.ini-production
Production Value = On