• Resolved Amandomino

    (@amandomino)


    Hello,

    My website is experiencing occasional 500 errors since updating to php 7.1. Usually they can be resolved by simply refreshing the page. Any idea what might be causing this?

    Here is my .htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    # php -- BEGIN cPanel-generated handler, do not edit
    # NOTE this account's php is controlled via FPM and the vhost, this is a place holder.
    # Do not edit. This next line is to support the cPanel php wrapper (php_cli).
    # AddType application/x-httpd-ea-php71 .php .phtml
    # php -- END cPanel-generated handler, do not edit

    wp-config.php deleted by moderator

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Do not post files that contain passwords!

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.www.ads-software.com/Debugging_in_WordPress

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    Thread Starter Amandomino

    (@amandomino)

    It turned out to be theme incompatibility with php 7.1 I reverted back to 7.0 and no more errors.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Intermittent 500 errors after upgrading to php 7.1’ is closed to new replies.