[Exception] 1054: Unknown column ‘photos.est_aff_electro’ in ‘order clause’ (42S22)
SQL source code: SELECT SQL_CALC_FOUND_ROWS `photos`.* FROM `electrotheque_repertoire`.`photos` JOIN `electrotheque_repertoire`.`photo_bio_ponts` ON (`photos`.`photo_clef` = `photo_bio_ponts`.`photo_clef` AND ( `photo_bio_ponts`.`bio_clef` = ‘coulombesaintmarcou_mi’)) GROUP BY `photos`.`photo_clef` ORDER BY `photos`.`est_aff_electro` DESC, `photos`.`est_portrait` DESC, `photos`.`date_annee` DESC, `photos`.`date_mois` DESC, `photos`.`date_jour` DESC LIMIT 0,1 /var/www/html/petitbouteur/rouages/interfaces_bd/pdo/interface.php:668 2018-08-17 05:36:03 Petitbouteur 0.35.344/2018-08-10 PHP 5.6.30-0+deb8u1 (Linux) [18] /rouages/interfaces_bd/pdo/requetes.php:880 / pb\interfaces_bd\pdo\InterfaceBd->execute_requete('SELECT SQL_CALC_FOUND_ROWS `photos`.* FR[…]') [17] /rouages/interfaces_bd/pdo/requetes.php:862 / pb\interfaces_bd\pdo\Requete->execute() [16] /rouages/modelisation.php:3816 / pb\interfaces_bd\pdo\Requete->selectionne() [15] /rouages/modelisation.php:4024 / pb\Selection->execute() [14] /rouages/modelisation.php:4101 / pb\Selection->fiches() [13] /rouages/modelisation.php:4339 / pb\Selection->auxiliaire() [12] /modeles/bios.php:147 / pb\Selection->premiere_fiche() [11] /rouages/extensions.php:862 / pb\FicheBio->_photo() [10] /extensions/banques/modeles/bios.php:1171 / pb\Fiche->miroir() [9] /vues/bios/biographie.php:9 / pb\banques\FicheBio->photo() [8] /petitbouteur.php:457 / include('/var/www/html/petitbouteur/vues/bios/bio[…]') [7] /rouages/visualisation.php:430 / pb\incl('vues/bios/biographie', false, [ 'bio'=>pb\FicheBio [ [ pb\TableBios [ 'bios' ],'coulombesaintmarcou_mi' ] ] ]) [6] /rouages/controle.php:671 / pb\Vue->execute() [5] /rouages/controle.php:1717 / pb\Controleur->execute([ 'clef'=>'coulombesaintmarcou_mi' ]) [4] /rouages/routage.php:148 / pb\Destination->execute() [3] /rouages/fondation.php:665 / pb\Route::execute('/bio/coulombesaintmarcou_mi/biographie', null) [2] /petitbouteur.php:661 / pb\Fondation->initialise_appli([ ]) [1] /var/www/html/index.php:6 / pb\initialise_appli()