Strona głównaSery półtwarde- produkt sezonowy
string(531) "#0 /home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/inc/db/PdoDbDriver.php(37): PDO->prepare('select * from s...')
#1 /home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep/lista_produktow.inc.php(121): PdoDbDriver->executeQuery('select * from s...', Array)
#2 /home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep_normal.php(291): include_once('/home/am1x18121...')
#3 /home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep.php(14): include_once('/home/am1x18121...')
#4 {main}"
object(PDOException)#12 (8) {
["message":protected]=>
string(101) "SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'kolejnosc' in order clause is ambiguous"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
string(5) "23000"
["file":protected]=>
string(84) "/home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/inc/db/PdoDbDriver.php"
["line":protected]=>
int(37)
["trace":"Exception":private]=>
array(4) {
[0]=>
array(6) {
["file"]=>
string(84) "/home/am1x1812171225/domains/sklep.sery-kozie.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(137) "select * from sklepik_produkty as t1, sklepik_kat_prod_rel as t2 where t2.id_kat=:id_kat and t1.id_prod=t2.id_prod order by kolejnosc ASC"
}
}
[1]=>
array(6) {
["file"]=>
string(91) "/home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep/lista_produktow.inc.php"
["line"]=>
int(121)
["function"]=>
string(12) "executeQuery"
["class"]=>
string(11) "PdoDbDriver"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
&string(137) "select * from sklepik_produkty as t1, sklepik_kat_prod_rel as t2 where t2.id_kat=:id_kat and t1.id_prod=t2.id_prod order by kolejnosc ASC"
[1]=>
&array(1) {
[":id_kat"]=>
array(2) {
[0]=>
int(219)
[1]=>
string(3) "int"
}
}
}
}
[2]=>
array(4) {
["file"]=>
string(78) "/home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep_normal.php"
["line"]=>
int(291)
["args"]=>
array(1) {
[0]=>
string(91) "/home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep/lista_produktow.inc.php"
}
["function"]=>
string(12) "include_once"
}
[3]=>
array(4) {
["file"]=>
string(71) "/home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep.php"
["line"]=>
int(14)
["args"]=>
array(1) {
[0]=>
string(78) "/home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/sklep_normal.php"
}
["function"]=>
string(12) "include_once"
}
}
["previous":"Exception":private]=>
NULL
["errorInfo"]=>
array(3) {
[0]=>
string(5) "23000"
[1]=>
int(1052)
[2]=>
string(47) "Column 'kolejnosc' in order clause is ambiguous"
}
}
Fatal error: Call to a member function rowCount() on null in /home/am1x1812171225/domains/sklep.sery-kozie.pl/private_html/inc/db/PdoDbDriver.php on line 109