Support » Plugin: Simplest Gallery Plugin » Undefined elements from debug mode

  • Resolved aecorn

    (@aecorn)


    When setting the site to debug mode I get the errors below, Ive changed the theme to “twentyfifteen”, so I dont think its my themes fault. Is this an issue with the plugin’s core php-files?

    Notice: Undefined index: type in /wp-content/plugins/simplest-gallery/simplest-gallery.php on line 322
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 93
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 96
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 102
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 105
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 137
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 137
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 143
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 143
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 143
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 143
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 143
    
    Notice: Undefined variable: gallid in /wp-content/plugins/simplest-gallery/lightbox.php on line 143

    https://wordpress.org/plugins/simplest-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cleoni

    (@cleoni)

    Hello, thanks for telling us, this needs fixing.

    Please note, however, that notices are not strictly errors, just advices for a better code. They should be turned off in all production environments.

    It will be surely fixed in the next release, though.

    Plugin Author cleoni

    (@cleoni)

    After a quick inspection I have seen it was easy to fix, so I already did it.

    I have not released a new version but simply modified the current, so if you uninstall/reinstall the plugin it should be all fixed on your site too.

    Thanks for reporting this issue, you have been very helpful.

    Thank you for a quick fix!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined elements from debug mode’ is closed to new replies.