TypeError thrown

Argument 2 passed to Yoast\WP\Lib\Dependency_Injection\Container_Registry::register() must implement interface YoastSEO_Vendor\Symfony\Component\DependencyInjection\ContainerInterface, null given, called in /nas/content/live/gundigest/wp-content/plugins/wordpress-seo-premium/lib/abstract-main.php on line 34