Fatal error: Uncaught Exception: PDO Error: SQLSTATE[42000]: Syntax error or access violation: 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 '' at line 1 Query: SELECT * FROM ezs_marca WHERE id= in /home/biocentro/public_html/myapp/plugins/tinymvc_miodb.php:529
Stack trace:
#0 /home/biocentro/public_html/myapp/plugins/tinymvc_miodb.php(476): TinyMVC_MIODB->_query('SELECT * FROM e...', NULL, 2, 2)
#1 /home/biocentro/public_html/myapp/models/catalogo_model.php(28): TinyMVC_MIODB->query_all('SELECT * FROM e...')
#2 /home/biocentro/public_html/myapp/controllers/catalogo.php(62): Catalogo_Model->getCategoria(NULL)
#3 /home/biocentro/public_html/tinymvc/sysfiles/TinyMVC.php(119): Catalogo_Controller->prodotto()
#4 /home/biocentro/public_html/index.php(48): tmvc->main()
#5 {main}
thrown in /home/biocentro/public_html/myapp/plugins/tinymvc_miodb.php on line 529