JS Erros and no Display
-
Hello we have 2 errors on us site.
Uncaught ReferenceError: elementorSecondaryScreenReaderText is not defined
at initElementorSecondaryNavigation (editor.min.js:210)
at editor.min.js:240
at editor.min.js:378
at editor.min.js:501Uncaught TypeError: Cannot read property ‘querySelector’ of null
at cbpHorizontalSlideOutMenu._init (frontend.min.js:408)
at new cbpHorizontalSlideOutMenu (frontend.min.js:398)
at frontend.min.js:499
at frontend.min.js:501
at frontend.min.js:503How can we correct the error?
-
Same issue here as well!
editor.min.js?ver=1.1.2:210 Uncaught ReferenceError: elementorSecondaryScreenReaderText is not defined
at initElementorSecondaryNavigation (editor.min.js?ver=1.1.2:210)
at editor.min.js?ver=1.1.2:240
at editor.min.js?ver=1.1.2:378
at editor.min.js?ver=1.1.2:501frontend.min.js?ver=1.1.2:408 Uncaught TypeError: Cannot read property ‘querySelector’ of null
at cbpHorizontalSlideOutMenu._init (frontend.min.js?ver=1.1.2:408)
at new cbpHorizontalSlideOutMenu (frontend.min.js?ver=1.1.2:398)
at frontend.min.js?ver=1.1.2:499
at frontend.min.js?ver=1.1.2:501
at frontend.min.js?ver=1.1.2:503Please check whether
elementorSecondaryScreenReaderText
and then assign totext: elementorSecondaryScreenReaderText.expand
because in edit mode it won’t set text right? Same thing goes to the second error as well, please check element exists or not and then call the functionHello @oliverhees and @ravimallya,
Please make sure you’re using the latest version of the plugin. If you still get these error please let us know.
Same issue and the “Three Line Menu Navicon” render as square
jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
frontend.min.js?ver=1.1.2:408 Uncaught TypeError: Cannot read property ‘querySelector’ of null
at cbpHorizontalSlideOutMenu._init (frontend.min.js?ver=1.1.2:408)
at new cbpHorizontalSlideOutMenu (frontend.min.js?ver=1.1.2:398)
at frontend.min.js?ver=1.1.2:499
at frontend.min.js?ver=1.1.2:501
at frontend.min.js?ver=1.1.2:503- This reply was modified 6 years, 1 month ago by diegooli.
I’m having the same error. This is the error log of Firefox console when I edit any content with Elementor editor:
ReferenceError: elementorSecondaryScreenReaderText is not defined editor.min.js:210:7 initElementorSecondaryNavigation ReferenceError: Modernizr is not defined frontend.min.js:407:5 _init cbpHorizontalSlideOutMenu
Here’s more info to Learn More about this error.
- This reply was modified 6 years, 1 month ago by danescobar.
Im having this:
Uncaught TypeError: Cannot read property ‘querySelector’ of null
at cbpHorizontalSlideOutMenu._init (frontend.min.js?ver=1.1.6:408)
at new cbpHorizontalSlideOutMenu (frontend.min.js?ver=1.1.6:398)
at frontend.min.js?ver=1.1.6:499
at frontend.min.js?ver=1.1.6:501
at frontend.min.js?ver=1.1.6:503and using the lastest version of the plugin.
Please help!
Hi @mariaferraro, @danescobar, @diegooli, @ravimallya, @oliverhees
I’ve reported this bug to our developers and will be resolved as soon as possible.
Sorry for the inconvenience.
I have this same problem. Maybe that’s why I can not save Header, Footer and Page templates with the PRO version. I’m worried and I need to continue my work.
This happens when accessing the site:
frontend.min.js?ver=1.1.6:408 Uncaught TypeError: Cannot read property ‘querySelector’ of null
at cbpHorizontalSlideOutMenu._init (frontend.min.js?ver=1.1.6:408)
at new cbpHorizontalSlideOutMenu (frontend.min.js?ver=1.1.6:398)
at frontend.min.js?ver=1.1.6:499
at frontend.min.js?ver=1.1.6:501
at frontend.min.js?ver=1.1.6:503
_init @ frontend.min.js?ver=1.1.6:408
cbpHorizontalSlideOutMenu @ frontend.min.js?ver=1.1.6:398
(anonymous) @ frontend.min.js?ver=1.1.6:499
(anonymous) @ frontend.min.js?ver=1.1.6:501
(anonymous) @ frontend.min.js?ver=1.1.6:503This happens if I try to save a header/footer/page template:
common.min.js?ver=2.5.14:2
elementor.modules.views.ControlsStack
is deprecated since 2.4.0 – UseelementorModules.editor.views.ControlsStack
instead
value @ common.min.js?ver=2.5.14:2
get ControlsStack @ editor.min.js?ver=2.5.14:2
4 @ editor.min.js?ver=2.0.9:2
i @ editor.min.js?ver=2.0.9:2
(anonymous) @ editor.min.js?ver=2.0.9:2
41.elementor-pro/editor/inline-controls-stack.js @ editor.min.js?ver=2.0.9:2
i @ editor.min.js?ver=2.0.9:2
(anonymous) @ editor.min.js?ver=2.0.9:2
showConditionsModal @ editor.min.js?ver=2.0.9:2
onClickButtonPublish @ editor.min.js?ver=2.0.9:2
dispatch @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.1.1:4
r.handle @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.1.1:4
common.min.js?ver=2.5.14:2elementor.modules.elements.models.BaseSettings
is deprecated since 2.4.0 – UseelementorModules.editor.elements.models.BaseSettings
instead
value @ common.min.js?ver=2.5.14:2
get BaseSettings @ editor.min.js?ver=2.5.14:2
showConditionsModal @ editor.min.js?ver=2.0.9:2
onClickButtonPublish @ editor.min.js?ver=2.0.9:2
dispatch @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.1.1:4
r.handle @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.1.1:4
VM181:8 Uncaught TypeError: Cannot read property ‘add’ of undefined
at eval (eval at s.template (load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.1.1:1), <anonymous>:8:19)
at i (load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.1.1:1)
at Object.render (backbone.marionette.min.js?ver=2.4.5:22)
at N.d._renderTemplate (backbone.marionette.min.js?ver=2.4.5:23)
at N.d.render (backbone.marionette.min.js?ver=2.4.5:23)
at N.d.renderChildView (backbone.marionette.min.js?ver=2.4.5:22)
at N.d._addChildView (backbone.marionette.min.js?ver=2.4.5:22)
at N.d.addChild (backbone.marionette.min.js?ver=2.4.5:22)
at N.d.<anonymous> (backbone.marionette.min.js?ver=2.4.5:22)
at load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.1.1:1Uncaught TypeError: Cannot read property ‘querySelector’ of null
This error occured, because your jquery file is loaded at the top of page, and your element is not loaded yet.
So jquery cannot find element by querySelector.
You have to fix this problem with loading jquery at the foot of file
- The topic ‘JS Erros and no Display’ is closed to new replies.