Warning: Attempt to read property "forum" on null in /home/twowapworld/public_html/NEW/include/pages/posts.php on line 5

Fatal error: Uncaught TypeError: TwoWap\Post::getForum(): Argument #1 ($forumId) must be of type int, null given, called in /home/twowapworld/public_html/NEW/include/pages/posts.php on line 5 and defined in /home/twowapworld/public_html/NEW/include/class/class.post.php:20 Stack trace: #0 /home/twowapworld/public_html/NEW/include/pages/posts.php(5): TwoWap\Post->getForum() #1 /home/twowapworld/public_html/NEW/include/config/routes.php(51): require_once('...') #2 [internal function]: {closure}() #3 /home/twowapworld/public_html/NEW/include/composer/vendor/bramus/router/src/Bramus/Router/Router.php(458): call_user_func_array() #4 /home/twowapworld/public_html/NEW/include/composer/vendor/bramus/router/src/Bramus/Router/Router.php(440): Bramus\Router\Router->invoke() #5 /home/twowapworld/public_html/NEW/include/composer/vendor/bramus/router/src/Bramus/Router/Router.php(287): Bramus\Router\Router->handle() #6 /home/twowapworld/public_html/NEW/include/config/routes.php(319): Bramus\Router\Router->run() #7 /home/twowapworld/public_html/NEW/include/include.php(25): require_once('...') #8 /home/twowapworld/public_html/NEW/index.php(5): require_once('...') #9 {main} thrown in /home/twowapworld/public_html/NEW/include/class/class.post.php on line 20