Just upgraded to PHP 8.2 and we are getting errors in the BetterSearch plugin. I’ve added an issue on the plugins’ Github page, but does anyone have any ideas?
Fails in:
site/plugins/kirby-bettersearch/src/bettersearch.php
line 33
$page->searchHits = 0;