Support » Plugin: Yoast SEO » Can’t edit any post or page: ReferenceError: YoastSEO is not defined

  • Resolved outcats85

    (@outcats85)


    What is going on?

    
    ReferenceError: YoastSEO is not defined
        at i (https://www.fabionodariphoto.com/wp-content/plugins/wordpress-seo/js/dist/post-edit-1461.js?ver=14.6.1:1:2331)
        at t.default (https://www.fabionodariphoto.com/wp-content/plugins/wordpress-seo/js/dist/post-edit-1461.js?ver=14.6.1:1:2169)
        at t.value (https://www.fabionodariphoto.com/wp-content/plugins/wordpress-seo/js/dist/post-edit-1461.js?ver=14.6.1:1:51133)
        at re (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:95:261)
        at Vg (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:95:54)
        at ph (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:217:70)
        at lh (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:126:409)
        at O (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:121:71)
        at ze (https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:118:14)
        at https://www.fabionodariphoto.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:53:49
    

    To edit the pages I have to disable the plugin. Why is there a new bug every single day?!

    • This topic was modified 4 months, 1 week ago by Yui.
    • This topic was modified 4 months, 1 week ago by Yui. Reason: please use CODE button for code formatting

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Michael Tina

    (@mikes41720)

    Hi,

    We understand that you are getting errors when editing pages with the latest version of Yoast SEO for WordPress v14.6.1.

    We’re sorry that you are experiencing problems that might be caused by our plugin!

    Just to be sure, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen

    Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting normal visitors to your site.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.

    Thanks for your reply.

    I did disable ALL the plugins BUT Yoast and the bug still persisted.
    I then disabled Yoast and I was able to edit any post or page.
    I then proceeded to activate all the plugins one by one excluding Yoast and I was able to edit the posts and the pages without any problem.
    Finally, I activated Yoast again and the bug immediately appeared.

    I’m using Genesis Framework.

    Please fix it asap.
    Thanks

    • This reply was modified 4 months, 1 week ago by outcats85.
    Plugin Support Michael Tina

    (@mikes41720)

    Hello,

    In order to perform a conflict check, we would advise that you deactivate all of your plugins and revert to a default WordPress theme such as TwentyTwenty. You would then need to activate Yoast SEO for WordPress and then your plugins one-by-one to try and recreate the issue. If the issue doesn’t occur, then the last step would be to revert back to your preferred theme. If the issue then occurs, then it’s likely that the conflict is between Yoast SEO and your preferred theme. Could you please confirm if this is the case? — https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts/

    Thanks I did try all the possible conbinations:

    Genesis + all plugins active excluding Yoast: no bug
    Genesis + all plugins inactive, only active plugin Yoast: bug
    Twenty Twenty + all plugins active excluding Yoast: no bug
    Twenty Twenty + all plugins inactive, only active plugin Yoast: bug

    As you can see the only case where I have the bug is when Yoast is active. Doesn’t matter the theme or plugins used.

    Thanks

    Plugin Support Michael Tina

    (@mikes41720)

    Hello,

    Thank you for getting back to us. We apologize that the issue is occurring with only the Yoast SEO for WordPress plugin and a default theme.

    Was the plugin working fine in a previous version before v14.6.1? Could you please check if you are meeting the necessary plugin requirements — https://yoast.com/help/plugin-requirements/

    Would it also be possible for you to try and remove and then reinstall the plugin to see if this helps resolve the issue — https://yoast.com/help/how-can-i-update-my-free-plugin/#remove

    Yes I do meet all the minimum requirements. Will I lose the settings if I reinstall the plugin?
    I didn’t have the issue before the update but now even if I revert back to the previous update I still have the same problem. Maybe it messed up something in the database?

    Plugin Support Maybellyne

    (@maybellyne)

    @outcats85 SEO settings are stored in the database. So if you reinstall Yoast SEO, you will not lose existing settings or data.

    Done. Still same issue after reinstalling

    Plugin Support Maybellyne

    (@maybellyne)

    Hello @outcats85,

    Based on the information you provided, we expect this to be a bug. We’re actively using the bug tracking on our GitHub repository so your best next step would be to create a new issue for our developers at https://github.com/Yoast/wordpress-seo/issues/new. You will need an account to create a new issue. If this is your first bug report, please check out: https://kb.yoast.com/kb/how-to-write-a-good-bug-report/.

    Don’t forget to include the URL to this conversation in your bug report.

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