Undefined index warning for lightbox_gallery_pages
-
On latest install (4.6.1) I get undefined index warning when running WordPress in debug mode:
Notice: Undefined index: lightbox_gallery_pages in /var/www/html/wp-content/plugins/lightbox-gallery/lightbox-gallery.php on line 84
This can be mitigated by opening that file, going to line 84 and changing it from this:
elseif ( $options['global_settings']['lightbox_gallery_pages'] && is_page() ) :
To this:
elseif ( isset($options['global_settings']['lightbox_gallery_pages']) && is_page() ) :
- The topic ‘Undefined index warning for lightbox_gallery_pages’ is closed to new replies.