WordPress.org

Ready to get started?Download WordPress

Forums

Responsive Gallery Grid
[resolved] Undefined variable. (6 posts)

  1. studiorusty
    Member
    Posted 1 year ago #

    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/

  2. Jules Colle
    Member
    Plugin Author

    Posted 1 year ago #

    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); ?>

  3. studiorusty
    Member
    Posted 1 year ago #

    Ok, that did the trick. Thank you!

  4. studiorusty
    Member
    Posted 1 year ago #

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

    define('WP_DEBUG', false);

  5. Jules Colle
    Member
    Plugin Author

    Posted 1 year ago #

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

  6. Jules Colle
    Member
    Plugin Author

    Posted 11 months ago #

    It should be fixed in the latest version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic