Support » Plugin: BuddyPress Group Tags » Error that needs solving please.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Steve

    (@steveatbluemarble)

    line 170 should be:
    "SELECT meta_value FROM %d WHERE meta_key = 'gtags_group_tags' ", $bp->groups->table_name_groupmeta) );

    Thank @steve
    I hope Author this plugin will have update

    Have the above error message (exactly as @whiteeagle1985 reports) on local installs (XAMPP) and on one host server.

    Yet on another host server, the plugin works absolutely perfectly.

    Have tried the solution offered by @steve (thanks) .

    It does prevent the error message from appearing.

    However the plugin no longer functions.

    Thread Starter Nathan Pinno

    (@whiteeagle1985)

    I’d rather have a functioning plugin. 😉

    +1

    Though and I’m only guessing – it may have something to do with the software versions that the host servers are running as it is functioning perfectly on one server yet a mirror (test) site on another host server throws the error as do my local installs.

    My previous speculation would seem to be incorrect.

    Because on some local installs this error does NOT occur and the plugin appears to work correctly.

    However it remains the case that on other local installs (as well as on one hosted site) the error still occurs.

    Yet the installs appear to have the same configuration (but it must not actually be the case)

    Quite baffling. Will examine further.

    I have 1000’s in php log saying:

    Sep 17, 08:44:35 PHP Warning: Creating default object from empty value in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/buddypress-group-tags/bp-group-tags.php on line 23
    Sep 17, 08:44:35 PHP Warning: Creating default object from empty value in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/buddypress-group-tags/bp-group-tags.php on line 24

    @maddegmcewan, hi.
    Try replacing the bp_gtags_setup_globals function of buddypress-group-tags/bp-group-tags.php with the following

    function bp_gtags_setup_globals() {
        global $bp;
        if (!isset($bp->gtags) || !is_object($bp->gtags)) {
            $bp->gtags = new stdClass();
        }
        if (!isset($bp->gtags->id) || !is_object($bp->gtags->id)) {
            $bp->gtags->id = new stdClass;
        }
        $bp->gtags->id = 'gtags';
        if (!isset($bp->gtags->slug) || !is_object($bp->gtags->slug)) {
            $bp->gtags->slug = new stdClass;
        }
        $bp->gtags->slug = 'tag';
    }

    The above is based on http://buddypress.trac.wordpress.org/ticket/4191 about PHP 5.4

    Thanks for fix

    tried it.

    Afraid i did not work for me.

    but more mysterious is why on some local instals and not on others ?

    @valuser hi.
    It has to do with the php version and the error reporting settings in each installation.
    Maybe this can help
    http://stackoverflow.com/questions/9983286/disabling-strict-standards-in-php-5-4

    Hi Forum.
    I have the same problem and I’ve tried all the suggestions here but not luck. Pity as this is the only plugin that would offer some classification/ sorting of groups if you planning on allowing lots of user generated groups on your buddypress install. Hope the plugin author give it another look.
    Thanks

    I have got the plugin somewhat working with the diff I posted in another topic:

    http://wordpress.org/support/topic/cloud-tag-urls-not-working

    Give it a try. It may work for you too.

    Plugin Author Dwenaus

    (@dwenaus)

    this is resolved in the latest version of the plugin: 2.1

    Thread Starter Nathan Pinno

    (@whiteeagle1985)

    So far it appears to be working on Canuck Gamers, I’ll be adding it to my other sites and watching for errors.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Error that needs solving please.’ is closed to new replies.