Notice: Undefined offset: 0 in /home/accountb/domains/accountbaz.ir/public_html/controller/other/blog-single.php on line 12

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/accountb/domains/accountbaz.ir/public_html/helper.php:672 Stack trace: #0 /home/accountb/domains/accountbaz.ir/public_html/helper.php(672): PDO->prepare() #1 /home/accountb/domains/accountbaz.ir/public_html/controller/other/blog-single.php(14): helper->blog_single() #2 /home/accountb/domains/accountbaz.ir/public_html/index.php(87): include('/home/accountb/...') #3 {main} thrown in /home/accountb/domains/accountbaz.ir/public_html/helper.php on line 672