Replies: 2 comments
-
Using meilisearch version 0.22.0 fixes this problem. If you use the most recent version, you will encounter this problem. However, if you download meilisearch version 0.22.0, it will run smoothly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Almost a year and this problem still exists today. You can't install old versions of Meilisearch via Brew (anymore), unfortunately. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
C:\xampp\htdocs\Laravel_Test\laravel-sitemap>php artisan site-search:crawl
Dispatching job to crawl
https://hilinkz.com/
ErrorException
Undefined array key "primaryKey"
at C:\xampp\htdocs\Laravel_Test\laravel-sitemap\vendor\meilisearch\meilisearch-php\src\Endpoints\Indexes.php:59
55▕ {
56▕ return new self(
57▕ $this->http,
58▕ $attributes['uid'],
➜ 59▕ $attributes['primaryKey'],
60▕ $attributes['createdAt'],
61▕ $attributes['updatedAt'],
62▕ );
63▕ }
1 C:\xampp\htdocs\Laravel_Test\laravel-sitemap\vendor\meilisearch\meilisearch-php\src\Endpoints\Indexes.php:59
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Undefined array key "primaryKey"", "C:\xampp\htdocs\Laravel_Test
laravel-sitemap\vendor\meilisearch\meilisearch-php\src\Endpoints\Indexes.php")
2 C:\xampp\htdocs\Laravel_Test\laravel-sitemap\vendor\meilisearch\meilisearch-php\src\Endpoints\Indexes.php:89
MeiliSearch\Endpoints\Indexes::newInstance(["hilinkz-1zcuavQUWzb0mAx7", "enqueued", "indexCreation", "2021-12-11T14:54:06.828356
800Z"])
Beta Was this translation helpful? Give feedback.
All reactions