awesome-flickr-gallery-plugin
awesome-flickr-gallery-plugin copied to clipboard
Notice: Undefined variables
Can you please set default values for your variables you're using? Would be great :smile:
Notice: Undefined variable: rel in /.../awesome-flickr-gallery-plugin/index.php on line 380
Notice: Undefined index: slideshow_option in /../awesome-flickr-gallery-plugin/index.php on line 68
Here's a temporary fix for the slideshow_option notice:
In the index.php file around line 66, just after the opening of the foreach, add the following:
if ( empty( $gallery['slideshow_option'] ) || ! isset( $gallery['slideshow_option'] ) ) { break; }
That will get exit the foreach if that value is not set and prevent the "slideshow_option" notice.
I know how to fix this, it's just a suggestion for the developer of the plugin ;)
Hadn't seen these before. Will fix it in next update. Thanks for the feedback.