Call to undefined function array_any()

Hi
just migrating to 2025 and getting the below error. any ideas why and where to look to resolve?

src/Menu.php(156): Call to undefined function PHPMaker2025\XXXX\array_any()

public function renderMenu(): bool
{
    return array_any($this->Items, fn($item) => $this->renderItem($item));
}

Thanks

Make sure you have run composer update with the composer.json generated by v2025. It contains “symfony/polyfill-php84” which supports array_any(). Also make sure you have uploaded the updated “vendor” folder to your site.

I had php 8.4 installed put server was running 8.3

You should set the correct Target PHP version as “8.3”.

Thanks that worked a treat.