• Resolved mdoody

    (@mdoody)


    Uncaught TypeError: Cannot read property ‘querySelector’ of null
    at cbpHorizontalSlideOutMenu._init (VM826 frontend.min.js:408)
    at new cbpHorizontalSlideOutMenu (VM826 frontend.min.js:398)
    at VM826 frontend.min.js:499
    at VM826 frontend.min.js:501
    at VM826 frontend.min.js:503

    There is a js error causing my navmenu mobile icon to not be clickable.

    cbpHorizontalSlideOutMenu.prototype = {

    defaults : {},
    _init : function() {
    var el;
    this.current = -1;
    this.touch = Modernizr.touch;
    this.menu = this.el.querySelector( ‘.cbp-hsmenu’ );
    this.menuItems = this.el.querySelectorAll( ‘.cbp-hsmenu > li’ );
    this.menuBg = document.createElement( ‘div’ );
    this.menuBg.className = ‘cbp-hsmenubg’;
    this.el.appendChild( this.menuBg );
    this._initEvents();
    },

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Poonam Namdev

    (@poonam9)

    Hi @mdoody,

    This is a known bug and already reported to our developers. It will be resolved as soon as possible.

    Sorry for the inconvenience.

    Any updates here? I’m getting the same issue on v. 1.1.6.

    Hello,

    Same issue since upgrading plugin from 1.1.5 to 1.16 :

    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

    Plugin Support Poonam Namdev

    (@poonam9)

    Hi @agilitic

    We are working on this issue. In the meantime, you can roll back to the previous version of this plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uncaught TypeError: Cannot read property ‘querySelector’ of null’ is closed to new replies.