Title: Failed to load SourceMap
Last modified: January 22, 2021

---

# Failed to load SourceMap

 *  Resolved [danbooth](https://wordpress.org/support/users/danbooth/)
 * (@danbooth)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/)
 * I’m seeing the following error in console in Chrome:
 * `DevTools failed to load SourceMap: Could not load content for https://www.mysite.
   co.uk/wp-content/plugins/wp-live-chat-support/js/vendor/bootstrap/dist/js/bootstrap.
   bundle.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE`
 * It happens in Firefox too.
 * The error only happens when in when in the WordPress dashboard, not on the front
   end.
 * I came across this when investigating an error which may or may not be related
   to this. My client (the website owner) said LiveChat didn’t ring when someone
   was trying to message them. They only knew about it when they received an email
   notification.
 * I’ve since tested LiveChat and it seems to be working fine, but I’m interested
   to know more about the SourceMap issue. Is this something serious and how should
   go I about fixing it?
 * Some more info…
 * Wordpress 5.3.3
    LiveChat 8.1.7
 * The theme is Divi.
 * Any advice would be much appreciated.
 * Thanks,
    Dan
    -  This topic was modified 6 years, 1 month ago by [danbooth](https://wordpress.org/support/users/danbooth/).
    -  This topic was modified 6 years, 1 month ago by [danbooth](https://wordpress.org/support/users/danbooth/).

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/failed-to-load-sourcemap/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/failed-to-load-sourcemap/page/2/?output_format=md)

 *  [ianilachingas](https://wordpress.org/support/users/ianilachingas/)
 * (@ianilachingas)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12781515)
 * Hi there; same thing is happening to one of my sites. I have also installed Divi
   and, in fact, this error isn’t letting me work in the Visual Editor. It’s the
   first time this happens to me since i’ve worked with this theme for almost 4 
   years.
 * /wp-content/themes/Divi/includes/builder/frontend-builder/build/theme-builder.
   js.map
    /wp-content/themes/Divi/includes/builder/scripts/cpt-modules-wrapper.
   js.map
 *  [honigvogel](https://wordpress.org/support/users/honigvogel/)
 * (@honigvogel)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12790952)
 * Hi!
 * Same problem here. Have the same error on ALL my Divi pages – and one page pagebuilder
   does not not work.
 *  [tflores21](https://wordpress.org/support/users/tflores21/)
 * (@tflores21)
 * [6 years ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12817887)
 * Same. Cannot use Divi Builder in Chrome, Edge, Brave, Firefox.
    All errors are
   on loading content for Divi themes.
 *  [ChemaZ](https://wordpress.org/support/users/chemaz/)
 * (@chemaz)
 * [6 years ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12832776)
 * “failed to load SourceMap” is a warning, and it’s non-fatal: it should not cause
   problems. It just means it can’t find an un-minified version of the script, so
   you won’t see the original code in the debugger.
 * The Divi Builder fails to load in one of my sites too, and I’m hunting down the
   error. It worked just fine a couple of days ago, not sure what changed, but now
   I get this error:
 * `bundle.js?ver=4.3.1:formatted:29366 Uncaught TypeError: Cannot read property'
   wp' of undefined`
 * which refers to:
 *     ```
       function(e, t) {
           e.exports = window.et_gb.wp.hooks
       }
       ```
   
 * Do you guys see this error too?
 *  [ChemaZ](https://wordpress.org/support/users/chemaz/)
 * (@chemaz)
 * [6 years ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12833158)
 * Update: as a workaround, I got it to work by adding
 *     ```
       <script type="text/javascript">
       window.et_gb = (window.top && window.top.Cypress && window.parent === window.top && window) || (window.top && window.top.Cypress && window.parent !== window.top && window.parent) || window.top || window;
       </script>
       ```
   
 * to my pages (in Divi > Theme Options > Integration > Add code to the head, for
   example).
    This should be added by includes/builder/functions.php:et_fb_enqueue_bundle(),
   but it’s not happening for some reason (some particular Divi setting on this 
   particular server, perhaps).
 *  Thread Starter [danbooth](https://wordpress.org/support/users/danbooth/)
 * (@danbooth)
 * [6 years ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12857945)
 * Thought I’d best chip in as the original poster.
 * I see there a few of you with SourceMap issues – all relating to Divi Builder.
   Divi actually works fine for me.
 * My SourceMap error relates to WP Live Chat and a Bootstrap file it’s trying to
   load.
 * From what [@chemaz](https://wordpress.org/support/users/chemaz/) has said, it’s
   sounds like it is fairly innocuous in my case. It doesn’t seem to be causing 
   any problems for my site. I was really just interested to know if this was something
   to worry about – it seems not.
 * Hope you all manage to fix your Divi issues.
 *  [intechra](https://wordpress.org/support/users/intechra/)
 * (@intechra)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12972517)
 * The code [@chemaz](https://wordpress.org/support/users/chemaz/) posted didn’t
   work for me. I’m wondering if there’s another workaround. Would like to clear
   this warning, even if isn’t fatal, so as to eliminate possible causes for other
   issues I’m debugging.
 *  [ChemaZ](https://wordpress.org/support/users/chemaz/)
 * (@chemaz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12974075)
 * [@intechra](https://wordpress.org/support/users/intechra/): Read again please.
   
   My code has *nothing* to do with the SourceMap warning. Which in turn is completely
   harmless. It just means Dev Tools can’t find the original source of a script,
   even though the script has a source map declaration. To remove it, you either
   eliminate the sourceMappingURL=foo.js.map statement from said script (or whatever
   creates it, rather), or disable source maps in your Dev Tools. Or the easiest
   way: just ignore it. (Elegant should take care of it any time now 🙂
 *  [Fotis](https://wordpress.org/support/users/kokkoras/)
 * (@kokkoras)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-12995105)
 * same problem here (with Divi theme)
 *  [olivedream](https://wordpress.org/support/users/olivedream/)
 * (@olivedream)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-13210130)
 * DevTools failed to load SourceMap: Could not load content for [http://live.rdn1.com/wp-content/themes/Divi/js/custom.unified.js.map](http://live.rdn1.com/wp-content/themes/Divi/js/custom.unified.js.map):
   HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed
   to load SourceMap: Could not load content for [http://live.rdn1.com/wp-content/themes/Divi/includes/builder/frontend-builder/build/boot.js.map](http://live.rdn1.com/wp-content/themes/Divi/includes/builder/frontend-builder/build/boot.js.map):
   HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed
   to load SourceMap: Could not load content for [http://live.rdn1.com/wp-content/themes/Divi/includes/builder/frontend-builder/assets/scripts/failure_notice.js.map](http://live.rdn1.com/wp-content/themes/Divi/includes/builder/frontend-builder/assets/scripts/failure_notice.js.map):
   HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE Why these errors
   are happening in suing Divi theme?
 *  [olivedream](https://wordpress.org/support/users/olivedream/)
 * (@olivedream)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-13210133)
 * I wish anybody can help me
 *  [Fred Fontes](https://wordpress.org/support/users/fredfontes/)
 * (@fredfontes)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-13347844)
 * Same here… Does someone resolved yet?
    -  This reply was modified 5 years, 9 months ago by [Fred Fontes](https://wordpress.org/support/users/fredfontes/).
 *  [designtimestudio](https://wordpress.org/support/users/designtimestudio/)
 * (@designtimestudio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-13363455)
 * Just purchased Divi last night. Builder works great. But when I view my created
   design in my browser outside of the builder all Divi elements are missing.
 * Spent hours building a nice design just to have pretty much a blank page when
   it’s viewed.
 * Started looking for issues and found:
 * Source map error: Error: request failed with status 404
    Resource URL: [http://192.168.0.81/wp-content/themes/Divi/js/custom.unified.js?ver=4.6.1](http://192.168.0.81/wp-content/themes/Divi/js/custom.unified.js?ver=4.6.1)
   Source Map URL: custom.unified.js.map
 * Makes sense that the page is mostly blank if the unified js won’t load.
 * I’ll probably just get my money back and move on to a different builder. I really
   don’t have time to waste on something that doesn’t work.
 *  [shinerweb](https://wordpress.org/support/users/shinerweb/)
 * (@shinerweb)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-13478859)
 * [@designtimestudio](https://wordpress.org/support/users/designtimestudio/) The
   message you are seeing is a warning only and has nothing to do with why your 
   problems with seeing a blank page. It is simply a warning displayed by your browsers
   debugger that it can’t see a debug file it can use to show more information in
   your browsers debugger.
 * If you are still having issues, you might want to raise a ticket with Divi Support
   directly. Have you disabled caching and minification during debugging?
 *  [allrude](https://wordpress.org/support/users/allrude/)
 * (@allrude)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/#post-13502029)
 * It because Chrome added support for source maps. Yes it’s just a Warning, but
   it’s annoying, i found a solution I like on Stack, just give it what it wants,
   in my case it was asking for a .map file for gmaps.min.js.
 * so i added a gmaps.min.js.map file at the requested location, with this content;
 * `{
    “version”: 1, “mappings”: “”, “sources”: [], “names”: [], “file”: “gmaps.
   min.js” }
 * and no more nagging warning, just do the same for you warning(s) and don’t forget
   to change the filename in de json and problem solved.
 * But still ask the extension provider, to include source map file(s) in there 
   extension, it simple for them to add one in the build process.
 * Succes

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/failed-to-load-sourcemap/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/failed-to-load-sourcemap/page/2/?output_format=md)

The topic ‘Failed to load SourceMap’ is closed to new replies.

 * ![](https://ps.w.org/wp-live-chat-support/assets/icon-256x256.png?rev=2405258)
 * [3CX Free Live Chat, Calls & Messaging](https://wordpress.org/plugins/wp-live-chat-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-live-chat-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-live-chat-support/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-live-chat-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-live-chat-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-live-chat-support/reviews/)

## Tags

 * [divi](https://wordpress.org/support/topic-tag/divi/)

 * 22 replies
 * 19 participants
 * Last reply from: [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/failed-to-load-sourcemap/page/2/#post-13945396)
 * Status: resolved