• Resolved bjarkepetersen

    (@bjarkepetersen)


    Getting this error after i updated my woocommerce database.

    Uncaught TypeError: Cannot read property ‘getElementsByClassName’ of undefined
    at custom.min.js?ver=4.9.8:1
    at HTMLDocument.<anonymous> (custom.min.js?ver=4.9.8:1)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bjarkepetersen

    (@bjarkepetersen)

    i might have found the problem. my database is updated to 10.2.18-MariaDB-cll-lve

    but my page builder elementor is set to MariaDB Server v5.7.23

    how do i fix this ?

    I don’t think that’s the right track.

    The class name of the element that is being searched for is “header-search-box”. This is the default search box class name for your theme. That doesn’t exist on your site, hence the error. Instead you have replaced it with the elementor search box, and this has a different class name: “elementor_search_form__input”.

    Fixes would include:
    – removing the elementor search box and using the theme one
    – changing the theme’s custom.js. Javascript skills would be needed and any change will be overwritten by the next theme update.
    – reporting the issue on the eStore support forum, and suggest line 6 in custom css is rewritten so that it tests whether header-search-box exists, and exits quietly if it doesn’t. This would be a moment’s work for their developer. In this case you would need to wait for the next theme update.

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