#3759 closed defect (bug) (fixed)
Search Engine Space Bug
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.1.2 |
| Component: | General | Version: | 2.1 |
| Severity: | major | Keywords: | |
| Cc: |
Description
If you search for just a space using wordpress 2.1 you get the following DB error:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'privat' at line 1]
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND () AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'private')) ORDER BY post_date DESC LIMIT 0, 25
Attachments (1)
Change History (7)
comment:1
foolswisdom — 6 years ago
- Severity changed from normal to major
comment:2
foolswisdom — 6 years ago
- Version set to 2.1
Sorry I missed the similar problem.
This problem would be gone with the fix in #3722, that fix would be more general.
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Probably relates to #3722