( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0000 | 375600 | {main}( ) | .../directory.php:0 |
2 | 0.2627 | 611032 | ActiveRecord\Model::find( 'all', ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'agenzie immobiliari', 2 => 'mi']] ) | .../directory.php:107 |
3 | 0.2634 | 616424 | ActiveRecord\Table->find( $options = ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'agenzie immobiliari', 2 => 'mi'], 'mapped_names' => []] ) | .../Model.php:1567 |
4 | 0.2634 | 617376 | ActiveRecord\Table->find_by_sql( $sql = 'SELECT * FROM `chiavi_province` WHERE chiave = ? AND provincia_short = ?', $values = [0 => 'agenzie immobiliari', 1 => 'mi'], $readonly = FALSE, $includes = NULL ) | .../Table.php:209 |
5 | 0.2634 | 617848 | ActiveRecord\Connection->query( $sql = 'SELECT * FROM `chiavi_province` WHERE chiave = ? AND provincia_short = ?', $values = [0 => 'agenzie immobiliari', 1 => 'mi'] ) | .../Table.php:218 |