( ! ) 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.0001 | 375584 | {main}( ) | .../directory.php:0 |
2 | 0.2630 | 611080 | ActiveRecord\Model::find( 'all', ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'tatuaggi', 2 => 'at']] ) | .../directory.php:107 |
3 | 0.2638 | 616472 | ActiveRecord\Table->find( $options = ['select' => '*', 'conditions' => [0 => 'chiave = ? AND provincia_short = ?', 1 => 'tatuaggi', 2 => 'at'], 'mapped_names' => []] ) | .../Model.php:1567 |
4 | 0.2638 | 617424 | ActiveRecord\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 |
5 | 0.2638 | 617896 | ActiveRecord\Connection->query( $sql = 'SELECT * FROM `chiavi_province` WHERE chiave = ? AND provincia_short = ?', $values = [0 => 'tatuaggi', 1 => 'at'] ) | .../Table.php:218 |