Notice Trying to get property of non-object in controllers/content.php at line 22 
Notice Trying to get property of non-object in controllers/content.php at line 30 
Notice Trying to get property of non-object in controllers/content.php at line 31 
Notice Trying to get property of non-object in controllers/content.php at line 31 
Notice Trying to get property of non-object in controllers/content.php at line 32 
Notice Trying to get property of non-object in controllers/content.php at line 33 
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 46 
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 =