JavaScript errors
-
I get a lot of errors in the console, and the theme is not showing correctly. I just get basic code blocks. It works fine in post-preview-mode and in Gutenberg. But not in a published post. The errors are to files that supposedly should exist on the path “domain/post-name”. But they don’t.
9702a.js:5 GET domain/post-name/theme-monokai.js net::ERR_ABORTED 404 t.loadScript @ 9702a.js:5 t.loadModule @ 9702a.js:5 setTheme @ 9702a.js:5 setTheme @ 9702a.js:5 (anonymous) @ 9702a.js:9 each @ jquery.js:2 each @ jquery.js:2 (anonymous) @ 9702a.js:9 dispatch @ jquery.js:3 r.handle @ jquery.js:3 load (async) add @ jquery.js:3 a.event.add @ 9702a.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 ra @ jquery.js:3 on @ jquery.js:3 bind @ jquery.js:5 a.fn.<computed> @ 9702a.js:3 (anonymous) @ 9702a.js:9 (anonymous) @ 9702a.js:9 9702a.js:5 GET domain/post-name/mode-php.js net::ERR_ABORTED 404 t.loadScript @ 9702a.js:5 t.loadModule @ 9702a.js:5 setMode @ 9702a.js:5 (anonymous) @ 9702a.js:9 each @ jquery.js:2 each @ jquery.js:2 (anonymous) @ 9702a.js:9 dispatch @ jquery.js:3 r.handle @ jquery.js:3 load (async) add @ jquery.js:3 a.event.add @ 9702a.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 ra @ jquery.js:3 on @ jquery.js:3 bind @ jquery.js:5 a.fn.<computed> @ 9702a.js:3 (anonymous) @ 9702a.js:9 (anonymous) @ 9702a.js:9 9702a.js:5 GET domain/post-name/mode-html.js net::ERR_ABORTED 404 t.loadScript @ 9702a.js:5 t.loadModule @ 9702a.js:5 setMode @ 9702a.js:5 (anonymous) @ 9702a.js:9 each @ jquery.js:2 each @ jquery.js:2 (anonymous) @ 9702a.js:9 dispatch @ jquery.js:3 r.handle @ jquery.js:3 load (async) add @ jquery.js:3 a.event.add @ 9702a.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 ra @ jquery.js:3 on @ jquery.js:3 bind @ jquery.js:5 a.fn.<computed> @ 9702a.js:3 (anonymous) @ 9702a.js:9 (anonymous) @ 9702a.js:9 9702a.js:5 GET domain/post-name/mode-javascript.js net::ERR_ABORTED 404 t.loadScript @ 9702a.js:5 t.loadModule @ 9702a.js:5 setMode @ 9702a.js:5 (anonymous) @ 9702a.js:9 each @ jquery.js:2 each @ jquery.js:2 (anonymous) @ 9702a.js:9 dispatch @ jquery.js:3 r.handle @ jquery.js:3 load (async) add @ jquery.js:3 a.event.add @ 9702a.js:3 (anonymous) @ jquery.js:3 each @ jquery.js:2 each @ jquery.js:2 ra @ jquery.js:3 on @ jquery.js:3 bind @ jquery.js:5 a.fn.<computed> @ 9702a.js:3 (anonymous) @ 9702a.js:9 (anonymous) @ 9702a.js:9 9702a.js:5 GET domain/post-name/mode-css.js net::ERR_ABORTED 404
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘JavaScript errors’ is closed to new replies.