• Resolved c_dilla

    (@c_dilla)


    Hello, I’m getting an error message everywhere on the administration backend after installing this plugin and it breaks some functionality.

    If I try to manually open the map-file I get a 404 as well but if I check with a file manager the file is there.

    Is there something I’m missing or any way to fix this? Could there be a conflict with a security plugin blocking access to map-files through .htaccess for example? If so, I can’t find it again…

    DevTools failed to load source map: Could not load content for https://mydomain.com/wp-content/plugins/wp-smushit/app/assets/js/smush-global.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    • This topic was modified 2 years, 4 months ago by c_dilla.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @c_dilla

    I hope you’re well today!

    The error about source maps will not break any functionality about the site. The “source map” is a special file that is used only to make it easier for developers to check code in minified JS file in a human readable form. It does not affect in any way whether a given script works or not and doesn’t affect site in any way.

    Furthermore, this “error” ONLY happens if you do have browser console/webdeveloper tools open. When you close it, it’s not happening. I mean – it is not “invisible” then but literally does not happen as browser does not look for such files then.

    You can absolutely safely ignore it and it will not affect the site.

    I understand that there are some issues with site after installing the plugin but they’d be caused by something else. I understand that when checking you have noticed this “source map” issue in browser but would you, please, describe what functionality (as you mentioned: “it breaks some functionality”) is broken and in what way?

    Kind regards,
    Adam

    Thread Starter c_dilla

    (@c_dilla)

    I had problems with the functionality before but I can’t seem to replicate it now… I’ll enable the plugin again and keep testing. But if I go to Smush settings I’m getting seven warnings and three errors (for font files) now for example which is a bit much. Again, it could be because of my strict security settings but this is the only plugin that is giving me warning/error messages.

    Anyway, I trust you when you say that map files are not important and won’t break any functionality. I’ll mark this as resolved.

    GET https://mydomain.com/wp-content/plugins/wp-smushit/core/external/plugin-notice/assets/fonts/wpmudev-close-icon.ttf?v4kr59 net::ERR_ABORTED 404 (Not Found)

    GET https://mydomain.com/wp-content/plugins/wp-smushit/core/external/plugin-notice/assets/fonts/wpmudev-close-icon.woff2?v4kr59 net::ERR_ABORTED 404 (Not Found)

    GET https://mydomain.com/wp-content/plugins/wp-smushit/app/assets/fonts/wpmudev-plugin-icons.ttf net::ERR_ABORTED 404 (Not Found)

    • This reply was modified 2 years, 4 months ago by c_dilla.
    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @c_dilla

    Thank you for response!

    As for font file – it may be related to strict security settings (though worse case scenario – should only affect how plugin looks and not how it works) but it may also be a matter of, e.g., unexpectedly broken installation. I think you could try re-installing the plugin first before re-enabling it.

    If you come across any further issues, feel free to let us know and we’ll be glad to assist.

    Kind regadrs,
    Adam

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘DevTools failed to load source map’ is closed to new replies.