Title: [Plugin: FancyBox for WordPress] Warning when WP_DEBUG is enabled
Last modified: August 20, 2016

---

# [Plugin: FancyBox for WordPress] Warning when WP_DEBUG is enabled

 *  [Andy Keith](https://wordpress.org/support/users/andykeith/)
 * (@andykeith)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-fancybox-for-wordpress-warning-when-wp_debug-is-enabled/)
 * Hi,
 * Just a quick note to say that there’s a warning generated when you enable WP_DEBUG
   in wp-config.php. Line 189 I think in fancybox.php – just need to declare $loadAtFooter
   before it’s used, e.g:
 *     ```
       $loadAtFooter = false;
       if ($settings['loadAtFooter']) $loadAtFooter = true;
       ..etc..
       ```
   
 * Andy
 * [http://wordpress.org/extend/plugins/fancybox-for-wordpress/](http://wordpress.org/extend/plugins/fancybox-for-wordpress/)

The topic ‘[Plugin: FancyBox for WordPress] Warning when WP_DEBUG is enabled’ is
closed to new replies.

 * ![](https://ps.w.org/fancybox-for-wordpress/assets/icon-256x256.jpg?rev=1864321)
 * [FancyBox for WordPress](https://wordpress.org/plugins/fancybox-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fancybox-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fancybox-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/fancybox-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fancybox-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fancybox-for-wordpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Andy Keith](https://wordpress.org/support/users/andykeith/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-fancybox-for-wordpress-warning-when-wp_debug-is-enabled/)
 * Status: not resolved