• Resolved Sabinooo

    (@sabinooo)


    As the title says, update 14.0 of the Yoast SEO theme broke my blog, I had to deactivate the plugin by FTP.

    Details follow, using the email sent by wordpress to the admin account:

    
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.3.2
    Current theme: Dev (version 2020.1)
    Current plugin: Yoast SEO (version 14.0)
    PHP version 7.3.17-1+0~20200419.57+debian10~1.gbp0fda17
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 110 of the file /home/blogperso/public_html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php. Error message: Uncaught Error: Undefined constant 'DB_CHARSET' in /home/blogperso/public_html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php:110
    Stack trace:
    #0 /home/blogperso/public_html/wp-content/plugins/wordpress-seo/src/initializers/database-setup.php(52): Yoast\WP\SEO\Initializers\Database_Setup->get_connection_string()
    #1 /home/blogperso/public_html/wp-content/plugins/wordpress-seo/src/loader.php(145): Yoast\WP\SEO\Initializers\Database_Setup->initialize()
    #2 /home/blogperso/public_html/wp-content/plugins/wordpress-seo/src/loader.php(111): Yoast\WP\SEO\Loader->load_initializers()
    #3 /home/blogperso/public_html/wp-content/plugins/wordpress-seo/src/main.php(81): Yoast\WP\SEO\Loader->load()
    #4 /home/blogperso/public_html/wp-content/plugins/wordpress-seo/src/functions.php(26): Yoast\WP\SEO\Main->load()
    #5 /home/blogperso/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php(346): YoastSEO()
    #6 /home/blogperso/public_html/wp-includes/class-wp-hook.php(288): wpseo_init('')
    #7 /
    

    Good luck on fixing it, and thanks for the well-working plugin during all those years, a little hiccup here and there can happen ??

    • This topic was modified 4 years, 6 months ago by Sabinooo.
    • This topic was modified 4 years, 6 months ago by Yui. Reason: please use CODE button for code formatting
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @sabinooo thanks for your report and kind words ?? This error is known and should be fixed with version 14.0.1 which is available for download. Please update the plugin to see if this fixes your issue.

    Thread Starter Sabinooo

    (@sabinooo)

    Thanks for the heads-up, I confirm the site is working again with the 14.1 update.

    One minor bug report perhaps, after yoast SEO was re-enabled, I was greeted in my plugins admin page with a message that Yoast could store in a better way the SEO data, so why not, I clicked to allow it, it went on to proceed the 15k+ posts… and when I came back to this tab an hour later, the dialogue had disappeared, replaced with the initial proposal. When I clicked, again, to accept in that initial proposal, then came this error message “Something went wrong while optimizing the SEO data of your site. Please try again later.”

    Nothing big, but maybe you were interested in hearing about that error.
    Maybe a php execution timeout, my server’s pretty strict, 30 or 60 seconds I think, and I’m not raising it just to please a blog plugin. If it’s normal then, no worries. But in case it’s not normal, if you want me report more details (does the plugin store error messages in such cases, for instance), lmk!

    Plugin Support devnihil

    (@devnihil)

    @sabinooo If you update to the most current version of Yoast SEO version 14.0.4, does this resolve the issue?

    Thread Starter Sabinooo

    (@sabinooo)

    Ah, about that, it’s relatively weird.

    – The two latest update mentioned that wp cli was recommended instead for blogs with 1000+ posts, so I did it that way, “wp yoast index”, and with that it worked flawlessly in the shell console, there was the progress bar and upon completion, a success message.

    – And yet, in wp-admin/admin.php?page=wpseo_dashboard, there is STILL the “NEW: Yoast SEO can now store your site’s SEO data in a smarter way!
    Don’t worry: this won’t have to be done after each update.
    Click here to speed your site now!” message.

    Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    Does the notice re-appear even after dismissing it?

    Plugin Support devnihil

    (@devnihil)

    Can you please try the following to resolve this?:

      1. Install & activate the?Yoast Test Helper plugin
      2. Go to Tools -> Yoast Test
      3. Hit the “Reset indexables & migrations” button
      4. Delete your current Yoast SEO installation.
      5. Reinstall Yoast SEO 14.0.4.
      6. Click the “Click here to speed up your site now” button.
    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Update 14.0: critical error on whole site’ is closed to new replies.