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/valadorstudios/httpdocs/anchor/models/post.php(19): System\Error::native(8, 'Trying to get p...', '/home/valadorst...', 19, Array)
#1 /home/valadorstudios/httpdocs/anchor/models/post.php(13): Post::getCommentCount(false)
#2 /home/valadorstudios/httpdocs/anchor/routes/site.php(103): Post::slug('sometimes-i-pre...')
#3 [internal function]: {closure}('sometimes-i-pre...')
#4 /home/valadorstudios/httpdocs/system/route.php(152): call_user_func_array(Object(Closure), Array)
#5 /home/valadorstudios/httpdocs/system/router.php(152): System\Route->run()
#6 /home/valadorstudios/httpdocs/system/start.php(46): System\Router->dispatch()
#7 /home/valadorstudios/httpdocs/index.php(35): require('/home/valadorst...')
#8 {main}