You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And you get this error:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! ArgumentCountError {#4094
!! #message: "Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct(), 0 passed in C:...\vendor\youshido\graphql-bundle\DependencyInjection\Configuration.php on line 21 and at least 1 expected"
!! #code: 0
!! #file: "C:...\vendor\symfony\config\Definition\Builder\TreeBuilder.php"
!! #line: 26
!! trace: {
Code:
class Configuration implements ConfigurationInterface
{
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('graphql');
$rootNode
->children()
......
The text was updated successfully, but these errors were encountered:
Hello,
In Symfony 5, let's do this:
composer require youshido/graphql-bundle
composer remove youshido/graphql-bundle
composer require youshido/graphql-bundle
And you get this error:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! ArgumentCountError {#4094
!! #message: "Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct(), 0 passed in C:...\vendor\youshido\graphql-bundle\DependencyInjection\Configuration.php on line 21 and at least 1 expected"
!! #code: 0
!! #file: "C:...\vendor\symfony\config\Definition\Builder\TreeBuilder.php"
!! #line: 26
!! trace: {
Code:
class Configuration implements ConfigurationInterface
{
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('graphql');
......
The text was updated successfully, but these errors were encountered: