• On one particular page https://bowsandclothes.com/sale/ if you are not logged in, you can view it without issues. However, if you are logged in, it takes forever, then gives a 500 error.

    I spoke with my host, bluehost, about the issue, and they claim it’s due to the following warning:
    mod_fcgid: stderr: PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0, referer: https://bowsandclothes.com/sale/

    In my mind, a warning wouldn’t cause a 500 error, but maybe I’m wrong? It seems like an error should cause the 500 error, and looking through the error logs, there is an error as well:

    Premature end of script headers: index.php, referrer: https://bowsandclothes.com/

    Any ideas on why this would occur when the user’s logged in, but totally fine when they are not?

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • The topic ‘Getting a 500 Error when logged in’ is closed to new replies.