Viewing 14 posts - 1 through 14 (of 14 total)
  • Question

    #40632
    @efflux

    Just installed Boss, and getting this error across all pages:

    Notice: Undefined offset: 1 in /nas/wp/www/…/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1293

    Can I get a fix on this when you have a sec?

    Cheers,
    Brett

    Answers

    #40645

    Alyssa
    Participant
    @alyssa-buddyboss

    @efflux the line this corresponds to does not make sense. Are you able to find this line in your theme-functions.php file and post it here? Any other errors in the error log to help narrow this down? If you disable all other plugins except BuddyPress do you still have the issue? Possibly any wptoolbar plugins?

    #40646
    @efflux

    Hey TJ,

    No problem.. it just look likes a PHP issue with the variable $admin_bar_output2 (related to the admin bar nodes)

    I think it might be that the variable is not set.. maybe something to do with my WP settings?

    line 1293 is: $admin_bar_output = $admin_bar_output[0].$admin_bar_output2[1];

    If I comment out 1293, the error jumps to 1298 (also $admin_bar_output2).

    Anyway.. happy to screenshare with you to show the issue.

    Cheers,
    Brett

    #40649
    @efflux

    More info: the error doesn’t appear when I’m logged in as an admin role.

    #40666

    Alyssa
    Participant
    @alyssa-buddyboss

    @efflux can you verify this is not a plugin conflict by disabling all other plugins except BuddyPress?

    #40712
    @efflux

    Definitely not a plugin.. I tried all of that. Even when I deactivate my child theme it still persists. It’s interesting that it only occurs for logged out users and non-admins.

    I’m on WPEngine if that’s of any use.

    Oh also, I contacted you guys a couple times regarding custom development, but never heard anything back. Can I get in touch with someone?

    #40722

    Alyssa
    Participant
    @alyssa-buddyboss

    @efflux that explains a lot. We do not support WPEngine. They have custom setups and extreme limits on activity and DB queries. I wouldn’t be surprised if they also had limits on the adminbar. WPEngine claims to support BuddyPress but the limit heartbeat from WordPress and is wreaks havok on websites. I would advise you change hosting providers.

    #40724
    @efflux

    whoa.. really? Damn, I need to chat with you guys, stat! I’ve never heard of wpengine limiting queries or activity though. Overall, they seem pretty solid.. other than the time to first byte issue I’ve been experiencing.

    Boss is by far the best BP theme on the market, so I’m more inclined to go with your recommendations anyway.

    Can you find my custom work inquiry and contact me today/tomorrow?

    #40756

    Alyssa
    Participant
    @alyssa-buddyboss

    @efflux I’ll add a note but I know our custom work department has a backlog of inquiries.

    #40761
    @efflux

    Ok, in the meantime.. do you have a few hosting providers you can recommend?

    #40780

    Alyssa
    Participant
    @alyssa-buddyboss

    @efflux we recommend HostGator in this article: https://www.buddyboss.com/hosting/
    But others would be BlueHost or SiteGround

    #40882
    @johappel

    If I not logged in,
    same at me in line 1293 and 1298 Undefined offset: 1

    I use boss self hosted only with the buddypress plugin.

    #40885
    @johappel

    May be little idea to fix:

    
    $admin_bar_output = $admin_bar_output[0] . 
      ( isset($admin_bar_output2[1])?$admin_bar_output2[1]:'' );
    
    #40907

    Alyssa
    Participant
    @alyssa-buddyboss

    This bug has been reported to our developers as a high priority

Viewing 14 posts - 1 through 14 (of 14 total)
  • The question ‘Header bug’ is closed to new replies.