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

Use of undefined constant STDIN - assumed 'STDIN #56

Open
thewebartisan7 opened this issue Aug 27, 2020 · 2 comments
Open

Use of undefined constant STDIN - assumed 'STDIN #56

thewebartisan7 opened this issue Aug 27, 2020 · 2 comments

Comments

@thewebartisan7
Copy link

thewebartisan7 commented Aug 27, 2020

I see there is already an issue about this here #54

And seem already an old issue, see laravel/framework#4721

When running artisan via console, STDIN is already defined, but not when running via controller like generator-builder.

Defining STDIN fix issue, example:

if(! defined('STDIN')) define('STDIN', fopen("php://stdin","r"));
@rabol
Copy link

rabol commented Jan 8, 2021

Will there be a fix for this ?

@thewebartisan7
Copy link
Author

Hi rabol, it's fixed in Laraloop custom fork. Do you experience this with Laraloop?

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