Debug_die from api/public/api.php : 2918
Array
(
[0] => 42000
[1] => 1064
[2] => 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 'LIMIT 1' at line 7
[sql] =>
SELECT
image
FROM
ticket_defs
WHERE
ticket_type_id =
LIMIT 1
)
SELECT
image
FROM
ticket_defs
WHERE
ticket_type_id =
LIMIT 1
CALLSTACK
- include/class/EPdb.php:193
- include/class/EPdb.php:169
- api/public/api.php:2918
- api/upload/image.php:38
- /home/ethicalt/manage.ethicaltickets.org/public_html/getimage.php:19