Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295668

[Installation Error] Symfony: "The service definition 'request' does not exist."

$
0
0

As pointed out by vayu on http://drupal.org/node/1986996 already, Drupal8 throws an error during the installation process which says:

"The service definition 'request' does not exist."

The same happens to me during the installation of the most current Spark distro.

After briefly checking the code I found that it is the Symfony framework which causes this error message. Below you will find an extraction of the particular code of the file ContainerBuilder.php in /core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/. Starting line is number 783, ending line is 803. It seems as if the called service was not defined or does not exist:

<?php
   
/**
     * Gets a service definition.
     *
     * @param string $id The service identifier
     *
     * @return Definition A Definition instance
     *
     * @throws InvalidArgumentException if the service definition does not exist
     *
     * @api
     */
   
public function getDefinition($id)
    {
       
$id = strtolower($id);

        if (!
$this->hasDefinition($id)) {
            throw new
InvalidArgumentException(sprintf('The service definition "%s" does not exist.', $id));
        }

        return
$this->definitions[$id];
    }
?>

Could it be that this issue is somehow linked to the new Guzzle framework (http://guzzle.org)?After all it is the thingy now which does the RESTful stuff!

Viewing all articles
Browse latest Browse all 295668


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>