Okay
  Public Ticket #1555059
JS error
Closed

Comments

  •  1
    aligg73 started the conversation

    Hi,

    I have installed the "Weathy" content pack and have enabled sticky header in the header settings.

    So far so good. When I try and add a logo in Logo Settings (within Sticky Header) and visit the page, it is not working.

    I therefore checked the JS console (using Chrome Dev Tools) and noticed this error:

    main.min.js?ver=2.3.3:13 Uncaught TypeError: Cannot read property '$el' of null
        at StickyHeader.logoSwitchTween (main.min.js?ver=2.3.3:13)
        at StickyHeader.switchToLogo (main.min.js?ver=2.3.3:13)
        at StickyHeader.setupScenes (main.min.js?ver=2.3.3:13)
        at StickyHeader.init (main.min.js?ver=2.3.3:12)
        at new StickyHeader (main.min.js?ver=2.3.3:12)
        at HTMLDocument.<anonymous> (main.min.js?ver=2.3.3:13)
        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)
    StickyHeader.logoSwitchTween @ main.min.js?ver=2.3.3:13
    StickyHeader.switchToLogo @ main.min.js?ver=2.3.3:13
    StickyHeader.setupScenes @ main.min.js?ver=2.3.3:13
    StickyHeader.init @ main.min.js?ver=2.3.3:12
    StickyHeader @ main.min.js?ver=2.3.3:12
    (anonymous) @ main.min.js?ver=2.3.3:13
    i @ jquery.js?ver=1.12.4:2
    fireWith @ jquery.js?ver=1.12.4:2
    ready @ jquery.js?ver=1.12.4:2
    K @ jquery.js?ver=1.12.4:2


    I'd like that resolved as this way, the Sticky Header with Logo will not work.

  • [deleted] replied

    Hi Alex,

    Can you please upload your logo once more on those two places (Video: https://d.pr/v/Oy9ElE) and this issue should be solved.

    Thanks and have a great weekend!

  •  1
    aligg73 replied

    Hi Arlind,

    Unfortunately this did not help. I did exactly what you mentioned, adding the logo in those 2 places, but the error remains and the Sticky header does not show up.


    Alex

  • [deleted] replied

    Can you please share your Wordpress and FTP credentials here, because I need to login to your site and test your issue. Your information is safe here (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

    Thanks and have a great weekend!

  •   aligg73 replied privately
  • [deleted] replied

    Hi there,

    Problem is now solved. The problem was happening because you haven't attached any logo on the Branding area.

    Have a nice weekend!

  •  1
    aligg73 replied

    Thank you