• Hi,

    I haven’t updated and worked on my website (which is not live yet) for a very long time. This week I finally picked it up again.

    Needless to say I had to update lots of plugins and WordPress itself.

    So I deactivated all of the plugins, updated WordPress, and then updated and activated the plugins one at a time.

    In doing this, lots of errors occurred.

    These are the errors:

    FastCGI: server "/var/run/php74-cgi/php-cgi" stderr: PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax., referer: https://websiteurl.com/wp-admin/
    
    FastCGI: server "/var/run/php74-cgi/php-cgi" stderr: PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax., referer: https://websiteurl.com/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=1ddf34b68f
    
    FastCGI: server "/var/run/php74-cgi/php-cgi" stderr: PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax., referer: https://websiteurl.com/wp-admin/admin.php?page=wc-settings&tab=mollie_settings
    
    FastCGI: server "/var/run/php74-cgi/php-cgi" stderr: PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax., referer: https://websiteurl.com/wp-admin/upload.php
    
    FastCGI: server "/var/run/php74-cgi/php-cgi" stderr: PHP message: The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_ajax., referer: https://websiteurl.com/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=1ddf34b68f
    
    FastCGI: server "/var/run/php74-cgi/php-cgi" stderr: PHP message: PHP Fatal error: Unknown: PHP Configuration Error (SETNS_REVERT_FAILURE): 22 3 in Unknown on line 0

    I found that the errors occurred when activating Woocommerce and Woocommerce add-on plugins. I’ve found another ticket here on www.remarpro.com concerning a similar error but I’m not sure what to do.

    PS. Is it more practical to do a clean install of the website and start over at this point?

    Does anyone have some advice for me?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • > I found that the errors occurred when activating
    > Woocommerce and Woocommerce add-on plugins

    Surprise, surprise.

    > Is it more practical to do a clean install of the website and start over at this point?

    Not really, unless you want to.

    Is this on an Apache server, or on IIS ?
    There could be many different reasons for these errors, but it’s not really a WordPress issue. It’s a server issue.
    Contact your host first and ask them if you have to be running fast-cgi, or you can move to PHP-FPM.

    Thread Starter may

    (@mcp2019)

    Hi @corrinarusso,

    Thanks for your reply and your tip.

    Wow, seems like there’re many problems caused by Woocommerce and the add-ons..

    The website is probably run on an Apache server. Although I don’t know this for certain.

    May I ask, what is the difference between whether it runs on fast-cgi or PHP-FPM? Will PHP-FPM not cause these errors?

    I’m not at all familiar with these terms, so please don’t mind my questions.

    I’ll get in touch with my hosting company. If there’s any news, I will update it here.

    Also if anyone else has other ideas, please advise.

    PHP-FPM is just a different way to bundle php with Apache.
    Each host will have their own preference or policy what to you.
    The PHP-FPM should be faster simply bc of the way it threads processes.

    > seems like there’re many problems caused by Woocommerce and the add-ons..

    Yes – often.

    These are not fatal errors tho, right? They’re just messages.

    Thread Starter may

    (@mcp2019)

    Hi @corrinarusso,

    Thanks for your explanation.

    Unfortunately, there is one fatal error:

    FastCGI: server “/var/run/php74-cgi/php-cgi” stderr: PHP message: PHP Fatal error: Unknown: PHP Configuration Error (SETNS_REVERT_FAILURE): 22 3 in Unknown on line 0

    So, the messages are not crucial, only fatal errors have to be addressed?

    Notices can often ‘be ignored’ and Notices and Warnings do not take your site offline.

    You will need to reach out to your host – this is a server error:
    https://man7.org/linux/man-pages/man2/setns.2.html

    > PHP Fatal error: Unknown: PHP Configuration Error (SETNS_REVERT_FAILURE)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PhP Fatal Error: PhP Configuration Error’ is closed to new replies.