Search code examples
phpphpmyadminmamp

Getting an Error 500 on php myadmin using MAMP and a MAC


I'm using a MAC OS and I have MAMP installed. I have set up my database in PHP myAdmin however when I go into Designer tab to set up my relationships, I get Error 500.

/Applications/MAMP/bin/php/php7.2.8/conf/php.ini <- Version I'm running

Error 500 Screenshot

Screenshot of myAdmin page

Thank you all (sorry I haven't given a more technical description I'm a newby.


Solution

  • As someone already suggested in this link all you have to do is to open

    /Applications/MAMP/bin/phpMyAdmin/libraries/classes/Database/Designer/Common.php
    

    And on line 268 edit from return null; to return array();