#1484 closed defect (bug) (worksforme)
Fatal error
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.0 | Priority: | high |
Severity: | major | Version: | |
Component: | General - Integration | Keywords: | reporter-feedback |
Cc: | nightgunner5@… |
Description
There is a conflict between bbPress and WP_Query.
An error shows after I installed the bbPress plugin: Fatal error: Call to a member function get() on a non-object in C:\xampp\htdocs\wordpress10\wp-includes\query.php on line 27
In the WordPress theme I have something like this:
$args=array( 'cat' => $wpimpress_cat->cat_ID, 'posts_per_page' => 1 ); $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query($args); if( have_posts() ) : while ($wp_query->have_posts()) : $wp_query->the_post(); //loop!!!! endwhile; endif; $wp_query = $temp; wp_reset_query();
Change History (3)
#2
@
14 years ago
- Keywords reporter-feedback added
- Resolution set to worksforme
- Status changed from new to closed
Please try re-installing WordPress and bbPress with all other plugins deactivated.
#3
@
14 years ago
@Nightgunner5 it appears on all pages, I created a new ticket please take a look here: http://trac.bbpress.org/ticket/1493
Note: See
TracTickets for help on using
tickets.
What page does this error appear on?