WordPress.org

Forums

BP External Group Blogs
Causes WP Admin bar to disappear (10 posts)

  1. maineyak
    Member
    Posted 2 years ago #

    On a single events page, it causes the WP Admin bar at top to disappear. It doesn't happen on the pages with the lists of groups, only on a single group page. I disabled all plugins and found this to be the cause of it.

    http://wordpress.org/extend/plugins/external-group-blogs/

  2. jonnylons
    Member
    Posted 2 years ago #

    I'm having the same issue. Only on an individual group page. It makes the admin bar at the top disappear and I am getting the following error:

    Fatal error: Cannot redeclare _bp_groupblogs_refetch() (previously declared in /home/content/78/6443778/html/marlinsnation/wp-content/plugins/external-group-blogs/bp-groups-externalblogs.php:190) in /home/content/78/6443778/html/marlinsnation/wp-content/plugins/external-group-blogs/bp-groups-externalblogs.php on line 189

  3. wilfil
    Member
    Posted 2 years ago #

    Same issue here - I've checked with several other sites running the plugin and it appears they are having same problem - any news on a solution please?

  4. Lemmy
    Member
    Posted 2 years ago #

    A temporary solution is to make sure that the function is not redeclared:

    if ( !function_exists( '_bp_groupblogs_refetch' ) ){
        		function _bp_groupblogs_refetch() {
        			global $bp; ?>
        			<script type="text/javascript">
        				jQuery(document).ready( function() {
        					jQuery.post( ajaxurl, {
        						action: 'refetch_groupblogs',
        						'cookie': encodeURIComponent(document.cookie),
        						'group_id': <?php echo $bp->groups->current_group->id ?>
        					});
        				});
        			</script><?php
        			groups_update_groupmeta( $bp->groups->current_group->id, 'bp_groupblogs_lastupdate', gmdate( "Y-m-d H:i:s" ) );
        		}
    }

    However, I don't see the _bp_groupblogs_refetch() function being called at all from anywhere. Certainly the javascript it writes is not showing up on any of my pages.
    Perhaps someone else has an idea if this code is actually functional?

  5. valuser
    Member
    Posted 2 years ago #

    ditto. great plugin. any news? @Lemmy ---> temporary solution gives white screen.

  6. valuser
    Member
    Posted 2 years ago #

    Just to clarify.

    Have now tried this with bp default theme WP 3.5.1, BP 1.7-beta 2, bbPress 2.3-beta 2
    no other plugins.

    Admin bar contents replaced by empty white bar.

  7. vechnost
    Member
    Posted 2 years ago #

    Please help me also. i have a similar problem. I have WP 3.5.1 + BP last edition. Admin bar disappeared for all non registered users...
    Checked with other BP and WP default themes = the same problem. I think its problem WP itself. Please check my site and give me any suggestions.

  8. vechnost
    Member
    Posted 2 years ago #

    In my case admin bar disappeared at all for all non registered users. Any idea?

  9. vechnost
    Member
    Posted 2 years ago #

    admin bar disappeared across entire site i mean for all non registered users

  10. valuser
    Member
    Posted 1 year ago #

    Version: 1.2.3 (on wp 3.5.2 and bp 1.7.2) appears to have fixed this.

    Many thanks,Devs.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP External Group Blogs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags