Some of the changes in XFES 2.2.2 include: PHP 8.1 compatibility. Avoid a shard error if a user searches for a query that exceeds the max_clause_count value. XenForo Enhanced Search requires XenForo 2.2 or later.
I've updated this resource to the latest version 2.2.1