Notice: Trying to get property of non-object in /var/www/trollsoft/blog/controller/SiteController.php on line 38

Notice: Trying to get property of non-object in /var/www/trollsoft/blog/controller/SiteController.php on line 39

Fatal error: Uncaught Error: Call to a member function post_categoryList() on null in /var/www/trollsoft/blog/controller/SiteController.php:40 Stack trace: #0 /var/www/trollsoft/blog/vendor/s22h/php-router/src/Router.php(197): SiteController->category(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), Array) #1 /var/www/trollsoft/blog/vendor/s22h/php-router/src/Router.php(149): s22h\Router->invokeCallback('category', '/category/gamed...', Object(SiteController), Array) #2 /var/www/trollsoft/blog/vendor/s22h/php-router/src/Router.php(84): s22h\Router->runUri('/category/gamed...') #3 /var/www/trollsoft/blog/bootstrap.php(37): s22h\Router->run() #4 /var/www/trollsoft/public/index.php(4): require('/var/www/trolls...') #5 {main} thrown in /var/www/trollsoft/blog/controller/SiteController.php on line 40