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

Call to undefined function Laravel\Prompts\clear() #4

Open
eboye opened this issue Jan 23, 2025 · 2 comments
Open

Call to undefined function Laravel\Prompts\clear() #4

eboye opened this issue Jan 23, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@eboye
Copy link

eboye commented Jan 23, 2025

I'm getting Call to undefined function Laravel\Prompts\clear() for some reason in my logs.

I can see in Laravel documentation that clear is documented, but code inspection says it's not defined.

So I tracked down where it is call and:

https://github.com/dgtlss/warden/blob/main/src/Commands/WardenAuditCommand.php#L26

and

https://github.com/dgtlss/warden/blob/main/src/Commands/WardenAuditCommand.php#L16

Laravel 11.39.0 is the version I'm running.

I'm not sure why, any help?

@dgtlss dgtlss self-assigned this Jan 23, 2025
@dgtlss dgtlss added the bug Something isn't working label Jan 23, 2025
@dgtlss
Copy link
Owner

dgtlss commented Jan 23, 2025

Thanks for opening an issue for this and pointing it out! I've released a temporary hotfix that removes the clear() function from main WardenAuditCommand whilst I investigate further.

@eboye
Copy link
Author

eboye commented Jan 23, 2025

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants