PDO Connection Error: 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 '' at line 1
Error Code: #0
Source File: /home/serafim/public_html/libraries/OF/core/general/DBO.php
line 29Backtrace
File: /home/serafim/public_html/controls/pages/produtos.php
line 44DBO::execSQL(select id_categoria from categorias where tipo = 1 and id_sub_categoria = );Show Source Code
File: /home/serafim/public_html/libraries/OF/core/general/Controls.php
line 53include_once(
/home/serafim/public_html/controls/pages/produtos.php);
Show Source Code
File: /home/serafim/public_html/libraries/OF/core/general/FrontController.php
line 83Oraculum_Controls->LoadPage(produtos,produtosmadeiramoveis-em-madeiraba);Show Source Code
File: /home/serafim/public_html/index.php
line 32Oraculum_FrontController->start();Show Source Code