-
Notifications
You must be signed in to change notification settings - Fork 37
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
Hotfix TypeError - Typesense\\Documents::import(): Argument #1 ($documents) must be of type string, array given. #81
Comments
Trace log: |
Laravel scout: v10.6.0 |
I believe this is the same bug I had here: #75 I just stumbled across this myself, for some reason composer is STILL by default installing an old version. No idea why! Solution (for me):
|
I had already installed 5.2.8. The trouble is with Laravel Scout. This package is still don't support scout v10.6.0 |
The issue has been fixed with the latest release. Closing this issue. |
Description
Afrer migrate from (v5.2.8 => v5.2.6) got the type error.
"Typesense\\Documents::import(): Argument #1 ($documents) must be of type string, array given, called in /var/www/artwin.io/vendor/typesense/laravel-scout-typesense-driver/src/Typesense.php on line 191" exception: "TypeError" file: "./vendor/typesense/typesense-php/src/Documents.php"
Metadata
Typesense Version: v5.2.8
Before and after method changes fallow up on the screenshots.
v5 2 6
--- v5 2 8The text was updated successfully, but these errors were encountered: