• Resolved polypolypoly

    (@polypolypoly)


    Hi,

    I am creating a template from scratch.
    I have no plugin except the Photoswipe Masonry one.
    I have just install it, activate it and create a gallery throw Worpdress Administration tool and then, insert it into a page (not article)
    Basically, just follow the install instruction.
    The “Masonry” work well, the display is fine but on click I am a JS error :
    Cannot read property ‘firstChild’ of undefined

    I have modify the JS call then here the JS call tree :

    Uncaught TypeError: Cannot read property 'firstChild' of undefined
    getChildByClass @ photoswipe.js?ver=4.5.3:66
    init @ photoswipe.js?ver=4.5.3:813
    (anonymous function) @ photoswipe-masonry.js?ver=4.5.3:62
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

    Any clue ?

    Thanks

    https://wordpress.org/plugins/photoswipe-masonry/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS "firstChild" error’ is closed to new replies.