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 /srv/data/web/vhosts/www.empty-handed.com/htdocs/anchor/models/post.php(19): System\Error::native(8, 'Trying to get p...', '/srv/data/web/v...', 19, Array)
#1 /srv/data/web/vhosts/www.empty-handed.com/htdocs/anchor/models/post.php(13): Post::getCommentCount(false)
#2 /srv/data/web/vhosts/www.empty-handed.com/htdocs/anchor/routes/site.php(103): Post::slug('home-wrecker.co...')
#3 [internal function]: {closure}('home-wrecker.co...')
#4 /srv/data/web/vhosts/www.empty-handed.com/htdocs/system/route.php(152): call_user_func_array(Object(Closure), Array)
#5 /srv/data/web/vhosts/www.empty-handed.com/htdocs/system/router.php(152): System\Route->run()
#6 /srv/data/web/vhosts/www.empty-handed.com/htdocs/system/start.php(46): System\Router->dispatch()
#7 /srv/data/web/vhosts/www.empty-handed.com/htdocs/index.php(35): require('/srv/data/web/v...')
#8 {main}