MAMP PRO – No Data Recived ERR_EMPTY_RESPONSE

So I’m having an issue with a MAMP & WordPress local install where frequently on reload I get a “No data received ERR_EMPTY_RESPONSE” page. I also get the following in the console.

I’ve not been able to find anything that addresses these errors, except to restart the server. Not sure what else I need to do to trouble shoot this.

Related posts

1 comment

  1. I’ve been getting this error constantly over the past few days. I found that if I switched themes back to the default twentyfifteen it solved the issue.

    There was obviously an error somewhere in my custom theme, so I started to re-name files to find the culprit. It ended up being the functions.php file. There was this snippet of code in there:

    'packages-nav' => _('Packages Nav'),
    

    The single underscore was causing the issue.

    Try a similar method on your theme to find the error. Not sure if this is any help, but I’ve been Googling the issue and couldn’t find any solutions, so when I found a fix I wanted to share.

Comments are closed.