Uncaught Exception

Trying to get property 'id' of non-object

Origin

anchor/models/post.php on line 19

Trace

#0 /homepages/1/d224874744/htdocs/blog/anchor/models/post.php(19): System\Error::native(8, 'Trying to get p...', '/homepages/1/d2...', 19, Array)
#1 /homepages/1/d224874744/htdocs/blog/anchor/models/post.php(13): Post::getCommentCount(false)
#2 /homepages/1/d224874744/htdocs/blog/anchor/routes/site.php(103): Post::slug('Henri-FrdricAmi...')
#3 [internal function]: {closure}('Henri-FrdricAmi...')
#4 /homepages/1/d224874744/htdocs/blog/system/route.php(152): call_user_func_array(Object(Closure), Array)
#5 /homepages/1/d224874744/htdocs/blog/system/router.php(152): System\Route->run()
#6 /homepages/1/d224874744/htdocs/blog/system/start.php(46): System\Router->dispatch()
#7 /homepages/1/d224874744/htdocs/blog/index.php(35): require('/homepages/1/d2...')
#8 {main}