BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Header bug
- This topic has 13 replies, 3 contibutors, and was last updated 9 years, 5 months ago by Alyssa.
Question
May 25, 2015 at 9:25 am #40632@effluxJust 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,
BrettAnswers
May 25, 2015 at 5:37 pm #40645@alyssa-buddyboss
AlyssaParticipant@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?
May 25, 2015 at 7:40 pm #40646@effluxHey 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,
BrettMay 26, 2015 at 3:18 am #40649@effluxMore info: the error doesn’t appear when I’m logged in as an admin role.
May 26, 2015 at 7:31 pm #40666@alyssa-buddyboss
AlyssaParticipant@efflux can you verify this is not a plugin conflict by disabling all other plugins except BuddyPress?
May 28, 2015 at 8:41 am #40712@effluxDefinitely 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?
May 28, 2015 at 12:03 pm #40722@alyssa-buddyboss
AlyssaParticipant@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.
May 28, 2015 at 12:12 pm #40724@effluxwhoa.. 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?
May 29, 2015 at 1:20 pm #40756@alyssa-buddyboss
AlyssaParticipant@efflux I’ll add a note but I know our custom work department has a backlog of inquiries.
May 29, 2015 at 1:47 pm #40761@effluxOk, in the meantime.. do you have a few hosting providers you can recommend?
May 30, 2015 at 2:29 pm #40780@alyssa-buddyboss
AlyssaParticipant@efflux we recommend HostGator in this article: https://www.buddyboss.com/hosting/
But others would be BlueHost or SiteGroundJune 3, 2015 at 5:12 am #40882@johappelIf I not logged in,
same at me in line 1293 and 1298 Undefined offset: 1I use boss self hosted only with the buddypress plugin.
June 3, 2015 at 5:17 am #40885@johappelMay be little idea to fix:
$admin_bar_output = $admin_bar_output[0] . ( isset($admin_bar_output2[1])?$admin_bar_output2[1]:'' );
June 3, 2015 at 2:15 pm #40907@alyssa-buddyboss
AlyssaParticipantThis bug has been reported to our developers as a high priority
- The question ‘Header bug’ is closed to new replies.