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

php 7.4 and opis/closure prolem #113

Open
max-petrovich opened this issue Apr 20, 2021 · 2 comments
Open

php 7.4 and opis/closure prolem #113

max-petrovich opened this issue Apr 20, 2021 · 2 comments

Comments

@max-petrovich
Copy link

When i start conversation from oficial documentation with php 7.4 i get an error:
include(): Opis\Closure\ClosureStream::stream_set_option is not implemented! {"exception":"[object] (ErrorException(code: 0): include(): Opis\\Closure\\ClosureStream::stream_set_option is not implemented! at /Users/maxim/Downloads/tg-bot/vendor/opis/closure/src/SerializableClosure.php:206)

@anthonyaxenov
Copy link

anthonyaxenov commented Sep 20, 2021

Still same problem. I found only one solution, but downgrade php is not an option.

@anthonyaxenov
Copy link

anthonyaxenov commented Sep 26, 2021

Well, problem accidently solved on php7.4 with simple composer update. There is part my update log with some of actual versions at this moment:

...
- Updating opis/closure (3.0.12 => 3.6.2): Loading from cache
- Updating botman/botman (2.4.1 => 2.6.1): Loading from cache
- Updating botman/studio-addons (1.3.0 => 1.6.1): Loading from cache
- Updating botman/tinker (1.0.3 => 1.2.0): Loading from cache
...

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