Syntax/Reference/Type Errors with JS – how to fix?
-
I have a strange error of recent, that seems to be related to both Elementor and Jetpack so far, though disabling one or the other doesn’t remove it. I have been changing around Optimising tools, and i thought they might also be a problem, but even without them i still get the problem.
How do i fix these issues? I can’t edit any posts or change Jetpack settings at all!These are two pages with errors i’ve copied below (Jetpack settings, and an Elementor post edit)
JETPACK ERRORS (settings page):
Uncaught SyntaxError: missing ) after argument list
admin.php?page=jetpack:547 Uncaught ReferenceError: moment is not defined
at admin.php?page=jetpack:547
admin.php?page=jetpack:564 Uncaught TypeError: Cannot read property ‘setLocaleData’ of undefined
at admin.php?page=jetpack:564
at admin.php?page=jetpack:565
admin.php?page=jetpack:577 Uncaught TypeError: Cannot read property ‘use’ of undefined
at admin.php?page=jetpack:577
at admin.php?page=jetpack:579
admin.php?page=jetpack:587 Uncaught TypeError: Cannot read property ‘setLocaleData’ of undefined
at admin.php?page=jetpack:587
at admin.php?page=jetpack:588
backbone.min.js?ver=1.4.0:2 Uncaught TypeError: Cannot read property ‘extend’ of undefined
at backbone.min.js?ver=1.4.0:2
at backbone.min.js?ver=1.4.0:2
at backbone.min.js?ver=1.4.0:2
backbone.marionette.min.js?ver=2.4.5:22 Uncaught TypeError: Cannot read property ‘ChildViewContainer’ of undefined
at backbone.marionette.min.js?ver=2.4.5:22
at backbone.marionette.min.js?ver=2.4.5:22
at backbone.marionette.min.js?ver=2.4.5:22
at backbone.marionette.min.js?ver=2.4.5:22
backbone.radio.min.js?ver=1.0.4:3 Uncaught TypeError: Cannot use ‘in’ operator to search for ‘default’ in undefined
at backbone.radio.min.js?ver=1.0.4:3
at backbone.radio.min.js?ver=1.0.4:3
at backbone.radio.min.js?ver=1.0.4:3
common-modules.min.js?ver=2.9.13:2 Uncaught ReferenceError: Marionette is not defined
at Object.<anonymous> (common-modules.min.js?ver=2.9.13:2)
at __webpack_require__ (common-modules.min.js?ver=2.9.13:2)
at Object.<anonymous> (common-modules.min.js?ver=2.9.13:2)
at __webpack_require__ (common-modules.min.js?ver=2.9.13:2)
at Object.<anonymous> (common-modules.min.js?ver=2.9.13:2)
at __webpack_require__ (common-modules.min.js?ver=2.9.13:2)
at common-modules.min.js?ver=2.9.13:2
at common-modules.min.js?ver=2.9.13:2
common.min.js?ver=2.9.13:2 Uncaught ReferenceError: Marionette is not defined
at Object.<anonymous> (common.min.js?ver=2.9.13:2)
at __webpack_require__ (common.min.js?ver=2.9.13:2)
at Object.<anonymous> (common.min.js?ver=2.9.13:2)
at __webpack_require__ (common.min.js?ver=2.9.13:2)
at Object.<anonymous> (common.min.js?ver=2.9.13:2)
at __webpack_require__ (common.min.js?ver=2.9.13:2)
at Object.<anonymous> (common.min.js?ver=2.9.13:2)
at __webpack_require__ (common.min.js?ver=2.9.13:2)
at Object.<anonymous> (common.min.js?ver=2.9.13:2)
at __webpack_require__ (common.min.js?ver=2.9.13:2)
keycodes.min.js?ver=46e6adf844a1e989da37d39c64fca9e2:2 Uncaught TypeError: Object(…) is not a function
at Module.449 (keycodes.min.js?ver=46e6adf844a1e989da37d39c64fca9e2:2)
at r (keycodes.min.js?ver=46e6adf844a1e989da37d39c64fca9e2:2)
at wp.keycodes.1 (keycodes.min.js?ver=46e6adf844a1e989da37d39c64fca9e2:2)
at keycodes.min.js?ver=46e6adf844a1e989da37d39c64fca9e2:2
data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2 Uncaught TypeError: Object(…) is not a function
at Module.426 (data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2)
at r (data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2)
at wp.data.0 (data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2)
at data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
rich-text.min.js?ver=942ff14b26cac991c71bdc5fd907ea4b:7 Uncaught TypeError: Cannot read property ‘combineReducers’ of undefined
at Module.424 (rich-text.min.js?ver=942ff14b26cac991c71bdc5fd907ea4b:7)
at r (rich-text.min.js?ver=942ff14b26cac991c71bdc5fd907ea4b:2)
at wp.richText.0 (rich-text.min.js?ver=942ff14b26cac991c71bdc5fd907ea4b:2)
at rich-text.min.js?ver=942ff14b26cac991c71bdc5fd907ea4b:2
compose.min.js?ver=3c7f1e5a90aa3c9e9b0f65014efccb35:2 Uncaught TypeError: Object(…) is not a function
at compose.min.js?ver=3c7f1e5a90aa3c9e9b0f65014efccb35:2
at Object.<anonymous> (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:7)
at n (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:2)
at Object.<anonymous> (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:7)
at n (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:2)
at Object.<anonymous> (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:7)
at n (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:2)
at Module.<anonymous> (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:7)
at n (components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:2)
at components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:2
admin.js?ver=8.6.1:71 Uncaught TypeError: Object(…) is not a function
at Module.<anonymous> (admin.js?ver=8.6.1:71)
at n (admin.js?ver=8.6.1:1)
at admin.js?ver=8.6.1:1
at admin.js?ver=8.6.1:1
notes-common-v2.js?ver=8.6.1-202028:32 Uncaught TypeError: Cannot read property ‘extend’ of undefined
at notes-common-v2.js?ver=8.6.1-202028:32
at notes-common-v2.js?ver=8.6.1-202028:158
admin-bar-v2.js?ver=8.6.1-202028:3 Uncaught TypeError: Cannot read property ‘extend’ of undefined
at admin-bar-v2.js?ver=8.6.1-202028:3
at admin-bar-v2.js?ver=8.6.1-202028:70
admin.min.js?ver=2.9.13:2 Uncaught ReferenceError: elementorCommon is not defined
at child.initTemplatesImport (admin.min.js?ver=2.9.13:2)
at child.e.each.r.<computed> [as initTemplatesImport] (common-modules.min.js?ver=2.9.13:2)
at child.onInit (admin.min.js?ver=2.9.13:2)
at child.e.each.r.<computed> [as onInit] (common-modules.min.js?ver=2.9.13:2)
at child.Module.trigger (common-modules.min.js?ver=2.9.13:2)
at child.e.each.r.<computed> [as trigger] (common-modules.min.js?ver=2.9.13:2)
at init (common-modules.min.js?ver=2.9.13:2)
at child.Module (common-modules.min.js?ver=2.9.13:2)
at child [as constructor] (common-modules.min.js?ver=2.9.13:2)
at new child (common-modules.min.js?ver=2.9.13:2)ELEMENTOR EDIT ERRORS (from a blog post):
Uncaught SyntaxError: missing ) after argument list
post.php:147 Uncaught ReferenceError: wp is not defined
at post.php:147
at post.php:148
post.php:5168 Uncaught ReferenceError: acf is not defined
at post.php:5168
post.php:5172 Uncaught ReferenceError: acf is not defined
at post.php:5172
load-scripts.php:431 Uncaught TypeError: Cannot set property ‘coerce’ of undefined
at load-scripts.php:431
at load-scripts.php:431
post.php:5220 Uncaught TypeError: Cannot read property ‘setLocaleData’ of undefined
at post.php:5220
at post.php:5221
post.php:5336 Uncaught ReferenceError: tinymce is not defined
at post.php:5336
wp-langs-en.js:235 Uncaught ReferenceError: tinyMCE is not defined
at wp-langs-en.js:235
at wp-langs-en.js:516
post.php:5330 Uncaught ReferenceError: tinymce is not defined
at Object.load_ext (post.php:5330)
at post.php:5341
backbone.min.js:2 Uncaught TypeError: Cannot read property ‘extend’ of undefined
at backbone.min.js:2
at backbone.min.js:2
at backbone.min.js:2
wp-util.min.js:2 Uncaught TypeError: Cannot read property ‘memoize’ of undefined
at wp-util.min.js:2
at wp-util.min.js:2
wp-backbone.min.js:2 Uncaught ReferenceError: Backbone is not defined
at wp-backbone.min.js:2
at wp-backbone.min.js:2
media-models.min.js:2 Uncaught TypeError: Cannot read property ‘extend’ of undefined
at Object.23 (media-models.min.js:2)
at r (media-models.min.js:2)
at Object.22 (media-models.min.js:2)
at r (media-models.min.js:2)
at media-models.min.js:2
at media-models.min.js:2
wp-plupload.min.js:1 Uncaught TypeError: Cannot read property ‘Attachments’ of undefined
at wp-plupload.min.js:1
at wp-plupload.min.js:1
media-views.min.js:2 Uncaught TypeError: Cannot set property ‘l10n’ of undefined
at Object.<anonymous> (media-views.min.js:2)
at o (media-views.min.js:2)
at Object.<anonymous> (media-views.min.js:2)
at o (media-views.min.js:2)
at media-views.min.js:2
at media-views.min.js:2
gallery-settings.min.js:5 Uncaught TypeError: Cannot read property ‘Settings’ of undefined
at gallery-settings.min.js:5
at gallery-settings.min.js:5
notes-common-v2.js:32 Uncaught ReferenceError: Backbone is not defined
at notes-common-v2.js:32
at notes-common-v2.js:158
admin-bar-v2.js:2 Uncaught ReferenceError: Backbone is not defined
at admin-bar-v2.js:2
acf-input.min.js:4 Uncaught TypeError: Cannot read property ‘autop’ of undefined
at acf.Model.onReady (acf-input.min.js:4)
at u (acf-input.min.js:1)
at Object.i (acf-input.min.js:1)
at Object.i.doAction (acf-input.min.js:1)
at HTMLDocument.<anonymous> (acf-input.min.js:1)
at i (load-scripts.php:2)
at Object.fireWith [as resolveWith] (load-scripts.php:2)
at Function.ready (load-scripts.php:2)
at HTMLDocument.J (load-scripts.php:2)The page I need help with: [log in to see the link]
- The topic ‘Syntax/Reference/Type Errors with JS – how to fix?’ is closed to new replies.