Closed thomas-latterner closed 9 years ago
Not the same, but close for me:
Catchable Fatal Error: Argument 3 passed to CoreSphere\ConsoleBundle\Controller\ConsoleController::__construct() must be an instance of Symfony\Bundle\FrameworkBundle\Console\Application, string given, called in [my_path]/app/cache/dev/appDevDebugProjectContainer.php on line 638 and defined
Could you find what string it is? Also, what version do you use?
The string is "dev" :
protected function getCoresphereConsole_ControllerService()
{
return $this->services['coresphere_console.controller'] = new \CoreSphere\ConsoleBundle\Controller\ConsoleController($this->get('templating'), $this->get('coresphere_console.executer'), 'dev');
}
Version : "dev-master". Can't found the version number.
It's look like the third argument is missing :
public function __construct(
EngineInterface $templating,
CommandExecuterInterface $commandExecuter,
Application $application,
$environment
)
Thank you. I've prepared fixing PR.
Also I recommend you using stable version to prevent such issues. Any commit can break the master, so it's not very safe to use dev-master
tag.
Thank you too. I take note about the dev-master
tag.
@skududufru @olix21 It's merged, could you test composer update
and confirm it's ok now?
Hello,
Got an error message :