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 /hsphere/local/home/bbbm5lp/thelegalreport.com/anchor/models/post.php(19): System\Error::native(8, 'Trying to get p...', '/hsphere/local/...', 19, Array)
#1 /hsphere/local/home/bbbm5lp/thelegalreport.com/anchor/models/post.php(13): Post::getCommentCount(false)
#2 /hsphere/local/home/bbbm5lp/thelegalreport.com/anchor/routes/site.php(103): Post::slug('Smoker%E2%80%99...')
#3 [internal function]: {closure}('Smoker%E2%80%99...')
#4 /hsphere/local/home/bbbm5lp/thelegalreport.com/system/route.php(152): call_user_func_array(Object(Closure), Array)
#5 /hsphere/local/home/bbbm5lp/thelegalreport.com/system/router.php(152): System\Route->run()
#6 /hsphere/local/home/bbbm5lp/thelegalreport.com/system/start.php(46): System\Router->dispatch()
#7 /hsphere/local/home/bbbm5lp/thelegalreport.com/index.php(34): require('/hsphere/local/...')
#8 {main}