Fatal error: Uncaught exception 'PDOException' with message '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 '-10, 10' at line 1' in /home/kir661276/public_html/brandnet/TamaWork/Models/BaseModel.php:146
Stack trace:
#0 /home/kir661276/public_html/brandnet/TamaWork/Models/BaseModel.php(146): PDOStatement->execute()
#1 /home/kir661276/public_html/brandnet/TamaWork/Models/BaseModel.php(965): BaseModel->query('SELECT dat_diar...', Array, 'all', true)
#2 /home/kir661276/public_html/brandnet/TamaWork/Models/DiaryModel.php(173): BaseModel->JoinDataArrayGet(Array, Array, 'dat_diary.statu...', Array, 'dat_diary.creat...', '-10, 10')
#3 /home/kir661276/public_html/brandnet/TamaWork/Controllers/DefaultController.php(177): DiaryModel->getListByShop('837', '-1', 10)
#4 /home/kir661276/public_html/brandnet/Web/index.php(250): DefaultController->blog()
#5 {main}
thrown in /home/kir661276/public_html/brandnet/TamaWork/Models/BaseModel.php on line 146