SQL error
SELECT
*
FROM
app_router AS t1
LEFT JOIN
mod_products_categories as t2 ON t1.item_id = t2.id
WHERE
t1.table_name = 'mod_products_categories'
AND t2.id = ?
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 '?' at line 9