• Resolved Orsp

    (@orsp)


    Hello,
    I found this error in the error_log file on my site:
    [13-Dec-2021 11:35:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT umeta_id FROM pri_usermeta WHERE meta_key = ‘pri_yoast_notifications’ AND user_id = 2472 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Yoast_Notification_Center->update_storage, Yoast_Notification_Center->remove_storage, delete_user_option, delete_user_meta, delete_metadata

    with the consequence that all users no longer had access to the backend.
    To fix I had to repair the database and restore it to the backup version.

    Do you have any suggestions?

    Best regards
    Oriano

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Suwash

    (@suascat_wp)

    @orsp

    We’re sorry you’re having trouble with Yoast SEO as per the error log file. I imagine this can be frustrating for you. We’d like to look a closer look.

    I understand you had to restore the backup to fix the error. If the error persists, can you please try resetting our indexables in the database tables by following the steps below?
    1. Install & activate the?Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Hit the “Reset indexables & migrations” button.
    4. Go to SEO > Tools, and under SEO data, click the “SEO Data Optimization” button to allow Yoast to rescan your pages.

    For your site’s health and safety, we recommend creating regular backups of your site and database. This is especially important before installing, updating, or removing plugins. Learn more about the benefits of regular backups.`

    Thread Starter Orsp

    (@orsp)

    Hi @suascat_wp
    Thank you for your answer.
    I did what you suggested.
    I will keep monitoring my site, to see if your suggestion has solved the issue.

    Best regard

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Thanks for getting back to us.

    Yes, after resetting the data with the Yoast Test Helper plugin and re-running the SEO data optimization process, this should help resolve any issues with any incorrect data stored in the database tables. Please do monitor and check if it has indeed addressed the problem in the coming days.

    Thanks!

    Thread Starter Orsp

    (@orsp)

    Hi @mikes41720

    Today new error ??

    [22-Dec-2021 15:00:20 UTC] PHP Fatal error:  Uncaught Error: Class Yoast\WP\SEO\Integrations\Admin\Workouts_Integration' not found in /home/stagingprivateph/public_html/wp-content/plugins/wordpress-seo/src/loader.php:228
    Stack trace:
    #0 /home/stagingprivateph/public_html/wp-content/plugins/wordpress-seo/src/loader.php(197): Yoast\WP\SEO\Loader->conditionals_are_met('Yoast\\WP\\SEO\\In...')
    #1 /home/stagingprivateph/public_html/wp-includes/class-wp-hook.php(303): Yoast\WP\SEO\Loader->load_integrations('')
    #2 /home/stagingprivateph/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /home/stagingprivateph/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home/stagingprivateph/public_html/wp-settings.php(578): do_action('init')
    #5 /home/stagingprivateph/public_html/wp-config.php(172): require_once('/home/stagingpr...')
    #6 /home/stagingprivateph/public_html/wp-load.php(50): require_once('/home/stagingpr...')
    #7 /home/stagingprivateph/public_html/wp-blog-header.php(13): require_once('/home/stagingpr... in /home/stagingprivateph/public_html/wp-content/plugins/wordpress-seo/src/loader.php on line 228

    What do you advise me to do now?

    Best regards,
    Oriano

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @orsp

    It looks to be a different error from what you previously encounter. Just to clarify, could you check if you are on the latest version of WordPress 5.8.2, Yoast SEO 17.8, and the latest version of your other plugins and themes?

    If not, please do update. Then could you try resetting and re-running the SEO data optimization process as well?

    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Hit the “Reset indexables & migrations” button.
    4. Go to SEO > Tools, and under SEO data, click the “SEO Data Optimization” button to allow Yoast to rescan your pages.

    Could you also check and confirm if you are able to perform the SEO workouts found under your WP admin dashboard > SEO (sidebar) > Workouts?

    Thread Starter Orsp

    (@orsp)

    Hi @mikes41720

    Just to clarify, could you check if you are on the latest version of WordPress 5.8.2, Yoast SEO 17.8, and the latest version of your other plugins and themes?

    yes, I confirm it.

    and the latest version of your other plugins and themes?

    This I cannot confirm, in the sense that I cannot be sure that at the exact moment the error reported in the log occurred, there were plugins waiting for an update.

    What I can say is that I keep all the components of the site updated regularly.

    Finally I have now started new “Do workout again”.

    Is there anything else you advise me to do?

    Best regards
    Oriano

    Plugin Support devnihil

    (@devnihil)

    @orsp Thanks for your reply and for confirming that the version of Yoast SEO and WordPress are up to date.

    Regarding your question, yes, we would just advise to reattempt completing the SEO workout.

    The error of ‘PHP Fatal error: Uncaught Error: Class Yoast\WP\SEO\Integrations\Admin\Workouts_Integration’ not found in /home/stagingprivateph/public_html/wp-content/plugins/wordpress-seo/src/loader.php:228′ can sometimes occur when the plugin files are cached and some old files are still used after updating the plugin. On occasions, this causes temporary errors that resolve themselves once the cache has been cleared.

    If the problem doesn’t resolve for you automatically, can you please try clearing the cache from your theme, plugin, server and CDN (e.g. CloudFlare) before and after updating Yoast SEO?

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    This thread has been marked as resolved due to a lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Yoast_notifications’ is closed to new replies.