Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Console] Use of undefined constant STDOUT #34341

Closed
lazosweb opened this issue Nov 12, 2019 · 2 comments
Closed

[Console] Use of undefined constant STDOUT #34341

lazosweb opened this issue Nov 12, 2019 · 2 comments

Comments

@lazosweb
Copy link

Symfony version(s) affected: 4.3.7

Description
The latest update of Symfony Console 4.3.7 errors when calling an artisan command from a controller in Laravel with the following error message "ErrorException
Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version of PHP)".

See attached image.
Screenshot_2019-11-12 🧨 Use of undefined constant STDOUT - assumed 'STDOUT' (this will throw an Error in a future version

How to reproduce
Windows Server 2016
IIS 10
PHP 7.3.11
Laravel 6.X
Laravel 5.8
Run an artisan command in Laravel from a controller.

@derrabus
Copy link
Member

I don't have a Windows machine at the moment. Can you please test, if #34344 fixes your problem?

@lazosweb
Copy link
Author

lazosweb commented Nov 12, 2019

Yes, problem fixed.

fabpot pushed a commit that referenced this issue Nov 13, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

[Console] Constant STDOUT might be undefined

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #34341
| License       | MIT
| Doc PR        | N/A

Commits
-------

bb8c82c [Console] Constant STDOUT might be undefined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants