| ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '\'approved\' AND po_number<>\'N/A\' AND id NOT IN (SELECT po_id FROM grn_entries' at line 1 in C:\wamp\www\__tmp.php on line 4 | ||||
|---|---|---|---|---|
| ( ! ) PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '\'approved\' AND po_number<>\'N/A\' AND id NOT IN (SELECT po_id FROM grn_entries' at line 1 in C:\wamp\www\__tmp.php on line 4 | ||||
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0003 | 354792 | {main}( ) | ...\__tmp.php:0 |
| 2 | 0.0145 | 401032 | query( $query = 'SELECT po_number,supplier_name,purpose,amount,currency,uploaded_at,combined_pdf_path FROM purchase_orders WHERE final_approval_status=\\\'approved\\\' AND po_number<>\\\'N/A\\\' AND id NOT IN (SELECT po_id FROM grn_entries) ORDER BY uploaded_at DESC', $fetchMode = ??? ) | ...\__tmp.php:4 |