• Resolved dmillersg77

    (@dmillersg77)


    Hello,

    Any ideas why this is happening? Any time I update to 14.0.4 and revisit the home page it says site is experiencing critical error.

    Fortunately I run backup anytime I make an update. Have not updated plugin since.

    Please advise.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Having same issue here, memory exhausted.

    Hi @dmillersg77,

    We apologize for the issue you are having with our plugin.

    Some other users were facing similar critical errors when the plugin can’t find one of its core files, so the installation or update process are interrupted.

    We suggest either:

    – Deleting the plugin, clearing any cache and reinstalling the plugin.
    – Deleting the plugin and manually uploading it via FTP. You’ll need an FTP program such as FileZilla and your FTP details can be obtained from your host provider.

    You don’t need to worry about losing any of your settings because they’re stored on the WordPress database, not the plugin files.

    If that didn’t resolve the problem, we expect some more information about the cause of this error, as such, would you be able to provide the error log information from your server? We want to see if there are any PHP errors recorded in the error log which might help us narrow down the cause. You may need to contact your hosting provider for this information.

    We are looking forward to your reply in order to assist you with this further.

    I had something similar, using my own code. It appears that the required modules cannot be found and you have to add the path to each module that refers to them manually. In my case it was:

    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-presenter.php”;
    require_once ABSPATH . “wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-presenter.php”;

    Look into you error log to see what module is missing the path and add the path to the referred modules. Hopefully Suwash comes with a better solution soon!!

    Plugin Support devnihil

    (@devnihil)

    @dmillersg77 Can you please confirm whether reinstalling the plugin corrected the error?

    If not, when the error of ‘There has been a critical error on your website’ occurs a more detailed error message is then also sent to the admin email for WordPress. Can you please check for this email and let us know the detailed error information that WordPress logged, and also check your website’s error logs as well?
    ?

    Thread Starter dmillersg77

    (@dmillersg77)

    I apologize for the late reply.

    I reached out to my hosting company and they said they wouldn’t have any error logs that would be able to help you guys.

    Regarding uploading via ftp, I would prefer to not go this route.

    Hopefully this issue will be resolved with the next update.

    If for some reason you guys haven’t been able to remedy this I will do what I can to help if I can.

    Thanks,

    Plugin Support devnihil

    (@devnihil)

    @dmillersg77 Regarding the error, when this occurs a more detailed error message is then sent to the admin email for WordPress. Can you please check for this email and let us know the detailed error information that WordPress logged? ?You can check what address this is set to in WordPress by going to Settings>General and checking the value for ‘Administration Email Address.’

    Thread Starter dmillersg77

    (@dmillersg77)

    I understand but I don’t ever actually receive those emails from wordpress.

    Plugin Support amboutwe

    (@amboutwe)

    The most common cause of the ‘experiencing critical error’ message is cache not cleared (usually server level like OPcache) or a conflict with something on your site.

    The error message in that email provided by WordPress or logged to your server error log would provide us with the information required to help you further.

    Without this information, we simply don’t know what caused the error.

    Sometimes enabling advanced WordPress debugging with the code?here can help. This code requires that you change line 84 to point to a path on your server. Your webhost can provide you with a secure path to save the error.log file.

    Thread Starter dmillersg77

    (@dmillersg77)

    I cleared my cache and I see the error log but it contains private data I dont feel comfortable sharing. I am seeing php7 notice.

    Clearing cache did not work.

    Plugin Support amboutwe

    (@amboutwe)

    A redacted version may provide enough information, if you are willing to share a redacted version. To share a server log or other large pieces of data, please use a code sharing service like https://gist.github.com/, https://pastebin.com/, https://dpaste.com/, https://bpaste.net/ or your favorite one. Once you upload it a code sharing service, please share the link to the code here.

    Hi @dmillersg77 ,

    We’re closing this thread because we haven’t heard back from you in a while. Should you have further questions, please open a new thread.

    Thread Starter dmillersg77

    (@dmillersg77)

    I figured it out, after reviewing the php error logs, I noticed a php 7 error with a custom function which worked for yoast version 13 and below but not 14. I updated the functions.php file and updated your plugin, everything is working now. No critical error.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘14.0.4 causing Critical Error’ is closed to new replies.