• Resolved mijocco

    (@mijocco)


    Hey there

    I use wordpress 5.4.2 with the plugin yoast seo 14.3. After the latest update of the plugin the analysis doesn’t show up (the tab title “SEO Analysis” does, but the green circle just keeps spinning). I noticed two errors in the javascript console when editing pages or posts:

    Refused to execute script from 'https://<my-website>/wp-content/plugins/wordpress-seo/js/dist/commons-1430.js' because its MIME type ('text/x-js') is not executable.

    Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://<my-website>/wp-content/plugins/wordpress-seo/js/dist/commons-1430.js' failed to load.

    I assume this might be the cause since the referenced scripts are from the yoast plugin. Any help is appreciated.

    Thanks

    EDIT: after trying to narrow it down with the troubleshoot mode of the health check plugin, it still persists with only the yoast seo plugin enabled.

    • This topic was modified 4 years, 5 months ago by mijocco.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support devnihil

    (@devnihil)

    @mijocco We understand that the issue is still occurring with only the Yoast SEO plugin activated. When testing it though, did you also try it with only the Yoast SEO plugin activated and a default theme?

    Also, have you tried reinstalling the plugin? Those errors indicate that the JavaScript file itself may have an issue with it. That can sometimes occur during an update if a file becomes incomplete or damaged.

    Thread Starter mijocco

    (@mijocco)

    @devnihil thanks for the response. I did try it with a default theme without any luck and reinstalled the plugin this morning but the issue persists.

    Hi @mijocco,

    That’s odd. Are you using any custom security measures on your site that disables any default MIMES from being executed? The first error sounds like that some Javascript files can’t load on the page editing screen and that might be causing issues.

    If you don’t have anything on your site or server doing anything related to the execution of Javascript files, can you please try in any other browser on your computer that does not have any security or privacy extensions active? We ask since they might interfere as well.

    Thread Starter mijocco

    (@mijocco)

    Hi @jeroenrotty

    We don’t use a specific extension / security-related plugin.

    I use ubuntu 20.04 and usually use chromium (version 83.0.4103.106) where the above two errors occured. The same error messages appear on a fresh install of the opera browser (version 68.0.3618.165). However, when I switch to firefox (version 77.01), there is only one (and different) error:

    NetworkError: WorkerGlobalScope.importScripts: Failed to load worker script at https://scewo.ch/wp-content/plugins/wordpress-seo/js/dist/commons-1430.js (nsresult = 0x804b001d)

    After that, we tried various combinations of OS and browsers (thank you for the tip!), see the list below:

    no errors / plugin works as expected:
    – windows + explorer
    – macos + safari

    errors / plugin does not work as expected:
    – macos + chrome
    – windows + chrome
    – ubuntu + chromium
    – ubuntu + firefox
    – ubuntu + opera

    Since the person who needs to work with the plugin found a working browser it isn’t a top priority anymore. But I’m more than happy to help to investigate the issue further!

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Thank you for getting back to us.

    Since you can confirm that these errors are appearing when testing in the Troubleshooting mode of the Health Check & Troubleshooting plugin with only a default WP theme and only the Yoast SEO plugin enabled, and with those OS and browser combinations, we recommend that you submit a bug report for this here — https://yoast.com/help/how-to-write-a-good-bug-report/

    Thread Starter mijocco

    (@mijocco)

    Hey @mikes41720

    Following your advice, I opened an issue on github. Since the issue will be tracked there I will close this for now. Thank you for your time and help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘MIME type (‘text/x-js’) is not executable’ is closed to new replies.