Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Theme\Models\Teams::create() must be an instance of WP_Post, null given, called in /home/vilys/domains/vilys.lt/public_html/htdocs/content/themes/vilys/resources/models/Teams.php on line 102 in /home/vilys/domains/vilys.lt/public_html/htdocs/content/themes/vilys/resources/models/Teams.php:21 Stack trace: #0 /home/vilys/domains/vilys.lt/public_html/htdocs/content/themes/vilys/resources/models/Teams.php(102): Theme\Models\Teams::create(NULL) #1 /home/vilys/domains/vilys.lt/public_html/htdocs/content/themes/vilys/resources/controllers/PageController.php(119): Theme\Models\Teams::getMembersById(Array) #2 [internal function]: Theme\Controllers\PageController->singleActivity(Object(WP_Post), Object(WP_Query)) #3 /home/vilys/domains/vilys.lt/public_html/vendor/illuminate/routing/Controller.php(54): call_user_func_array(Array, Array) #4 /home/vilys/domains/vilys.lt/public_html/vendor/illuminate/routing/ControllerDispatche in /home/vilys/domains/vilys.lt/public_html/htdocs/content/themes/vilys/resources/models/Teams.php on line 21