Ouvintes

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'megadjco_sound.views.viewid' which is not in SELECT list; this is incompatible with DISTINCT in /home/megadjco/public_html/pro/app/vendor/classes/database.php:59 Stack trace: #0 /home/megadjco/public_html/pro/app/vendor/classes/database.php(59): PDOStatement->execute(Array) #1 /home/megadjco/public_html/pro/app/model/track.php(852): Database->query('SELECT DISTINCT...', Array) #2 /home/megadjco/public_html/pro/app/model/track.php(866): TrackModel->getViews('185', '20', 0) #3 /home/megadjco/public_html/pro/app/views/track/profile/people.phtml(5): TrackModel->getPeople('listeners', 'track', '185') #4 /home/megadjco/public_html/pro/app/vendor/classes/view.php(34): include('/home/megadjco/...') #5 /home/megadjco/public_html/pro/app/vendor/classes/controller.php(152): View->find('track/profile/p...', Array) #6 /home/megadjco/public_html/pro/app/controllers/track.php(167): Controlle in /home/megadjco/public_html/pro/app/vendor/classes/database.php on line 59