Notice: Trying to access array offset on value of type null in /var/www/html/application/libraries/Ilch/Database/Mysql.php on line 196

Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/application/modules/forum/controllers/Showposts.php:35 Stack trace: #0 /var/www/html/application/libraries/Ilch/Page.php(248): Modules\Forum\Controllers\Showposts->indexAction() #1 /var/www/html/application/libraries/Ilch/Page.php(136): Ilch\Page->loadController() #2 /var/www/html/index.php(54): Ilch\Page->loadPage() #3 {main} thrown in /var/www/html/application/modules/forum/controllers/Showposts.php on line 35