Trying to get property of non-object
The error has been logged in /anchor/errors.log
Uncaught Exception

Uncaught Exception

Trying to get property of non-object

Origin

anchor/models/post.php on line 19

Trace

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