Search Results for 'bbpress'
-
Search Results
-
Fatal error: Uncaught Error: [] operator not supported for strings in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /customers/c/b/5/weeting.net/httpd.www/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp.php(735): WP->query_posts() #7 /customers/c/b/5/weeting.net/httpd.www/wp-includes/functions.php(955): WP->main(”) #8 in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
plz what to do .
tnxTopic: Displaying problems
Hello,
I’ve a Problem on my Forum bbPress
https://dl.dropboxusercontent.com/1/view/o9k47soq2y0by1p/Apps/Shutter/capture_150.jpgAny idea why ?
many thx
Hi, after the upgrade to WP 4.7.5 in the panels of Awesome Support (a plugin which uses post type) I get this error:
Warning: in_array() expects parameter 2 to be array, null given in /home/thenewsl/public_html/wp-content/plugins/bbpress/includes/common/functions.php on line 1446
with bbPress 2.5.12. On that line bbPress check a provate variable of $wp assuming it should be an array. Probably Awesome Support forces in some way that variable to not be an array. Anyway probably bbPress should add a check “is_array()”.
Here the line of commonn/functions.php
if ( in_array( ‘post_parent__in’, $wp->private_query_vars ) )
I’ve changed it to
if ( is_array($wp->private_query_vars) && in_array( ‘post_parent__in’, $wp->private_query_vars ) )
to remove the warning.
Thank you, Stefano.
Topic: API for bbPress forum?
Hello there!
1.)
I am trying to have 3 way access to bbPress forum:
– open access to some topics
– closed access to some topics only registered and logedin users can see
– closed access to some topics with direct URL access (i would call it from windows application with predifined user/pass combination, so user does not need to login in in web page as this infor would be somehow sent over URL); needed for FAQ directly from windows app2.)
Is there multi levet access for registered users?
So I can asign some closed (registered only) topics to some registered users only (not all registered)? Idea is to give access to topics with paid content and every user has access only to topics he has paid.Thank a lot in advance for help!
Topic: bbp_author_metabox error
Hi bb Team,
I found a bug, maybe, on bbpress ver.: 2.5.12 if I use action bbp_author_metabox
I try to add some user info on metabox but if I call this:
add_action('bbp_author_metabox', array($this, 'bbp_author_details')); function bbp_author_details($post_id) { echo "<p>Test</p>"; }in html code I’ve this on start tag:
`<p>Test</p><!DOCTYPE html>
<!–[if IE 8]>`and on the right place:
<div id="bbp_author_metabox" class="postbox " > <button type="button" class="handlediv button-link" aria-expanded="true"><span class="screen-reader-text">Commuta il pannello: Informazioni autore</span><span class="toggle-indicator" aria-hidden="true"></span></button><h2 class='hndle'><span>Informazioni autore</span></h2> <div class="inside"> <p> <strong class="label">ID:</strong> <label class="screen-reader-text" for="bbp_author_id">ID</label> <input type="text" id="bbp_author_id" name="post_author_override" value="xxxxx" data-ajax-url="xxxx" /> </p> <p> <strong class="label">IP:</strong> <label class="screen-reader-text" for="bbp_author_ip_address">Indirizzo IP</label> <input type="text" id="bbp_author_ip_address" name="bbp_author_ip_address" value="xxxxxx" disabled="disabled" /> </p> <p>Test</p></div> </div>I found that do_action( ‘bbp_author_metabox’, get_the_ID() ) it’s called twice:
-on author_metabox function (bbpress/includes/admin/topics.php)
-on bbp_author_metabox function (bbpress/includes/admin/metaboxes.php)
-on author_metabox function (bbpress/includes/admin/replies.php)This cause html error code.
I think it’s name error on bbpress/includes/admin/topics.php and should be do_action( ‘bbp_author_attributes_metabox’, get_the_ID() );
Thank you
DavidHi. I’m using the bbpress private groups plugin and it seems to be causing problems with my blog. I get a 500 error when I try to add a new blog post, and it also gives an error when I try to save or publish a pre-existing draft. Is there anything I can do about that? I don’t want to lose my private forums because there are different groups on the site that need their own spaces.
Thanks!
I have added wp-media button in bbpress topi form, I want to cancel while uploading any big file.
Please help….
…Topic: 500: post_status no array
Hey guys,
I get a 500 error after the latest update:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/vhosts/<url>/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /var/www/vhosts/<url>/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /var/www/vhosts<url>/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /var/www/vhosts/<url>/wp-includes/clas...'ln 1800 looks like this:
$post_stati = $posts_query->get( 'post_status' ); // Default to public status if ( empty( $post_stati ) ) { $post_stati[] = bbp_get_public_status_id(); // Split the status string } elseif ( is_string( $post_stati ) ) { $post_stati = explode( ',', $post_stati ); }could be fixed by forcing the array:
$post_stati = $posts_query->get( 'post_status' ); if (!is_array($post_stati)){ $post_stati = array($post_stati); } // Default to public status if ( empty( $post_stati ) ) { $post_stati[] = bbp_get_public_status_id(); // Split the status string } elseif ( is_string( $post_stati ) ) { $post_stati = explode( ',', $post_stati ); }side note: wp version 4.7.4, bbpress version 2.5.12
Thanks in advance,
TobyTopic: BBPress and Woocommerce
Hi,
Sorry if this gets posted in the wrong place.
I am looking at setting up a marketplace forum. When users signup to the forum is their a way of giving them a storefront linked to their profile.
Shabir
Hi,
When I click on notify me that time I am getting notification of my comments only when someone commenting on my replies it is not sending me an email that so and so person replied on my comment. Here on bbpress.org when we check on “Notify me of follow-up replies via email” then it works perfectly like this functionality I want on my site.
Please advice me.