Support » Plugin: FancyBox for WordPress » Error: property ‘title’ of undefined

  • Resolved SinusPi

    (@sinuspi)


    On newer jQuery, the plugin may not work – it relies on jQuery().context (looking for .title there) which has been deprecated and removed. The JavaScript error that occurs is “can’t access property ‘title’ of undefined”.

    To get it to work, you’ll need to edit fancybox.php and replace “jQuery(this).context.title” with “document.title”. It’s a bandaid, but it worked for me.

Viewing 1 replies (of 1 total)
  • Plugin Support mplusb

    (@mplusb)

    Hello @sinuspi,

    Thank you so much for letting us know about this!
    I have opened a ticket on GitHub regarding this and we will address it in a next update.

    Thank you,
    Mihaela

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.