-
Notifications
You must be signed in to change notification settings - Fork 282
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
Error: implode(): Argument #2 ($array) must be of type ?array, string given #212
Comments
Confirmed! |
lorismich
added a commit
to lorismich/PAMI
that referenced
this issue
Feb 1, 2022
They only need to Implement the Change in the repository, when they believe that this |
@lorismich where did you merged this PR because I can't find it in your fork? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been working on a Laravel project and I had to use PAMI, by the way it's a great library! However, recently I got this error
I'm using the following settings:
After a few days of headache and tests, I finally found what was occurring. I went to the error line on EventFactoryImpl.php. At beginning, I was thinking Asterisk server was returning a wrong message, after some tests and verifications I concluded it was not the server. In order that, I went to php documentation and found the order of implode function arguments was wrong. According to the documentation the function signature is as follows:
As we can see on code, the order is inverted:
Because of that I made a slightly change, reverting the order.
Hope this can help someone. And also be fixed in this wonderful project.
Thanks!
The text was updated successfully, but these errors were encountered: