Title: Broke WP Bakery Javascript
Last modified: October 10, 2019

---

# Broke WP Bakery Javascript

 *  Resolved [rumio](https://wordpress.org/support/users/rumio/)
 * (@rumio)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/)
 * Hi there,
 * Your plugin broke WP Bakery most Javascript effects. Even some buttons vanished.
   It took me around 2 hours to eventually find that the issue was with your plugin,
   not with the theme or WP Bakery. Once removed all started functioning normally.
 * Please check your plugin for compatibility issues with major plugins, so that
   others may not waste there so much time.
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbroke-wp-bakery-javascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12016813)
 * Hi, thanks for reporting this incompatibility.
 * Not sure why it should cause such problems though, unless WP Bakery is forcing
   its own jQuery library or something… Usually, it’s FancyBox that’s the first 
   to suffer from incompatibilities because it is just about the last script added
   in the footer.
 * There is a section for compatibility issues on Settings > Media where you can
   either deactivate jQuery inclusion or move the script position from footer to
   header or change its priority.
 * By the way, does WP Bakery not provide its own light box solution?
 *  [bolengreen](https://wordpress.org/support/users/bolengreen/)
 * (@bolengreen)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12103963)
 * We had the same issue with a conflict between WP Bakery and FancyBox. I altered
   the FancyBox script priority to be 1 and now everything is playing nice. HTH!
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12104012)
 * Hi [@bolengreen](https://wordpress.org/support/users/bolengreen/) thanks for 
   sharing that 🙂
 *  [phtimofeeff](https://wordpress.org/support/users/phtimofeeff/)
 * (@phtimofeeff)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12306203)
 * Good afternoon!
    Your plugin began to throw errors:
 * [Error] TypeError: currentOpts.onCleanup is not a function. (In ‘currentOpts.
   onCleanup(currentArray, currentIndex, currentOpts)’, ‘currentOpts.onCleanup’ 
   is undefined)
    _show (jquery.fancybox.js:387) _process_inline (jquery.fancybox.
   js:364) _start (jquery.fancybox.js:219) (anonymous function) (jquery.fancybox.
   js:947)
 * At the same time, “Inline content” stopped working
    Tell me what this may be 
   related to?
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12310307)
 * Hi [@phtimofeeff](https://wordpress.org/support/users/phtimofeeff/) are you using
   WP Bakery too? If not, please create a new topic here [https://wordpress.org/support/plugin/easy-fancybox/#new-topic-0](https://wordpress.org/support/plugin/easy-fancybox/#new-topic-0)
   and share a link to your site if you can 🙂
 *  [phtimofeeff](https://wordpress.org/support/users/phtimofeeff/)
 * (@phtimofeeff)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12311227)
 * You are right, I also have WP Bakery installed.
    But while I was waiting for 
   an answer, I already excluded it from the causes of errors. Now I turn off all
   other plugins and check who could influence the operation of Easy FancyBox in
   this way.
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12311410)
 * A link to your site would be very helpful 🙂
 *  [phtimofeeff](https://wordpress.org/support/users/phtimofeeff/)
 * (@phtimofeeff)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12315768)
 * I apologize.
    The problem turned out to be completely banal. In addition to WPBakery,
   my site also has the Visual Portfolio plugin installed. In this plugin, in the
   setup, Popup Gallery was set as Vendor Script – Fancybox instead of PhotoSwipe.
   Because of this, there was a conflict of plugins and script execution errors.
   Now everything works fine.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Broke WP Bakery Javascript’ is closed to new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

## Tags

 * [compatibility issues](https://wordpress.org/support/topic-tag/compatibility-issues/)

 * 8 replies
 * 2 participants
 * Last reply from: [phtimofeeff](https://wordpress.org/support/users/phtimofeeff/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/broke-wp-bakery-javascript/#post-12315768)
 * Status: resolved