( ! ) Fatal error: Uncaught PDOException: 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 '? AND public_status=? AND ativo=? AND isUsed=1 ORDER BY id DESC LIMIT 0 , 1000' at line 1 in /home2/pdaon/public_html/nerdpress/functions/class_database.php on line 96
( ! ) PDOException: 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 '? AND public_status=? AND ativo=? AND isUsed=1 ORDER BY id DESC LIMIT 0 , 1000' at line 1 in /home2/pdaon/public_html/nerdpress/functions/class_database.php on line 96
Call Stack
#TimeMemoryFunctionLocation
10.0001360416{main}( ).../loader-site.php:0
20.0018677656require_once( '/home2/pdaon/public_html/produtos-categoria.php ).../loader-site.php:144
30.0028680560Modulo_Base->getList( $pag = 0, $limit = 1000, $tabela = 'mdl_Modulo1153', $campos = [0 => 'selectcampo_14251_marca', 1 => 'selectcampo_14252_categoria'], $valores = [0 => 8, 1 => NULL], $orderBy = ??? ).../produtos-categoria.php:24
40.0028681352DataBase->selectPrepared( $tblname = 'mdl_Modulo1153', $condNames = [0 => 'selectcampo_14251_marca', 1 => 'selectcampo_14252_categoria', 2 => 'public_status', 3 => 'ativo'], $condValues = [0 => 8, 1 => NULL, 2 => 'publicado', 3 => '1'], $fields = '*', $orderByField = 'id DESC', $limitResults = '0 , 1000' ).../modulo_base.php:138
50.0028682304DataBase->preparedQuery( $sql = 'SELECT * FROM mdl_Modulo1153 WHERE selectcampo_14251_marca=? AND selectcampo_14252_categoria is ? AND public_status=? AND ativo=? AND isUsed=1 ORDER BY id DESC LIMIT 0 , 1000', $condValues = [0 => 8, 1 => NULL, 2 => 'publicado', 3 => '1'], $fetchResult = ??? ).../class_database.php:233
60.0029682304prepare( $query = 'SELECT * FROM mdl_Modulo1153 WHERE selectcampo_14251_marca=? AND selectcampo_14252_categoria is ? AND public_status=? AND ativo=? AND isUsed=1 ORDER BY id DESC LIMIT 0 , 1000' ).../class_database.php:96