Support » Plugin: Responsive Gallery Grid » Undefined variable.

  • Resolved studiorusty

    (@studiorusty)


    Hello,

    I have just installed the plugin, which is great by the way but on my live server I get this Notice and I dont know how to fix it.

    The error is: Notice: Undefined variable: type in /home/beachwed/public_html/wp-content/plugins/responsive-gallery-grid/gallerygrid.php on line 46

    Can someone help me? Thank you!

    http://wordpress.org/extend/plugins/responsive-gallery-grid/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Thanks, will try to fix this in the next update. For now you’d better disable PHP notifications by adding this on top of your functions.php file:
    <?php error_reporting(E_ALL ^ E_NOTICE); ?>

    studiorusty

    (@studiorusty)

    Ok, that did the trick. Thank you!

    studiorusty

    (@studiorusty)

    Update: That actualy broke my website, I’ve restored my functions and set debug to fals in wp-config.php.

    define(‘WP_DEBUG’, false);

    Plugin Author Jules Colle

    (@jules-colle)

    Good to know. Looks like the correct way is to change it in wp-config.php indeed. I wasn’t aware of that option.

    Plugin Author Jules Colle

    (@jules-colle)

    It should be fixed in the latest version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Undefined variable.’ is closed to new replies.