Error launching psysh after installing doctrine/orm #6196

Closed
opened 2026-01-22 15:28:43 +01:00 by admin · 2 comments
Owner

Originally created by @marcosdipaolo on GitHub (Mar 5, 2019).

Originally assigned to: @Ocramius on GitHub.

Bug Report

Once i install doctrine/orm it's not possible to launch psysh.
It's relevant to mention that psysh is installed globally, configured to load vendor/autoload if there's any, and that everything goes ok until doctrine/orm is installed.
The error is:

In Application.php line 895:

  Call to undefined method Symfony\Component\Console\Helper\QuestionHelper::getInputStream()

Expected behavior

Being able to install doctrine/orm and open psysh inside a project

Originally created by @marcosdipaolo on GitHub (Mar 5, 2019). Originally assigned to: @Ocramius on GitHub. ### Bug Report Once i install doctrine/orm it's not possible to launch psysh. It's relevant to mention that psysh is installed globally, configured to load vendor/autoload if there's any, and that everything goes ok until doctrine/orm is installed. The error is: ``` In Application.php line 895: Call to undefined method Symfony\Component\Console\Helper\QuestionHelper::getInputStream() ``` #### Expected behavior Being able to install doctrine/orm and open psysh inside a project
admin added the Can't FixQuestion labels 2026-01-22 15:28:43 +01:00
admin closed this issue 2026-01-22 15:28:43 +01:00
Author
Owner

@SenseException commented on GitHub (Mar 5, 2019):

How exactly is Doctrine involved in this? Have you tried to debug the reason for your error other than having the information that it broke after ORM was installed?

There's not much we can do with interoperability between different projects/libs as it is not a bug in a standalone ORM itself and I'm sure this issue will be closed as "can't fix".

@SenseException commented on GitHub (Mar 5, 2019): How exactly is Doctrine involved in this? Have you tried to debug the reason for your error other than having the information that it broke after ORM was installed? There's not much we can do with interoperability between different projects/libs as it is not a bug in a standalone ORM itself and I'm sure this issue will be closed as "can't fix".
Author
Owner

@Ocramius commented on GitHub (Mar 6, 2019):

Call to undefined method Symfony\Component\Console\Helper\QuestionHelper::getInputStream()

This most likely indicates that the version of symfony/console shipped with psysh isn't compatible with the one requested by the ORM.

This is not something we can fix, but rather is to be handled by the psysh installation approach.

@Ocramius commented on GitHub (Mar 6, 2019): ``` Call to undefined method Symfony\Component\Console\Helper\QuestionHelper::getInputStream() ``` This most likely indicates that the version of symfony/console shipped with psysh isn't compatible with the one requested by the ORM. This is not something we can fix, but rather is to be handled by the psysh installation approach.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6196