• Resolved Rookie

    (@alriksson)


    main.min.js?ver=2.1:1 Uncaught TypeError: Cannot read property ‘getElementsByTagName’ of undefined
    at Object.init (main.min.js?ver=2.1:1)
    at HTMLDocument.globalInit (main.min.js?ver=2.1:1)
    init @ main.min.js?ver=2.1:1
    globalInit @ main.min.js?ver=2.1:1
    https://tppr.me/7cdCB

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter Rookie

    (@alriksson)

    Check both and copied over the one I have on local still throwing error on local.

    and it has the div class you refer to.

    Thread Starter Rookie

    (@alriksson)

    but there is a lot unnecessary classes and divs that aren’t needed only if inherit more from the theme etc.

    Option to load and print slimmed HTML and css would be appreciated. Prefer to keep it clean and neat.

    Plugin Author LuckyWP

    (@theluckywp)

    Do not change the template if you are not sure it is correct.
    Return class to code.

    Thread Starter Rookie

    (@alriksson)

    The class is there same on my local and still cause issues.

    I agree but

    but there is a lot unnecessary classes and divs that aren’t needed only if inherit more from the theme etc.

    Option to load and print slimmed HTML and css would be appreciated. Prefer to keep it clean and neat.

    Plugin Author LuckyWP

    (@theluckywp)

    Now has class and no errors.
    You create problems for yourself.

    Thread Starter Rookie

    (@alriksson)

    Same file on local still errors though.

    But consider feature improvements of
    Cleaning css classes/selectors and divs that aren’t needed only if inherit more from the theme etc.

    Option to load and print slimmed HTML and css would be appreciated. Prefer to keep it clean and neat.

    I do still experience the errors and all other issues reported with the original file. The ID exclude together with the ID in the span I can unfortunately not play with so maybe better I stop using the plugin and stop bothering you ??

    Plugin Author LuckyWP

    (@theluckywp)

    I think is best solution ??

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Uncaught TypeError: Cannot read property’ is closed to new replies.