Issue with BBP STYLE PACK
-
Within the topics list of my forums I’m seeing the following error;
Notice: Undefined index: post_id in /home/deanljbi/enviroforum.net/beta/wp-content/plugins/bbp-private-groups/includes/functions.php on line 455
Anyone know how to fix this issue?
Wordpress version Version 4.9.1
Active plugins;
Akismet Anti-Spam Version 4.0.2
All in one Favicon Version 4.6
bbP private groups Version 3.6.4
bbp style pack Version 3.7.4
bbPress Version 2.5.13
Contact Form 7 Version 4.9.2
Cookie Consent Version 2.3.7
Download Manager Version 2.9.61
Frontend Publishing Pro Version 3.7.0
Hide Admin Bar Version 0.3.9.1
Malicious Checker Version 1.2.7
Page Builder by SiteOrigin Version 2.5.14
Recycle Theme Plugin Version 1.7
SiteOrigin Widgets Bundle Version 1.11.0
Slider Revolution Version 5.4.6.3.1
String Locator Version 2.3.0
The Events Calendar Version 4.6.4
The Events Calendar PRO Version 4.4.16
The Events Calendar: Community Events Version 4.4.1
The Events Calendar: Filter Bar Version 4.4
UserPro Version 4.9.18.2The page I need help with: [log in to see the link]
-
The issue is actually with the bbP private groups plugin, but I’m author of that also, so I’ll take a look
can you post a link to a page that has this error?
Sorry about that, I posted the wrong error.
The Style Pack errors are;
Notice: Undefined variable: role in /home/deanljbi/enviroforum.net/beta/wp-content/plugins/bbp-style-pack/includes/functions.php on line 742
Notice: Undefined variable: roledisplay in /home/deanljbi/enviroforum.net/beta/wp-content/plugins/bbp-style-pack/includes/functions.php on line 745However, these ONLY appear when a new topic/reply is posted.
The Private Groups error (as shown below) appears on all forums at https://enviroforum.net/beta/forums/forum/general-forums
Notice: Undefined index: post_id in /home/deanljbi/enviroforum.net/beta/wp-content/plugins/bbp-private-groups/includes/functions.php on line 455
great – thanks – I’ll take a look tomorrow – I’m on uk time, so off to bed !!
Hey Robin,
Thanks for looking into this. If there’s anything you need to know/look at, feel free to let me know.
(In Wales so on UK time too)
Cheerios,
Deanok, I’ve taken an initial look.
For all errors, you are seeing these because there is only one super sticky topic and no normal topics. I should allow for that but haven’t so I need to fix these.
For Private groups I have worked out the issue.
For style pack, I need to check some settings you have
Can you go into
dashboard>settings>bbp style pack>plugin information
can you click -‘copy to clipboard’ and then paste the results here.
thanks
Information from BBP Style Pack;
Plugin Information
WP version 4.9.2
Theme enviroforum 6.0.1
PHP version 5.6.33
bbPress version 2.5.14-6684
site url https://enviroforum.net/beta
Active Plugins Name and Version
– p1 Akismet Anti-Spam 4.0.2
– p2 All in one Favicon 4.6
– p3 bbP private groups 3.6.4
– p4 bbp style pack 3.7.4
– p5 bbPress 2.5.14
– p6 Contact Form 7 4.9.2
– p7 Download Manager 2.9.61
– p8 The Events Calendar PRO 4.4.16
– p9 Frontend Publishing Pro 3.7.0
– p10 Hide Admin Bar 0.3.9.1
– p11 Malicious Checker 1.2.7
– p12 Recycle Theme Plugin 1.7
– p13 Slider Revolution 5.4.6.3.1
– p14 Page Builder by SiteOrigin 2.5.14
– p15 SiteOrigin Widgets Bundle 1.11.0
– p16 String Locator 2.3.0
– p17 The Events Calendar: Community Events 4.4.1
– p18 The Events Calendar: Filter Bar 4.4
– p19 The Events Calendar 4.6.4
– p20 Cookie Consent 2.3.7
– p21 UserPro 4.9.18.2
Variable
bsp_style_settings_f a:44:{s:43:”Forum ContentBackground color – odd numbers”;s:7:”#ffffff”;s:43:”Forum ContentBackground image – odd numbers”;s:0:””;s:44:”Forum ContentBackground color – even numbers”;s:7:”#e0e0e0″;s:44:”Forum ContentBackground image – even numbers”;s:0:””;s:43:”Forum/Topic Headers/FootersBackground Color”;s:0:””;s:43:”Forum/Topic Headers/FootersBackground Image”;s:0:””;s:23:”Forum Headings FontSize”;s:4:”16px”;s:24:”Forum Headings FontColor”;s:0:””;s:23:”Forum Headings FontFont”;s:0:””;s:24:”Forum Headings FontStyle”;s:0:””;s:19:”Breadcrumb FontSize”;s:0:””;s:20:”Breadcrumb FontColor”;s:0:””;s:19:”Breadcrumb FontFont”;s:0:””;s:20:”Breadcrumb FontStyle”;s:0:””;s:15:”LinksLink Color”;s:7:”#009eed”;s:18:”LinksVisited Color”;s:7:”#009eed”;s:16:”LinksHover Color”;s:7:”#009eed”;s:32:”Forum and Category List FontSize”;s:4:”15px”;s:32:”Forum and Category List FontFont”;s:0:””;s:33:”Forum and Category List FontStyle”;s:4:”Bold”;s:23:”Sub Forum List FontSize”;s:0:””;s:23:”Sub Forum List FontFont”;s:0:””;s:24:”Sub Forum List FontStyle”;s:0:””;s:26:”Forum Description FontSize”;s:4:”15px”;s:27:”Forum Description FontColor”;s:7:”#000000″;s:26:”Forum Description FontFont”;s:0:””;s:27:”Forum Description FontStyle”;s:0:””;s:18:”Freshness FontSize”;s:0:””;s:18:”Freshness FontFont”;s:0:””;s:19:”Freshness FontStyle”;s:0:””;s:25:”Freshness Author FontSize”;s:0:””;s:25:”Freshness Author FontFont”;s:0:””;s:26:”Freshness Author FontStyle”;s:0:””;s:22:”Forum BorderLine width”;s:3:”1px”;s:22:”Forum BorderLine style”;s:0:””;s:17:”Forum BorderColor”;s:7:”#009eed”;s:20:”Topic Count FontSize”;s:0:””;s:21:”Topic Count FontColor”;s:0:””;s:20:”Topic Count FontFont”;s:0:””;s:21:”Topic Count FontStyle”;s:0:””;s:19:”Post Count FontSize”;s:0:””;s:20:”Post Count FontColor”;s:0:””;s:19:”Post Count FontFont”;s:0:””;s:20:”Post Count FontStyle”;s:0:””;}
bsp_style_settings_ti
bsp_style_settings_t
bsp_style_settings_la
bsp_style_settings_form
bsp_profile
bsp_forum_display a:6:{s:14:”move_subscribe”;s:1:”1″;s:16:”create_new_topic”;s:1:”1″;s:28:”Create New Topic Description”;s:0:””;s:21:”add_forum_description”;s:1:”1″;s:17:”forum-description”;s:1:”1″;s:25:”forum_descriptionlocation”;s:1:”0″;}
bsp_login
bsp_breadcrumb
bsp_templates a:1:{s:8:”template”;s:1:”1″;}
bsp_css
bsp_style_settings_freshness a:10:{s:12:”heading_name”;s:12:”Last updated”;s:10:”show_title”;s:1:”1″;s:9:”show_date”;s:1:”1″;s:9:”show_name”;s:1:”1″;s:11:”show_avatar”;s:1:”1″;s:11:”date_format”;s:1:”2″;s:10:”date_order”;s:1:”0″;s:14:”date_separator”;s:4:” at “;s:15:”bsp_date_format”;s:5:”d/m/Y”;s:15:”bsp_time_format”;s:3:”H:i”;}
bsp_style_settings_unreadRoles
bsp_roles a:63:{s:25:”all_roleswhere_to_display”;s:1:”0″;s:29:”all_rolesbefore_username_left”;s:1:”0″;s:10:”removeline”;s:1:”1″;s:17:”bbp_keymastername”;s:21:”Network Administrator”;s:17:”bbp_keymastertype”;s:1:”2″;s:18:”bbp_keymasterimage”;s:0:””;s:25:”bbp_keymasterimage_height”;s:0:””;s:24:”bbp_keymasterimage_width”;s:0:””;s:23:”bbp_keymasterfont_color”;s:7:”#ffffff”;s:17:”bbp_keymasterfont”;s:0:””;s:22:”bbp_keymasterfont_size”;s:0:””;s:23:”bbp_keymasterfont_style”;s:0:””;s:29:”bbp_keymasterbackground_color”;s:7:”#0d841b”;s:17:”bbp_moderatorname”;s:14:”Community Team”;s:17:”bbp_moderatortype”;s:1:”2″;s:18:”bbp_moderatorimage”;s:0:””;s:25:”bbp_moderatorimage_height”;s:0:””;s:24:”bbp_moderatorimage_width”;s:0:””;s:23:”bbp_moderatorfont_color”;s:7:”#ffffff”;s:17:”bbp_moderatorfont”;s:0:””;s:22:”bbp_moderatorfont_size”;s:0:””;s:23:”bbp_moderatorfont_style”;s:0:””;s:29:”bbp_moderatorbackground_color”;s:7:”#d17530″;s:19:”bbp_participantname”;s:17:”Registered Member”;s:19:”bbp_participanttype”;s:1:”2″;s:20:”bbp_participantimage”;s:0:””;s:27:”bbp_participantimage_height”;s:0:””;s:26:”bbp_participantimage_width”;s:0:””;s:25:”bbp_participantfont_color”;s:7:”#ffffff”;s:19:”bbp_participantfont”;s:0:””;s:24:”bbp_participantfont_size”;s:0:””;s:25:”bbp_participantfont_style”;s:0:””;s:31:”bbp_participantbackground_color”;s:7:”#1e73be”;s:17:”bbp_spectatorname”;s:9:”Spectator”;s:17:”bbp_spectatortype”;s:1:”5″;s:18:”bbp_spectatorimage”;s:0:””;s:25:”bbp_spectatorimage_height”;s:0:””;s:24:”bbp_spectatorimage_width”;s:0:””;s:23:”bbp_spectatorfont_color”;s:0:””;s:17:”bbp_spectatorfont”;s:0:””;s:22:”bbp_spectatorfont_size”;s:0:””;s:23:”bbp_spectatorfont_style”;s:0:””;s:29:”bbp_spectatorbackground_color”;s:0:””;s:15:”bbp_blockedname”;s:16:”Member Suspended”;s:15:”bbp_blockedtype”;s:1:”2″;s:16:”bbp_blockedimage”;s:0:””;s:23:”bbp_blockedimage_height”;s:0:””;s:22:”bbp_blockedimage_width”;s:0:””;s:21:”bbp_blockedfont_color”;s:7:”#ffffff”;s:15:”bbp_blockedfont”;s:0:””;s:20:”bbp_blockedfont_size”;s:0:””;s:21:”bbp_blockedfont_style”;s:0:””;s:27:”bbp_blockedbackground_color”;s:7:”#9e2121″;s:16:”topic_authorname”;s:0:””;s:16:”topic_authortype”;s:1:”0″;s:17:”topic_authorimage”;s:0:””;s:24:”topic_authorimage_height”;s:0:””;s:23:”topic_authorimage_width”;s:0:””;s:22:”topic_authorfont_color”;s:0:””;s:16:”topic_authorfont”;s:0:””;s:21:”topic_authorfont_size”;s:0:””;s:22:”topic_authorfont_style”;s:0:””;s:28:”topic_authorbackground_color”;s:0:””;}
css location https://enviroforum.net/beta/wp-content/plugins/bbp-style-pack/css/
With the topics, would there be any difference to note that these are sticky and not super sticky?
yes & no I need to fix the issue so that it doesn’t occur in any circumstances – it is not something that you are doing wrongly 🙂
Okay.
If you need access, please feel free to let me know.
I’ve released new versions of private groups and style pack.
Can you update and test if these remove the errors, and report back
Thanks
Robin
The updates fixed both errors.
The only issue I’m facing is the styles used at https://enviroforum.net/beta/forums/
If you take a look at the freshness columns they’re different to the last forum/category.
I’d like to show the users as the one displayed on General discussion.
I’d like to show the users as the one displayed on General discussion.
do you mean with then tick and role?
If so, I don’t actually know how you are doing that – seems to be user-pro related?
I’ve put in a support request with userpro however, the following is only shown for that forum;
<div class="bsp-author-bbp_keymaster">Network Administrator</div>I saw that, but nothing in my code calls that as far as I can see.
The code is a filter on bbpress, so would display if say user-pro called the bbpress function.
What is strange is that it appears just on that forum.
If you want to give me access, then contact me via the contact page on my website
I can then have a look at why that might be the case
The topic ‘Issue with BBP STYLE PACK’ is closed to new replies.