( ! ) Fatal error: Uncaught ActiveRecord\DatabaseException: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'chiave' in 'where clause' in /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php:309 Stack trace: #0 /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php(309): PDOStatement->execute() #1 /var/www/paginesi.it/lib/php-activerecord/lib/Table.php(218): ActiveRecord\Connection->query() #2 /var/www/paginesi.it/lib/php-activerecord/lib/Table.php(209): ActiveRecord\Table->find_by_sql() #3 /var/www/paginesi.it/lib/php-activerecord/lib/Model.php(1567): ActiveRecord\Table->find() #4 /var/www/paginesi.it/directory.php(107): ActiveRecord\Model::find() #5 {main} in /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php on line 312
( ! ) ActiveRecord\DatabaseException: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'chiave' in 'where clause' in /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php:309 Stack trace: #0 /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php(309): PDOStatement->execute() #1 /var/www/paginesi.it/lib/php-activerecord/lib/Table.php(218): ActiveRecord\Connection->query() #2 /var/www/paginesi.it/lib/php-activerecord/lib/Table.php(209): ActiveRecord\Table->find_by_sql() #3 /var/www/paginesi.it/lib/php-activerecord/lib/Model.php(1567): ActiveRecord\Table->find() #4 /var/www/paginesi.it/directory.php(107): ActiveRecord\Model::find() #5 {main} in /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php on line 312
Call Stack
#TimeMemoryFunctionLocation
10.0001375584{main}( ).../directory.php:0
20.2630611080ActiveRecord\Model::find( 'all', ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'tatuaggi', 2 => 'at']] ).../directory.php:107
30.2638616472ActiveRecord\Table->find( $options = ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'tatuaggi', 2 => 'at'], 'mapped_names' => []] ).../Model.php:1567
40.2638617424ActiveRecord\Table->find_by_sql( $sql = 'SELECT * FROM `chiavi_province` WHERE chiave = ? AND provincia_short = ?', $values = [0 => 'tatuaggi', 1 => 'at'], $readonly = FALSE, $includes = NULL ).../Table.php:209
50.2638617896ActiveRecord\Connection->query( $sql = 'SELECT * FROM `chiavi_province` WHERE chiave = ? AND provincia_short = ?', $values = [0 => 'tatuaggi', 1 => 'at'] ).../Table.php:218