string(502) "#0 /home/am1x1802061330/domains/pilmetpower.pl/private_html/inc/db/PdoDbDriver.php(37): PDO->prepare('select t1.id_pr...')
#1 /home/am1x1802061330/domains/pilmetpower.pl/private_html/modules/adwords.inc.php(126): PdoDbDriver->executeQuery('select t1.id_pr...', Array)
#2 /home/am1x1802061330/domains/pilmetpower.pl/private_html/index1_normal.php(299): include('/home/am1x18020...')
#3 /home/am1x1802061330/domains/pilmetpower.pl/private_html/index1.php(14): include_once('/home/am1x18020...')
#4 {main}"
object(PDOException)#5 (8) {
["message":protected]=>
string(279) "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 t1.id_prod=t2.id_prod group by t1.id_prod order by t2.kolejnosc DESC' at line 1"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
string(5) "42000"
["file":protected]=>
string(79) "/home/am1x1802061330/domains/pilmetpower.pl/private_html/inc/db/PdoDbDriver.php"
["line":protected]=>
int(37)
["trace":"Exception":private]=>
array(4) {
[0]=>
array(6) {
["file"]=>
string(79) "/home/am1x1802061330/domains/pilmetpower.pl/private_html/inc/db/PdoDbDriver.php"
["line"]=>
int(37)
["function"]=>
string(7) "prepare"
["class"]=>
string(3) "PDO"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(207) "select t1.id_prod, t1.parametry from sklepik_produkty as t1, sklepik_kat_prod_rel as t2 where t1.status = :status and t2.id_kat in () and t1.id_prod=t2.id_prod group by t1.id_prod order by t2.kolejnosc DESC"
}
}
[1]=>
array(6) {
["file"]=>
string(80) "/home/am1x1802061330/domains/pilmetpower.pl/private_html/modules/adwords.inc.php"
["line"]=>
int(126)
["function"]=>
string(12) "executeQuery"
["class"]=>
string(11) "PdoDbDriver"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
&string(207) "select t1.id_prod, t1.parametry from sklepik_produkty as t1, sklepik_kat_prod_rel as t2 where t1.status = :status and t2.id_kat in () and t1.id_prod=t2.id_prod group by t1.id_prod order by t2.kolejnosc DESC"
[1]=>
&array(1) {
[":status"]=>
array(2) {
[0]=>
int(1)
[1]=>
string(6) "string"
}
}
}
}
[2]=>
array(4) {
["file"]=>
string(74) "/home/am1x1802061330/domains/pilmetpower.pl/private_html/index1_normal.php"
["line"]=>
int(299)
["args"]=>
array(1) {
[0]=>
string(80) "/home/am1x1802061330/domains/pilmetpower.pl/private_html/modules/adwords.inc.php"
}
["function"]=>
string(7) "include"
}
[3]=>
array(4) {
["file"]=>
string(67) "/home/am1x1802061330/domains/pilmetpower.pl/private_html/index1.php"
["line"]=>
int(14)
["args"]=>
array(1) {
[0]=>
string(74) "/home/am1x1802061330/domains/pilmetpower.pl/private_html/index1_normal.php"
}
["function"]=>
string(12) "include_once"
}
}
["previous":"Exception":private]=>
NULL
["errorInfo"]=>
array(3) {
[0]=>
string(5) "42000"
[1]=>
int(1064)
[2]=>
string(223) "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 t1.id_prod=t2.id_prod group by t1.id_prod order by t2.kolejnosc DESC' at line 1"
}
}
Fatal error: Call to a member function rowCount() on null in /home/am1x1802061330/domains/pilmetpower.pl/private_html/inc/db/PdoDbDriver.php on line 109