Notice: include(): Read of 1879 bytes failed with errno=12 Cannot allocate memory in /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php on line 576
Notice: include(): Read of 1879 bytes failed with errno=12 Cannot allocate memory in /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php on line 576
}
}
if ($externalId) {
$msg[] = \sprintf('the container inside "%s" is a smaller service locator that %s', $externalId, $this->formatAlternatives());
} else {
$msg[] = \sprintf('the current service locator %s', $this->formatAlternatives());
}
if (!$class) {
// no-op
} elseif (\is_subclass_of($class, \YoastSEO_Vendor\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) {
$msg[] = \sprintf('Unless you need extra laziness, try using dependency injection instead. Otherwise, you need to declare it using "%s::getSubscribedServices()".', \preg_replace('/([^\\\\]++\\\\)++/', '', $class));
} else {
$msg[] = 'Try using dependency injection instead.';
}
return new \YoastSEO_Vendor\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], \implode(' ', $msg));
}
private function createCircularReferenceException(string $id, array $path) : \YoastSEO_Vendor\Psr\Container\ContainerExceptionInterface
{
return new \YoastSEO_Vendor\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $path);
}
private function formatAlternatives(?array $alternatives = null, string $separator = 'and') : string
{
$format = '"%s"%s';
if (null === $alternatives) {
if (!($alternatives = \array_keys($this->factories))) {
return 'is empty...';
}
$format = \sprintf('only knows about the %s service%s.', $format, 1 < \count($alternatives) ? 's' : '');
}
$last = \array_pop($alternatives);
return \sprintf($format, $alternatives ? \implode('", "', $alternatives) : $last, $alternatives ? \sprintf(' %s "%s"', $separator, $last) : '');
}
}
Fatal error: Uncaught Error: Class "YoastSEO_Vendor\Symfony\Component\DependencyInjection\ServiceLocator" not found in /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Argument/ServiceLocator.php:19
Stack trace:
#0 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php(576): include()
#1 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home3/freedo70...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('YoastSEO_Vendor...')
#3 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(27): class_exists('YoastSEO_Vendor...')
#4 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php(576): include('/home3/freedo70...')
#5 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home3/freedo70...')
#6 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php(17): Composer\Autoload\ClassLoader->loadClass('YoastSEO_Vendor...')
#7 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/src/main.php(57): require_once('/home3/freedo70...')
#8 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/lib/abstract-main.php(44): Yoast\WP\SEO\Main->get_container()
#9 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/src/functions.php(34): Yoast\WP\Lib\Abstract_Main->load()
#10 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php(447): YoastSEO()
#11 /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/wp-seo.php(50): require_once('/home3/freedo70...')
#12 /home3/freedo70/public_html/wp-settings.php(589): include_once('/home3/freedo70...')
#13 /home3/freedo70/public_html/wp-config.php(89): require_once('/home3/freedo70...')
#14 /home3/freedo70/public_html/wp-load.php(50): require_once('/home3/freedo70...')
#15 /home3/freedo70/public_html/wp-blog-header.php(13): require_once('/home3/freedo70...')
#16 /home3/freedo70/public_html/index.php(17): require('/home3/freedo70...')
#17 {main}
thrown in /home3/freedo70/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Argument/ServiceLocator.php on line 19