-
-
Notifications
You must be signed in to change notification settings - Fork 60
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.CRITICAL: preg_split() expects parameter 2 to be string, float given #31
Comments
Can you please post the full trace for this error? Thanks! |
Yes of course
(edited for code blocks) |
Unfortunately, that log you provided does not include a full stack trace of the error. I'm looking for a trace that shows where the method was called with a float. An implicit typecast is out of the question, which is why I want to know which source package is calling this with the wrong argument type. Thanks! |
Hmmm could this happen with something like |
I'm not sure, I'd have to set up a test. In that case, I'd argue for fixing it where it's broken ;) |
Hi @jmmorillon, I've the same problem, but I haven't been able to find a solution. Did you find a way to fix it? Thank you very much. |
@albertoeps For the moment I’ve forced the use of version 1.0.2 and my app works well. |
Again, if someone can please give me a trace I'll happily look into it. However, I haven't managed to reproduce it at all so far. |
Same issue here — we're using
Here's what we're passing in to |
Here's someone else facing the same problem: |
Thank you @mareksuscak! I'll try to reproduce this later today! |
Does creof/doctrine2-spatial#205 fix the issue for you? |
This should be closed because fixed via creof/geo-parser#18 |
Amen |
Fixed by ugprading |
Hello,
I've a critical error with version 1.1.0
It seems to bug at init app.
[2019-08-01 11:20:41] php.CRITICAL: preg_split() expects parameter 2 to be string, float given {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): preg_split() expects parameter 2 to be string, float given at /var/www/clients/client1/web8/web/sfserv2018/vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php:255)"} []
[2019-08-01 11:20:41] request.CRITICAL: Uncaught PHP Exception TypeError: "preg_split() expects parameter 2 to be string, float given" at /var/www/clients/client1/web8/web/sfserv2018/vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php line 255 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): preg_split() expects parameter 2 to be string, float given at /var/www/clients/client1/web8/web/sfserv2018/vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php:255)"} []
The text was updated successfully, but these errors were encountered: