Uncaught Exception

Trying to get property 'id' of non-object

Origin

anchor/models/post.php on line 19

Trace

#0 /var/www/narcsoft-work/data/www/nubamimarlik.com/anchor/models/post.php(19): System\Error::native(8, 'Trying to get p...', '/var/www/narcso...', 19, Array)
#1 /var/www/narcsoft-work/data/www/nubamimarlik.com/anchor/models/post.php(13): Post::getCommentCount(false)
#2 /var/www/narcsoft-work/data/www/nubamimarlik.com/anchor/routes/site.php(107): Post::slug('demo-proje-1')
#3 [internal function]: {closure}('demo-proje-1')
#4 /var/www/narcsoft-work/data/www/nubamimarlik.com/system/route.php(152): call_user_func_array(Object(Closure), Array)
#5 /var/www/narcsoft-work/data/www/nubamimarlik.com/system/router.php(152): System\Route->run()
#6 /var/www/narcsoft-work/data/www/nubamimarlik.com/system/start.php(46): System\Router->dispatch()
#7 /var/www/narcsoft-work/data/www/nubamimarlik.com/index.php(35): require('/var/www/narcso...')
#8 {main}