Trying to get property 'id' of non-object The error has been logged in /anchor/errors.log
Trying to get property 'id' of non-object
anchor/models/post.php on line 19
#0 /home4/mathewgr/public_html/anchor/models/post.php(19): System\Error::native(8, 'Trying to get p...', '/home4/mathewgr...', 19, Array) #1 /home4/mathewgr/public_html/anchor/models/post.php(13): Post::getCommentCount(false) #2 /home4/mathewgr/public_html/anchor/routes/site.php(103): Post::slug('admin') #3 [internal function]: {closure}('admin') #4 /home4/mathewgr/public_html/system/route.php(152): call_user_func_array(Object(Closure), Array) #5 /home4/mathewgr/public_html/system/router.php(152): System\Route->run() #6 /home4/mathewgr/public_html/system/start.php(46): System\Router->dispatch() #7 /home4/mathewgr/public_html/index.php(35): require('/home4/mathewgr...') #8 {main}
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` The error has been logged in /anchor/errors.log
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
anchor/routes/site.php on line 280
#0 [internal function]: System\Error::shutdown() #1 {main}