-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Getting undefined function #27
Comments
Could you provide a little bit more context? Maybe the full stacktrace or at least the file and line where the error happens. And ideally a reproducible test case with composer.json etc. |
I'm closing this for now, feel free to reopen if you still have questions. |
Thanks
|
Hi, Thanks. |
Hi, Make sure your composer autoload class is loading this library correctly.
|
If you're using a custom autoloader, make sure you include the functions.php. |
please: document |
@danielecr It's loaded through |
sorry, maybe I need more sleep, but in documentation (README.md) it is written:
and I was doing just that, not
or it is due to newer php to be pedant on this? I am not a php lover, I just use it |
Well that is indeed the correct way to write it. That's not a function but a class and the missing |
for React\Promise\FulfilledPromise and React\Promise\RejectedPromise rif reactphp#27
@WyriHaximus #145 is still waiting |
@danielecr Indeed it is |
Hi,
When using composer to install your lib I get the following error when consuming it.
Call to undefined function React\Promise\resolve()
Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: