Warning: Invalid argument supplied for foreach() in /home/birlesik/public_html/models/blog_model.php on line 23

Notice: Undefined index: hits in /home/birlesik/public_html/controllers/blog.php on line 23

Notice: Undefined index: id in /home/birlesik/public_html/controllers/blog.php on line 26

Warning: Invalid argument supplied for foreach() in /home/birlesik/public_html/models/blog_model.php on line 23

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 '' at line 1 in /home/birlesik/public_html/libs/Database.php:66 Stack trace: #0 /home/birlesik/public_html/libs/Database.php(66): PDOStatement->execute() #1 /home/birlesik/public_html/models/blog_model.php(53): Database->update('posts', Array, '`id` = ') #2 /home/birlesik/public_html/controllers/blog.php(35): Blog_Model->updateposthits(Array) #3 /home/birlesik/public_html/libs/Bootstrap.php(38): Blog->detay('kamu-ar-ekim-ay...') #4 /home/birlesik/public_html/index.php(26): Bootstrap->__construct() #5 {main} thrown in /home/birlesik/public_html/libs/Database.php on line 66