Notice: Trying to get property of non-object in /storage/ssd1/487/3281487/public_html/Modeles/UtilisateurManager.php on line 226

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY code_num' at line 1 in /storage/ssd1/487/3281487/public_html/Modeles/UtilisateurManager.php:232 Stack trace: #0 /storage/ssd1/487/3281487/public_html/Modeles/UtilisateurManager.php(232): PDOStatement->execute() #1 /storage/ssd1/487/3281487/public_html/Controleurs/UtilisateurControleur.php(163): UtilisateurManager->AffichageLivres('enfance') #2 /storage/ssd1/487/3281487/public_html/Outils/Router.php(17): UtilisateurControleur->ListeLivres() #3 /storage/ssd1/487/3281487/public_html/index.php(17): Router::Route('utilisateur', 'listeLivres') #4 {main} thrown in /storage/ssd1/487/3281487/public_html/Modeles/UtilisateurManager.php on line 232