• Resolved beniEllis

    (@beniellis)


    I just updated the plugin on my website. Then I opened a post to edit it. There was NO TEXT in the edit window regardless of whether I was in the Visual or Text view. Other custom fields on the post edit page showed text. The Yoast area on the post also seemed odd — no text, just the icons. As soon as I deactivated the Yoast SEO plugin, all returned to normal.

    I’m concerned about re-installing the plugin. Any thoughts what is going on? The plugin has been a part of my website for a long time. No new themes or theme updates and no new plugins. I updated JetPack and Yoast SEO only prior to the problem.

    Thanks.

Viewing 15 replies - 1 through 15 (of 27 total)
  • Same problem here. Deactivating the plugin makes the text re-appear.
    I suppose we should wait for the update?

    WP version: 4.9.8
    Yoast SEO: 8.0
    No page builder.
    No additional editors etc.

    Thank you, in advance.

    • This reply was modified 6 years, 3 months ago by AngieP.
    • This reply was modified 6 years, 3 months ago by AngieP.

    Same problem here.

    Same here – editor only works with Yoast Disabled. Only “vanilla” type plugins on the site.

    Issue seems to be that lodash or underscore.js isn’t loading:

    The line,
    `window.lodash = _.noConflict();

    Throws an “Uncaught ReferenceError: _ is not defined” error.

    Plugin Support devnihil

    (@devnihil)

    That sounds like a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. Check for conflicts.
    3. 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 beniEllis

    (@beniellis)

    1. The problem does not persist after Yoast SEO is deactivated.
    2. All worked just fine until I updated the JetPack and Yoast SEO plugins. If I deactivate JetPack and activate Yoast SEO, the problem still exists. Deactivate Yoast SEO and all works again. There has been no change to the theme.
    3. berndtl noted this javascript error in his comment above:

    Issue seems to be that lodash or underscore.js isn’t loading:

    The line,
    `window.lodash = _.noConflict();

    Throws an “Uncaught ReferenceError: _ is not defined” error.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Can you confirm that the issue occurs if you only have Yoast SEO for WordPress v8.0 activated, all other plugins deactivated, and a default theme such as TwentySeventeen enabled? You can then start to enable each plugin one by one in order to locate which plugin is conflicting with Yoast SEO.

    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.

    Hi, the same problem.

    The Yoast area on the post also seemed odd — no text, just the icons. I updated the last version of Yoast SEO.

    Hi, I solved my problem. I deactivate the plugin Async Javascript Optimizer and now it’s working Yoast Seo!!

    Same error here

    TypeError: Y is undefined
    wp-seo-wp-globals-backport-800.min.js:27:35556
    
    TypeError: window.yoast is undefined 
    wp-seo-modal-800.min.js:1:75
    
    TypeError: window.yoast is undefined 
    wp-seo-help-center-800.min.js:13:75376
    
    TypeError: window.yoast._wp is undefined  
    wp-seo-post-scraper-800.min.js:23:17682

    Same error here.

    `window.lodash = _.noConflict();

    Only happens when Yoast SEO is updated.

    It’s a conflict with other plugins, as I have several sites and this bug only happens at some of these sites. But I think this has to be taken in consideration, because it’s a conflict with a big number of plugins, not just one.

    This JavaScript error makes that all the JS scripts in the admin page don’t work. Solving this, all will work ok.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Can you please share a screenshot in which you highlight the Javascript errors from the browser console and also the issue you are experiencing so that we can try reproducing it on our end?

    Mazedul, your programmers got lazy and did this:

    wp_add_inline_script( self::PREFIX . ‘lodash’, ‘window.lodash = _.noConflict();’, ‘after’ );

    on line 221 in admin/class-admin-asset-manager.php

    Rewrite it to have it load properly from a javascript file with dependencies set as they should be.

    Temporary fix: find all javascript defer loading mechanism on your site and disable them, or rewrite them to not run on the admin screens.
    Most likely it’s because you are defer loading javascript through a simple function in functions.php.

    Plugin Support Jerlyn

    (@jerparx)

    Hi @berndtl,

    We thank you for sharing the temporary fix. Can you please create a detailed report in our Github repository so our developers can investigate?

    Thread Starter beniEllis

    (@beniellis)

    berndtl’s comment makes sense as Yoast SEO runs fine on a website I am developing that doesn’t have any javascript defer loading mechanisms in place right now. The SEO layout on the page even looks different.

    Thread Starter beniEllis

    (@beniellis)

    Still broken??? Sure wish this could be moved along.

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Blank edit window after update’ is closed to new replies.