Closed geertjanknapen1 closed 7 months ago
Are you able to provide the full output of php please support:details
? It's missing key information, like the Statamic version.
Are you able to provide the full output of
php please support:details
? It's missing key information, like the Statamic version.
Oops, it never seems to copy properly. I've updated my original post with the additional information.
Thanks!
This bug was fixed back in January (see #9269). If you update to the latest version of Statamic, it should be sorted.
Thanks!
This bug was fixed back in January (see #9269). If you update to the latest version of Statamic, it should be sorted.
Thanks for the quick reply Duncan, much appreciated!
Bug description
I'm using the Meilisearch addon.
So, when I run
php please search:update
and then choose[0] all
it works like a charm and updates all my indexes.When I press the
Update all
button in{site_url}.test/cpanel/utilities/search
it throws an error.Undefined array key 1
.The error is thrown in
vendor/statamic/cms/src/Http/Controllers/CP/Utilities/UpdateSearchController.php:19
which turns out to be this line[$name, $locale] = explode('::', $index);
This happens immediately so I guess it happens for the first index already, which is named
Dynamic-Pages_En
in the control panel.How to reproduce
Index example:
Logs
Environment
Installation
Existing Laravel app
Antlers Parser
Runtime (default)
Additional details
It's a Multisite setup with 5 sites.