Notice Trying to get property of non-object in controllers/content.php at line 28 
Notice Trying to get property of non-object in controllers/content.php at line 36 
Notice Trying to get property of non-object in controllers/content.php at line 37 
Notice Trying to get property of non-object in controllers/content.php at line 37 
Notice Trying to get property of non-object in controllers/content.php at line 38 
Notice Trying to get property of non-object in controllers/content.php at line 39 
Notice Trying to get property of non-object in models/content_index.php at line 138 
Notice Trying to get property of non-object in models/content_index.php at line 84 
Notice Trying to get property of non-object in models/content_index.php at line 16 
Notice Trying to get property of non-object in models/content_index.php at line 20 
Notice Trying to get property of non-object in controllers/content.php at line 52 
Notice Trying to get property of non-object in views/content_page.php at line 13 
Notice Trying to get property of non-object in views/content_page.php at line 17 
Notice Trying to get property of non-object in views/content_page.php at line 17 
Database Error

Ошибка БД

Error Number: 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

UPDATE content SET views = '1' WHERE id =