Warning: implode(): Invalid arguments passed in /home/rochiir/public_html/link.rochi.ir/app/models/home/ProfileModel.class.php on line 49

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 ')' at line 1 in /home/rochiir/public_html/link.rochi.ir/framework/database/Database.class.php:28 Stack trace: #0 /home/rochiir/public_html/link.rochi.ir/framework/database/Database.class.php(28): PDOStatement->execute() #1 /home/rochiir/public_html/link.rochi.ir/app/models/home/ProfileModel.class.php(52): Database->selectAll('SELECT `name` F...', Array) #2 /home/rochiir/public_html/link.rochi.ir/app/controllers/home/ProfileController.class.php(24): ProfileModel->getBrand(Array) #3 /home/rochiir/public_html/link.rochi.ir/framework/core/Framework.class.php(105): ProfileController->show(Array) #4 /home/rochiir/public_html/link.rochi.ir/framework/core/Framework.class.php(10): Framework::dispatch() #5 /home/rochiir/public_html/link.rochi.ir/index.php(12): Framework::run() #6 {main} thrown in /home/rochiir/public_html/link.rochi.ir/framework/database/Database.class.php on line 28