Fatal error: Uncaught Exception:
- EC-MySQL-Error (1064):
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND orders_id != 0 ORDER BY orders_id DESC' at line 1
- EC-MySQL-Statement:
SELECT orders_id, source, source_id, date_added, UNIX_TIMESTAMP(date_added) AS time_added FROM customers_loyalty_points_history WHERE customers_id = AND orders_id != 0 ORDER BY orders_id DESC
- EC-MySQL-Function:
self::query
- EC-MySQL-Function called in:
1: Class Database::get in /www/htdocs/w00c6184/testshop/index.php on line 57 Args: (SELECT orders_id, source, source_id, date_added, UNIX_TIMESTAMP(date_added) AS time_added FROM customers_loyalty_points_history WHERE customers_id = AND orders_id != 0 ORDER BY orders_id DESC)
2: Class Database::query in /www/htdocs/w00c6184/testshop/includes/classes/Database.php on line 237 Args: (SELECT orders_id, source, source_id, date_added, UNIX_TIMESTAMP(date_added) AS time_added FROM customers_loyalty_points_history WHERE customers_id = AND orders_id != 0 ORDER BY orders_id DESC, (bool)true)