Opened 19 years ago
Closed 19 years ago
#3029 closed defect (bug) (fixed)
Always get "Sorry, no posts matched your criteria"
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0.4 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
I converted my 2.0 install to 2.0.4, and got an "Sorry, no posts matched your criteria" on all my views. I could access all my posts via the admin section, however.
I found a thread on the forums, and then found two lines in classes.php that caused 1) the query for posts to always be null and 2) the array of queried posts to always be null
I commented out the two offending lines, and all was well. I could not determine what those lines were actually supposed to do.
I documented my work at the forum thread: http://wordpress.org/support/topic/82632?replies=9
The lines in question are:
616: $where = apply_filters('posts_where', $where);
696: $this->posts = apply_filters('the_posts', $this->posts);
It turned out to be a mis-behaving plugin ("Adhesive") that worked on v2.0 but not 2.0.4