( ! ) 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.2628611232ActiveRecord\Model::find( 'all', ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'arredamenti', 2 => 'an']] ).../directory.php:107
30.2636616624ActiveRecord\Table->find( $options = ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'arredamenti', 2 => 'an'], 'mapped_names' => []] ).../Model.php:1567
40.2636617576ActiveRecord\Table->find_by_sql( $sql = 'SELECT * FROM `chiavi_province` WHERE chiave = ? AND provincia_short = ?', $values = [0 => 'arredamenti', 1 => 'an'], $readonly = FALSE, $includes = NULL ).../Table.php:209
50.2636618048ActiveRecord\Connection->query( $sql = 'SELECT * FROM `chiavi_province` WHERE chiave = ? AND provincia_short = ?', $values = [0 => 'arredamenti', 1 => 'an'] ).../Table.php:218