Support » Plugin: Cleaner Gallery » [Plugin: Cleaner Gallery] PHP warning

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can work around the warning by adding this at line 83 (for plugin version 0.9.2):

    if ( !$cleaner_gallery ) {
                    $cleaner_gallery = new stdClass;
            }

    All it does is create an instance of an empty object that the settings will be cached in, if it doesn’t already exist.

    Didn’t work

    The error disappeared, but the images don’t appear.

    Haven’t seen that behaviour, but I can’t see any way it would be related to the warning (or the fix for it): all the cleaner_gallery_get_setting method does is cache the settings that were in the database. You might want to start a new topic, though, since it’s a different bug than what you reported above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Cleaner Gallery] PHP warning’ is closed to new replies.