Notice: Undefined index: pagina in D:\Inetpub\vhosts\nanacunha.com.br\httpdocs\posts.php on line 20
object(PDOException)#6 (8) {
["message":protected]=>
string(208) "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 '-4,4' at line 1"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
string(5) "42000"
["file":protected]=>
string(57) "D:\Inetpub\vhosts\nanacunha.com.br\httpdocs\functions.php"
["line":protected]=>
int(54)
["trace":"Exception":private]=>
array(2) {
[0]=>
array(6) {
["file"]=>
string(57) "D:\Inetpub\vhosts\nanacunha.com.br\httpdocs\functions.php"
["line"]=>
int(54)
["function"]=>
string(7) "execute"
["class"]=>
string(12) "PDOStatement"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[1]=>
array(6) {
["file"]=>
string(53) "D:\Inetpub\vhosts\nanacunha.com.br\httpdocs\posts.php"
["line"]=>
int(28)
["function"]=>
string(12) "getPostsSite"
["class"]=>
string(10) "configSite"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
int(-4)
}
}
}
["previous":"Exception":private]=>
NULL
["errorInfo"]=>
array(3) {
[0]=>
string(5) "42000"
[1]=>
int(1064)
[2]=>
string(152) "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 '-4,4' at line 1"
}
}