• I have upgraded to PHP 7.2. Since the upgrade I can’t login to the site’s admin panel. I get the following message ‘There has been a critical error on your website. Please check your sites admin email inbox for instructions’.
    I haven’t received an email. The front end of the website appears to be working fine.
    Can you please let me know how to fix this. Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Tyler

    (@tylerthedude)

    Hi Emma,

    Do you have a plugin installed that modifies the wp-admin login page or modifies the admin pages? If so, you may try deleting that plugin from the wp-content/plugins/ directory, as it may not be compatible with PHP 7.2. You could also try switching back to the previous PHP version your site was using before and deactivate all plugins then switch back to PHP 7.2. If no errors are shown, then it’s a plugin so you will need to activate each plugin individually until you find the culprit(s). This same concept could also be applied to the current theme/child theme the site is currently running on.

    Alternatively, you can check the PHP error logs and see where the error is coming from and make the necessary changes.

    Regards,
    Tyler

    All sorted, thanks for your help.

    @emmabrown1012 Can you let me know how you sorted this out? It keeps happening to myself and I can’t figure out which plug-in (if any) is causing it.

    For me it was the Slider Revolution plug-in that caused the problem. Once I deactivated that everything was fine.

    How are you able to log-in? I’m unable to access the admin panel to check which plug-in is causing the problem. Thanks so much.

    I had to use an ftp program, such as FileZilla to access the files and turn the plugin off from there.
    From the wp-content/plugins/ directory in FileZilla I manually turned off all plugins, which meant I was then able to log back into the admin panel, and then I turned each one back on one at a time until I figured out which was causing the problem.
    This should work for you if it is also a plug-in causing the problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Critical error after updating to PHP 7.2’ is closed to new replies.