[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` = ‘dhomont_fr’)) 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:35:50 Petitbouteur 0.35.344/2018-08-10 PHP 5.6.30-0+deb8u1 (Linux) [22] /rouages/interfaces_bd/pdo/requetes.php:880 / pb\interfaces_bd\pdo\InterfaceBd->execute_requete('SELECT SQL_CALC_FOUND_ROWS `photos`.* FR[…]') [21] /rouages/interfaces_bd/pdo/requetes.php:862 / pb\interfaces_bd\pdo\Requete->execute() [20] /rouages/modelisation.php:3816 / pb\interfaces_bd\pdo\Requete->selectionne() [19] /rouages/modelisation.php:4024 / pb\Selection->execute() [18] /rouages/modelisation.php:4101 / pb\Selection->fiches() [17] /rouages/modelisation.php:4339 / pb\Selection->auxiliaire() [16] /modeles/bios.php:147 / pb\Selection->premiere_fiche() [15] /rouages/extensions.php:862 / pb\FicheBio->_photo() [14] /extensions/banques/modeles/bios.php:1171 / pb\Fiche->miroir() [13] /vues/bios/_petite_grille.php:7 / pb\banques\FicheBio->photo() [12] /petitbouteur.php:457 / include('/var/www/html/petitbouteur/vues/bios/_pe[…]') [11] /rouages/visualisation.php:523 / pb\incl('vues/bios/_petite_grille', false, [ 'textes'=>[ 'presentation'=>pb\acces\FicheTexte [ [ pb\acces\TableTextes [ 'textes' ],'abonnement_presentation' ] ],'conditions'=>pb\acces\FicheTexte [ [ pb\acces\TableTextes [ 'textes' ],'abonnement_conditions' ] ],'institutionnel'=>pb\acces\FicheTexte [ [ pb\acces\TableTextes [ 'textes' ],'abonnement_institutionnel' ] ], ],'bios'=>pb\SelectionBios [ pb\TableBios [ 'bios' ] ], ]) [10] /rouages/modelisation.php:4478 / pb\Vue->morceau('bios/_petite_grille', [ 'bios'=>pb\SelectionBios [ pb\TableBios [ 'bios' ] ] ]) [9] /vues/pages/abonnement.php:22 / pb\Selection->morceau('_petite_grille') [8] /petitbouteur.php:457 / include('/var/www/html/petitbouteur/vues/pages/ab[…]') [7] /rouages/visualisation.php:430 / pb\incl('vues/pages/abonnement', false, [ 'textes'=>[ 'presentation'=>pb\acces\FicheTexte [ [ pb\acces\TableTextes [ 'textes' ],'abonnement_presentation' ] ],'conditions'=>pb\acces\FicheTexte [ [ pb\acces\TableTextes [ 'textes' ],'abonnement_conditions' ] ],'institutionnel'=>pb\acces\FicheTexte [ [ pb\acces\TableTextes [ 'textes' ],'abonnement_institutionnel' ] ], ] ]) [6] /rouages/controle.php:671 / pb\Vue->execute() [5] /rouages/controle.php:1717 / pb\Controleur->execute([ 'offre'=>'6' ]) [4] /rouages/routage.php:148 / pb\Destination->execute() [3] /rouages/fondation.php:665 / pb\Route::execute('/abonnement', null) [2] /petitbouteur.php:661 / pb\Fondation->initialise_appli([ ]) [1] /var/www/html/index.php:6 / pb\initialise_appli()