Support » Plugin: Yoast SEO » Blank Editor screen FIX (8.0)

  • Resolved berndtl


    Sometimes the editor window goes blank when the lodash javascript library is missing and yoast has to load it itself.

    It appears that the cause is the way that the loading is done, which does not honor dependencies and loading order, but just hopes for the best.

    To avoid the error you need to be sure that lodash is loaded and that you do not have any scripts in function.php or elsewhere (plugins), which optimize the loading order of javascript. We fixed our site by disabled the javascript defer loader which we put in functions.php. I guess that for the SEO minded site, such speed optimizations are quite common 🙂

    But the real fix is that yoast should replace the offending line 221 in admin/class-admin-asset-manager.php and write a version which honors dependencies and the loading order (i.e put this in a javascript file marked with lodash as a dependency). I mean come on, Inline javascript like that is so 1995.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Thanks for posting this – saved me a lot of effort/time investigating myself. I also made pagespeed tweaks that led to the same issue. In my case I was able to add a conditional is_admin() check in my code to keep my functionality but bypass it in the editing screen but yes, it would be nice if the developers addressed it on their end.

    Plugin Support Jerlyn


    Hi @berndtl,

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


    I posted a solution to a problem that many people have, and you can’t even be bothered to pas it along to the Developers? I know that you’re just a community manager, but your reply really reflects poorly on Yoast as a company.

    Plugin Support Jerlyn


    @berndtl Our apologies. We could have reported the issue right away but was thinking it would be best to have the report by someone who’s got more insight and more information about the issue (steps to reproduce, console errors, etc). We can see that you already submitted the report here. We truly appreciate it. Our developers will be further checking on the issue.

    Plugin Support Michael Tina


    Please feel free to subscribe and keep posted in the GitHub issue. We’re setting this to resolved to keep the overview.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blank Editor screen FIX (8.0)’ is closed to new replies.