Support » Plugin: Yoast SEO » Yoast SEO Plugin Crashed

  • Resolved conrad2507

    (@conrad2507)


    I face a lot of issues with plugins crashing which leads to the website to crash. Recently elementor had an issue and today yoast seo showed an error which crashed my website. I do receive emails from WP regarding this issue with a link to the recovery mode but why does this issue keep happening? and what can i do to stop it?
    I had to deactivate yoast and now i can’t use it because of the below error.

    Details of the Yoast SEO issue:
    WordPress version 5.5.1
    Current theme: Cybermak Theme (version 2.0)
    Current plugin: Yoast SEO (version 14.9)
    PHP version 7.2.25

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 8 of the file /var/www/wp-content/plugins/wordpress-seo/src/routes/abstract-indexation-route.php. Error message: Namespace declaration statement has to be the very first statement or after any declare call in the script

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @conrad2507,

    We are sorry the plugin causes your site to crash.

    The error may occur when the plugin installation or update couldn’t complete correctly. The fatal error is telling you that the plugin couldn’t find one of the cores Yoast SEO plugin files. In this case, can you please remove the plugin directly from your site and reinstall it manually to see if this resolves the issue? You can find the guideline here

    Thank you Maybellyne. Will try what you suggested.

    Removing a plugin will undo all the work i did using it right? Will reinstalling auto update all the work done so far?

    Plugin Support Maybellyne

    (@maybellyne)

    @conrad2507,

    Your existing SEO settings are saved in the database. So, when you delete and reinstall the plugin, your settings are intact.

    Thanks.

    Thank you @maybellyne.

    The removing and reinstalling process seems to work for now, but how do i make sure it doesn’t happen again. I’ve had at least 3-4 such issues since the past few months where the plugin had an error and the website crashed, then i get those mails from WP with the recovery mode link.

    How do it permanently stop this?

    Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    You may also want to check to ensure your website meets the plugin requirements.

    Thanks.

    conrad2507

    (@conrad2507)

    Thank you @maybellyne.

    I checked the compatibility. Everything seems fine. The site crashed again today.
    https://www.cybermak.net/

    This time it was elementor which caused the crash

    conrad2507

    (@conrad2507)

    i have enabled auto updates. Yet elementor didn’t update automatically which caused the crash

    Plugin Support Pcosta88

    (@pcosta88)

    Hi,

    To clarify is the issue now resolved?

    conrad2507

    (@conrad2507)

    No its not resolved. The site crashed again today due to elementor. I mentioned it above 3 hours back

    Plugin Support Pcosta88

    (@pcosta88)

    Hi,

    We are confused. In a previous reply it was stated “The removing and reinstalling [The Yoast SEO Plugin] process seems to work for now, but how do i make sure it doesn’t happen again.”.

    If Elementor is crashing the site we recommend reaching out to them for more information as it appears that removing/reinstalling Yoast has resolved the Yoast issue you reported.

    You may contact Elementor here https://elementor.com/support/

    • This reply was modified 4 months ago by Pcosta88.
    conrad2507

    (@conrad2507)

    Apologies for the confusion. My main concern was, how to stop this crashing issues which happen due to plugin errors.

    It not about 1 plugin because every time its a new plugin that creates the problem. i have faced this issue about 4 times in the past few months with the latest 2 crashes happening this month itself.

    Where can i raise a general issue regarding this from an overall website perspective and not plugin perspective?

    Plugin Support Jeroen Rotty

    (@jeroenrotty)

    Hi @conrad2507,

    Thank you for your reply.

    Unfortunately, that’s a hard topic to answer completely. The WordPress ecosystem has thousands of plugins and themes available and each site differs on what combination of them is used, how they are configured, and on what server or host configuration they are installed.

    There is no simple solution to never have issues with new plugin or theme versions as those bring new code into your site. Plugin and theme developers try their best to have the best compatibility with other plugins and themes or WordPress itself, but there is no guarantee.

    Hope this explains a bit.

    conrad2507

    (@conrad2507)

    Thanks @jeroenrotty

    Plugin Support Jeroen Rotty

    (@jeroenrotty)

    You’re welcome @conrad2507 :-).

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.