Database Error
-
Hello,
I’m getting the follow error above the front-end ‘create ticket’ form:
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 ost_ticket.status = 'open' GROUP BY ost_ticket.ticket_id ORDER BY ost_ticket' at line 5] SELECT ost_ticket.user_id,ost_ticket.number,ost_ticket.created, ost_ticket.updated, ost_ticket.ticket_id, ost_ticket.status,ost_ticket.isanswered,ost_ticket__cdata.subject,ost_ticket__cdata.priority_id, ost_department.dept_name FROM ost_ticket LEFT JOIN ost_ticket__cdata ON ost_ticket__cdata.ticket_id = ost_ticket.ticket_id INNER JOIN ost_department ON ost_department.dept_id = ost_ticket.dept_id WHERE ost_ticket.user_id = and ost_ticket.status = 'open' GROUP BY ost_ticket.ticket_id ORDER BY ost_ticket.ticket_id DESC LIMIT 0, 7
I’m still able to see the tickets though. Even on the form, I’m still able to use it to create a ticket. This error is just above it. The page is also stretched however. Any ideas?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Database Error’ is closed to new replies.