Support » Plugin: Yoast SEO » Yoast 9.5 javascript error

  • Resolved Emazing

    (@emazing)


    Yoast 9.5 introduced a javascript error when editing a subpage (page with a parent page) using Gutenberg. The error doesn’t occur when editing a page at top level or when editing a page with the classic editor. The error occurs on multiple sites.
    Error:
    Uncaught TypeError: t.declareReloaded is not a function
    /wp-content/plugins/wordpress-seo/js/dist/wp-seo-replacevar-plugin-950.min.js

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having this issue as well.

    
    Uncaught TypeError: t.declareReloaded is not a function
    https://www.ironcounty.net/wp-content/plugins/wordpress-seo/js/dist/wp-seo-replacevar-plugin-950.min.js?ver=9.5 line 1
    
    • This reply was modified 3 years, 4 months ago by Dave.
    • This reply was modified 3 years, 4 months ago by Dave. Reason: removed previous edit, i do still get the error with the classic editor plugin
    Plugin Support devnihil

    (@devnihil)

    We weren’t able to replicate this error when editing a page with a parent page with Gutenberg. Can you confirm you are using WordPress 5.0.3? You can check by clicking on the W in the top left and selecting About. If you need to update, please check with your host provider. Please know that if you are using an older version of WordPress Core you may experience unexpected behavior with Yoast. This guide explains more: https://yoast.com/why-we-dont-support-old-wordpress-versions/

    If you have confirmed you are using the current version of WordPress, If the issue is still occurring after confirming both Yoast SEO and WordPress are updated, this may be due to a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Check for conflicts.
    2. Check for JavaScript errors with your console.
    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    Thread Starter Emazing

    (@emazing)

    Thanks for your reply. The error occurs using WordPress 5.0.3, Theme Twenty Nineteen 1.2, Yoast 9.5 and no other plugins. The error doesn’t occur with Yoast 9.4.

    Plugin Support amboutwe

    (@amboutwe)

    @emazing A bug report is currently open for this issue. Please provide more information, including the exact steps to recreate the issue, here:

    https://github.com/Yoast/wordpress-seo/issues/12092

    Screenshots may help, too!

    • This reply was modified 3 years, 4 months ago by amboutwe.
    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to 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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Yoast 9.5 javascript error’ is closed to new replies.