-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
SQLSTATE[HY000]: General error: 21 bad parameter or other API misuse` after updating TNTSearch. #129
Comments
Any chance you are running php 7.2? |
Exactly, you are right! Forgot to mention it. |
Can you try v3.0.6, hopefully it should be fixed |
Fixed! :))) |
Ah, sorry. It's not fixed. Scout was disabled in testing environment. Still the same message with teamtnt/laravel-scout-tntsearch-driver 3.0.6. |
PHP 7.2 here. The first time this error occured to me is when I try to insert 2k+ records into a sqlite db. Then I started encountering it with TNTSearch like OP. I'm getting the error when retrieving records using Scout's paginate() method. Reverting back to 7.1, which works fine. |
Seeing warnings when running tests:
Works fine before these updates:
Latest Laravel, PostgreSQL 10.1. Any ideas?
The text was updated successfully, but these errors were encountered: