s $class ) { if ( ! $this->conditionals_are_met( $class ) ) { continue; } $this->container->get( $class )->register_hooks(); } } /** * Loads all registered routes if their conditionals are met. * * @return void */ public function load_routes() { foreach ( $this->routes as $class ) { if ( ! $this->conditionals_are_met( $class ) ) { continue; } $this->container->get( $class )->register_routes(); } } /** * Checks if all conditionals of a given integration are met. * * @param Loadable_Interface $integration_class The class name of the integration. * * @return bool Whether or not all conditionals of the integration are met. */ protected function conditionals_are_met( $integration_class ) { $conditionals = $integration_class::get_conditionals(); foreach ( $conditionals as $conditional ) { if ( ! $this->container->get( $conditional )->is_met() ) { return false; } } return true; } }
Fatal error: Uncaught Error: Class "Yoast\WP\SEO\Loader" not found in /htdocs/2.africbio.com/wp-content/plugins/wordpress-seo/src/generated/container.php:3918 Stack trace: #0 /htdocs/2.africbio.com/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getLoaderService() #1 /htdocs/2.africbio.com/wp-content/plugins/wordpress-seo/lib/abstract-main.php(43): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get('Yoast\\WP\\SEO\\Lo...') #2 /htdocs/2.africbio.com/wp-content/plugins/wordpress-seo/src/functions.php(36): Yoast\WP\Lib\Abstract_Main->load() #3 /htdocs/2.africbio.com/wp-content/plugins/wordpress-seo/wp-seo-main.php(488): YoastSEO() #4 /htdocs/2.africbio.com/wp-content/plugins/wordpress-seo/wp-seo.php(50): require_once('/htdocs/2.afric...') #5 /htdocs/2.africbio.com/wp-settings.php(409): include_once('/htdocs/2.afric...') #6 /htdocs/2.africbio.com/wp-config.php(98): require_once('/htdocs/2.afric...') #7 /htdocs/2.africbio.com/wp-load.php(50): require_once('/htdocs/2.afric...') #8 /htdocs/2.africbio.com/wp-blog-header.php(13): require_once('/htdocs/2.afric...') #9 /htdocs/2.africbio.com/index.php(17): require('/htdocs/2.afric...') #10 {main} thrown in /htdocs/2.africbio.com/wp-content/plugins/wordpress-seo/src/generated/container.php on line 3918