• Resolved maetthew

    (@maetthew)


    Hi,

    Not sure if I’m doing anything wrong. But right after installing and trying to get to the admin page I’m getting the message “There has been a critical error on this website. Please check your site admin email inbox for instructions”.

    I’m not getting any e-mail (though I’m getting other e-mails from WordPress) but this is in the Nginx error.log:

    2021/03/02 17:04:42 [error] 3468#3468: *274 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /wordpressinstall/wp-includes/wp-db.php on line 2022" while reading upstream, client: XXX.XXX.XXX.XX, server: myurl.com, request: "GET /wp-admin/admin.php?page=publisher HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.4-fpm-myurlcom.sock:", host: "myurl.com", referrer: "https://myurl.com/wp-admin/plugins.php?plugin_status=all&paged=1&s"

    I spoke with my host and they said to contact the plugin maintainer. I’ve recently changed web host and had the same issue on the old host. Appreciate any help with this, not sure what’s going on.

    • This topic was modified 3 years, 9 months ago by maetthew.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @maetthew, I’m not a maintainer if this project (I work on a similar plugin though). I bet the error has to go with how you’re running PHP 7.4, and this plugin probably hasn’t been updated to work with that version of PHP.
    But we’ll see, maybe the plugin owner will have a better answer.

    Plugin Author ferranfg

    (@ferranfg)

    Hi @maetthew thanks for your report. I will take a look to see how I can find a solution for your error.

    @mnelson4 It could! I will start with PHP 7.4 to see if it’s related with that. Thanks for the suggestion.

    Thread Starter maetthew

    (@maetthew)

    Thanks @ferranfg & @mnelson4, hoping for a quick fix ??

    I’ll see if I can try to change to 7.3 tonight to see if that rectifies the issue.

    • This reply was modified 3 years, 9 months ago by maetthew.
    Plugin Author ferranfg

    (@ferranfg)

    Hi @maetthew Perfect. Let me know if the PHP version fixes the error.

    Also, I’ve found that it’s kind of a common problem, so could it be possible for you to try this solution? https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/

    Thread Starter maetthew

    (@maetthew)

    @ferranfg I’m getting the same error on PHP 7.3.27-9+ubuntu20.04.1+deb.sury.org+1.

    2021/03/03 20:07:58 [error] 47724#47724: *8193 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /www/myurlcom_525/public/wp-includes/wp-db.php on line 2022" while reading upstream, client: 188.150.100.85, server: staging-myurlcom, request: "GET /wp-admin/admin.php?page=publisher HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.3-fpm-myurlcom.sock:", host: "staging-myurlcom", referrer: "https://staging-myurlcom/wp-admin/plugins.php?plugin_status=all&paged=1&s"

    Plugin Author ferranfg

    (@ferranfg)

    Hey @maetthew I’ve just released an update that (I think) address this issue. There is also support for newer PHP versions, so you would be able to rollback to 7.4.

    Thread Starter maetthew

    (@maetthew)

    @ferranfg Seems to be working with both 7.3 and 7.4, thanks for the quick fix ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Critical error on admin panel’ is closed to new replies.