Warning: Undefined array key "id" in /var/www/myshare2/common/lib/class.myshare.pro.php on line 44
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 MySQL server version for the right syntax to use near 'ORDER BY id DESC' at line 1 in /var/www/myshare2/common/core/model.php:126
Stack trace:
#0 /var/www/myshare2/common/core/model.php(126): PDOStatement->execute()
#1 /var/www/myshare2/common/lib/class.myshare.pro.php(44): Model->find()
#2 /var/www/myshare2/webapp/Gallery/Controller/GalleryController.php(9): MysharePro->getConfig()
#3 /var/www/myshare2/routes/gallery_routes.php(6): GalleryController->index()
#4 /var/www/myshare2/routes/router.php(23): {closure}()
#5 /var/www/myshare2/index.php(51): Router::route()
#6 {main}
thrown in /var/www/myshare2/common/core/model.php on line 126