Viewing 15 replies - 1 through 15 (of 15 total)
  • Discussed many times before on this forum (still, thanks for the heads up πŸ˜‰ )… If you install the latest development version http://downloads.wordpress.org/plugin/easy-fancybox.zip you should not see any notices anymore. If you do, please let me know the exact notice and I’ll fix it πŸ™‚

    Eric

    (@erichassler)

    Hope I’m not hijacking here…

    I had an Undefined Index notice, too, so I installed the latest dev version (1.5.0dev10), as suggested. After modifying the transition behavior in Settings I got the following notices.

    Notice: Undefined variable: prc in /home1/supporz2/public_html/cpndev/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 407

    Notice: Undefined variable: prc in /home1/supporz2/public_html/cpndev/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 407

    Notice: Undefined variable: prc in /home1/supporz2/public_html/cpndev/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 407

    Warning: Cannot modify header information – headers already sent by (output started at /home1/supporz2/public_html/cpndev/wp-content/plugins/easy-fancybox/easy-fancybox-class.php:407) in /home1/supporz2/public_html/cpndev/wp-includes/pluggable.php on line 876

    episiarch

    (@digitalgypsy)

    Bump this… had the same problem with the admin page being littered with errors and installed the current development version on April 25, 2013, which fixed the initial problem, but ended up getting the same error as Eric…

    Notice: Undefined variable: prc in /path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Notice: Undefined variable: prc in /path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Notice: Undefined variable: prc in /path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Notice: Undefined variable: prc in /path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Warning: Cannot modify header information - headers already sent by (output started at /path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox-class.php:406) in /path/to/wp/wp-includes/pluggable.php on line 876
    episiarch

    (@digitalgypsy)

    In related news, this is what the plugin outputs into my site’s HTML…

    <!-- Easy FancyBox 1.3.4.9 using FancyBox 1.3.4 - RavanH (http://4visions.nl/en/wordpress-plugins/easy-fancybox/) -->
    <script type="text/javascript">
    /* <![CDATA[ */
    jQuery(document).ready(function($){
    var fb_timeout = null;
    var fb_opts = {<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
     'overlayShow' : true<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>80</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>80</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>80</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    , 'centerOnScroll' : true<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    , 'showCloseButton' : true<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    , 'showNavArrows' : true<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>80</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>80</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>80</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>81</b><br />
    , 'onCleanup' : <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>86</b><br />
    function() { if(fb_timeout) { window.clearTimeout(fb_timeout); fb_timeout = null; } } };<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>100</b><br />
    
    /* IMG */
    var fb_IMG_select = 'a[href$="..jpg"]:not(.nofancybox),a[href$="..JPG"]:not(.nofancybox),a[href$="..gif"]:not(.nofancybox),a[href$="..GIF"]:not(.nofancybox),a[href$="..png"]:not(.nofancybox),a[href$="..PNG"]:not(.nofancybox)';
    $(fb_IMG_select).addClass('fancybox').attr('rel', 'gallery');<br />
    <b>Notice</b>:  Undefined index: autoAttributeAlt in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>177</b><br />
    <br />
    <b>Notice</b>:  Undefined index: autoAttributeAlt in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>177</b><br />
    
    $('a.fancybox, area.fancybox').fancybox( $.extend({}, fb_opts, {<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
     'transitionIn' : 'elastic'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
    , 'easingIn' : 'easeOutBack'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
    , 'transitionOut' : 'elastic'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
    , 'easingOut' : 'easeInBack'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'opacity' : false<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'titleShow' : true<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
    , 'titlePosition' : 'over'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'titleFromAlt' : true<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
     }) );<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>100</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>100</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>100</b><br />
    
    /* YouTube */
    $('a[href*="youtube.com/"]:not(.nofancybox)')<br />
    <b>Notice</b>:  Undefined index: href-replace in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>119</b><br />
    .addClass('fancybox-youtube');
    $('a[href*="youtu.be/"]:not(.nofancybox)')<br />
    <b>Notice</b>:  Undefined index: href-replace in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>181</b><br />
    .addClass('fancybox-youtube');
    $('a.fancybox-youtube, area.fancybox-youtube').fancybox( $.extend({}, fb_opts, {<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
     'type' : <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>213</b><br />
    'iframe'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'width' : 640<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'height' : 390<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'padding' : 0<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'autoScale' : <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>213</b><br />
    false<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'titleShow' : false<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
    , 'titlePosition' : 'float'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'titleFromAlt' : true<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'onStart' : <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>213</b><br />
    function(selectedArray, selectedIndex, selectedOpts) { selectedOpts.href = selectedArray[selectedIndex].href.replace(new RegExp('youtu.be', 'i'), 'www.youtube.com/embed').replace(new RegExp('watch\\?v=([a-z0-9\_\-]+)(&|\\?)?(.*)', 'i'), 'embed/$1?version=3&$3') } }) );<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>100</b><br />
    
    /* Vimeo */
    $('a[href*="vimeo.com/"]:not(.nofancybox)')<br />
    <b>Notice</b>:  Undefined index: href-replace in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>119</b><br />
    .addClass('fancybox-vimeo');<br />
    <b>Notice</b>:  Undefined index: autoAttributeAlt in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>177</b><br />
    <br />
    <b>Notice</b>:  Undefined index: autoAttributeAlt in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>177</b><br />
    
    $('a.fancybox-vimeo, area.fancybox-vimeo').fancybox( $.extend({}, fb_opts, {<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: default in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
     'type' : <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>213</b><br />
    'iframe'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'width' : 640<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'height' : 360<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'padding' : 0<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'autoScale' : <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>213</b><br />
    false<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'titleShow' : false<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    <br />
    <b>Notice</b>:  Undefined index: noquotes in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>209</b><br />
    , 'titlePosition' : 'float'<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'titleFromAlt' : true<br />
    <b>Notice</b>:  Undefined index: id in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>206</b><br />
    <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>207</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>208</b><br />
    , 'onStart' : <br />
    <b>Notice</b>:  Undefined index: input in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>213</b><br />
    function(selectedArray, selectedIndex, selectedOpts) { selectedOpts.href = selectedArray[selectedIndex].href.replace(new RegExp('http://(www\.)?vimeo\.com/([0-9]+)(&|\\?)?(.*)', 'i'), 'http://player.vimeo.com/video/$2?$4') } }) );<br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>100</b><br />
    <br />
    <b>Notice</b>:  Undefined index: hide in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox.php</b> on line <b>100</b><br />
    
    /* Auto-click */
    $('#fancybox-auto').trigger('click');
    });
    /* ]]> */
    </script>

    Pretty sure it’s safe to say that these notices are what’s breaking the plugin.

    episiarch

    (@digitalgypsy)

    Is this plugin on GitHub? I can assist with debugging, since I’m going to do it anyway, and I need this for a client, like, yesterday.

    Hi, just upgrade to the dev version. You can find it on http://wordpress.org/extend/plugins/easy-fancybox/developers/ under Other Versions.

    If after upgrading, you still see any notices, please let me know.

    episiarch

    (@digitalgypsy)

    Just installed it… still getting this error when I try and save my settings…

    Notice: Undefined variable: prc in /Users/nick/Sites/adsknews/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Notice: Undefined variable: prc in /Users/nick/Sites/adsknews/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Notice: Undefined variable: prc in /Users/nick/Sites/adsknews/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Notice: Undefined variable: prc in /Users/nick/Sites/adsknews/wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 406
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/nick/Sites/adsknews/wp-content/plugins/easy-fancybox/easy-fancybox-class.php:406) in /Users/nick/Sites/adsknews/wp-includes/pluggable.php on line 876

    OK, thanks for the report πŸ™‚

    To get rid of it, edit that file and insert a new line 404 (before the closing ‘}’ ) with:

    $prc = '';

    OK, so that lets me save settings, but now it’s doing this:

    <b>Notice</b>:  Undefined index: href-replace in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox-class.php</b> on line <b>169</b>

    Here’s the complete output:

    <!-- Easy FancyBox 1.5.0dev11 using FancyBox 1.3.4 - RavanH (http://status301.net/wordpress-plugins/easy-fancybox/) -->
    <script type="text/javascript">
        /* <![CDATA[ */
        var fb_timeout = null;
        var fb_opts = { 'overlayShow' : true, 'hideOnOverlayClick' : true, 'showCloseButton' : true, 'centerOnScroll' : true, 'enableEscapeButton' : true, 'autoScale' : true };
        var easy_fancybox_handler = function(){
          /* IMG */
          var fb_IMG_select = 'a[href*=".jpg"]:not(.nofancybox), area[href*=".jpg"]:not(.nofancybox), a[href*=".gif"]:not(.nofancybox), area[href*=".gif"]:not(.nofancybox), a[href*=".png"]:not(.nofancybox), area[href*=".png"]:not(.nofancybox)';
          jQuery(fb_IMG_select).addClass('fancybox').attr('rel', 'gallery');
          jQuery('a.fancybox, area.fancybox, li.fancybox a:not(li.nofancybox a)').fancybox( jQuery.extend({}, fb_opts, { 'transitionIn' : 'elastic', 'easingIn' : 'easeOutBack', 'transitionOut' : 'elastic', 'easingOut' : 'easeInBack', 'opacity' : false, 'hideOnContentClick' : false, 'titleShow' : true, 'titlePosition' : 'over', 'titleFromAlt' : true, 'showNavArrows' : true, 'enableKeyboardNav' : true, 'cyclic' : false }) );
          /* YouTube */
          jQuery('a[href*="youtube.com/watch"]:not(.nofancybox), area[href*="youtube.com/watch"]:not(.nofancybox)').addClass('fancybox-youtube');
          jQuery('a[href*="youtu.be/"]:not(.nofancybox), area[href*="youtu.be/"]:not(.nofancybox)')<br />
          <b>Notice</b>:  Undefined index: href-replace in <b>/path/to/wp/wp-content/plugins/easy-fancybox/easy-fancybox-class.php</b> on line <b>169</b><br />
          .addClass('fancybox-youtube');
          jQuery('a.fancybox-youtube, area.fancybox-youtube, li.fancybox-youtube a:not(li.nofancybox a)').fancybox( jQuery.extend({}, fb_opts, { 'type' : 'iframe', 'width' : 640, 'height' : 390, 'padding' : 0, 'titleShow' : false, 'titlePosition' : 'float', 'titleFromAlt' : true, 'onStart' : function(selectedArray, selectedIndex, selectedOpts) { selectedOpts.href = selectedArray[selectedIndex].href.replace(new RegExp('youtu.be', 'i'), 'www.youtube.com/embed').replace(new RegExp('watch\\?(.*)v=([a-z0-9\_\-]+)(&|\\?)?(.*)', 'i'), 'embed/$2?$1$4') } }) );
          /* Vimeo */
          jQuery('a[href*="vimeo.com/"]:not(.nofancybox), area[href*="vimeo.com/"]:not(.nofancybox)').addClass('fancybox-vimeo');
          jQuery('a.fancybox-vimeo, area.fancybox-vimeo, li.fancybox-vimeo a:not(li.nofancybox a)').fancybox( jQuery.extend({}, fb_opts, { 'type' : 'iframe', 'width' : 640, 'height' : 360, 'padding' : 0, 'titleShow' : false, 'titlePosition' : 'float', 'titleFromAlt' : true, 'onStart' : function(selectedArray, selectedIndex, selectedOpts) { selectedOpts.href = selectedArray[selectedIndex].href.replace(new RegExp('http://(www\.)?vimeo\.com/([0-9]+)(&|\\?)?(.*)', 'i'), 'http://player.vimeo.com/video/$2?$4') } }) );
          /* Auto-click */
          jQuery('#fancybox-auto').trigger('click');
        }
        /* ]]> */
    </script>

    Ok, will have to take a look at this next week. Thanks for reporting πŸ™‚

    I have Version 1.5.0dev11 installed, I’m seeing this in the Chrome console window:
    Uncaught SyntaxError: Unexpected identifier

    on the same line there is a link to this line in the code:

    Notice: Undefined index: href-replace in easy-fancybox-class.php on line 169

    I downloaded the last veriosn 1.3.4.9 and I have this message when I activate it:
    Notice: Undefined index: id in /home/siteweb/domains/monsite.com/public_html/wp-content/plugins/easy-fancybox/easy-fancybox.php on line 349

    The message appear 9 times.

    A little suggestions: can you activate the WP_DEBUG mode on your test WordPress Installation, in order to get all errors? πŸ˜€

    PLEASE, read my first answer: Get the development version and tell me then if you still get notices.

    I promise I’ll get around to releasing that version as soon as I get some time to implement the needed WP 3.6 (read: jQuery 1.9) stuff in there…

    Yes I installed the development version and it work good, no more notice, thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WP_DEBUG Notice -> Undefined index’ is closed to new replies.