Zarejestruj się / Zaloguj
Wartość zakupów: 0.00 zł
Koszyk

Kawy

Strona głównaKawy

string(499) "#0 /home/am1x1612121426/domains/bellabis.pl/private_html/inc/db/PdoDbDriver.php(37): PDO->prepare('select * from s...')
#1 /home/am1x1612121426/domains/bellabis.pl/private_html/sklep/lista_produktow.inc.php(121): PdoDbDriver->executeQuery('select * from s...', Array)
#2 /home/am1x1612121426/domains/bellabis.pl/private_html/sklep_normal.php(302): include_once('/home/am1x16121...')
#3 /home/am1x1612121426/domains/bellabis.pl/private_html/sklep.php(14): include_once('/home/am1x16121...')
#4 {main}"
object(PDOException)#13 (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(76) "/home/am1x1612121426/domains/bellabis.pl/private_html/inc/db/PdoDbDriver.php"
  ["line":protected]=>
  int(37)
  ["trace":"Exception":private]=>
  array(4) {
    [0]=>
    array(6) {
      ["file"]=>
      string(76) "/home/am1x1612121426/domains/bellabis.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(83) "/home/am1x1612121426/domains/bellabis.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(204)
            [1]=>
            string(3) "int"
          }
        }
      }
    }
    [2]=>
    array(4) {
      ["file"]=>
      string(70) "/home/am1x1612121426/domains/bellabis.pl/private_html/sklep_normal.php"
      ["line"]=>
      int(302)
      ["args"]=>
      array(1) {
        [0]=>
        string(83) "/home/am1x1612121426/domains/bellabis.pl/private_html/sklep/lista_produktow.inc.php"
      }
      ["function"]=>
      string(12) "include_once"
    }
    [3]=>
    array(4) {
      ["file"]=>
      string(63) "/home/am1x1612121426/domains/bellabis.pl/private_html/sklep.php"
      ["line"]=>
      int(14)
      ["args"]=>
      array(1) {
        [0]=>
        string(70) "/home/am1x1612121426/domains/bellabis.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/am1x1612121426/domains/bellabis.pl/private_html/inc/db/PdoDbDriver.php on line 109