Password Strength module is not updated with PHP8.
While trying to create a new user, getting "The website encountered an unexpected error. Please try again later." error. and while checking the logs, we could see as
ParseError: syntax error, unexpected token "match" in Composer\Autoload\includeFile() (line 5 of /mnt/www/html/nvsproductdev/vendor/bjeavons/zxcvbn-php/src/Matchers/DictionaryMatch.php) #0 /mnt/www/html/nvsproductdev/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/mnt/www/html/n...') #1 /mnt/www/html/nvsproductdev/docroot/modules/contrib/password_strength/src/Matcher.php(23): Composer\Autoload\ClassLoader->loadClass('ZxcvbnPhp\\Match...') #2 /mnt/www/html/nvsproductdev/docroot/modules/contrib/password_strength/src/PasswordStrength.php(53): Drupal\password_strength\Matcher->getMatches('ruB?^tCN;`qQ
bjeavons/zxcvbn-php: 0.4.0 is not compatible with php8. The composer.json has to be updated with ^1.0 as defined in https://github.com/bjeavons/zxcvbn-php README.MD file
Drupal php requirement: Use PHP version 8.0 or higher for current release versions of Drupal 9. Drupal 10 will require PHP 8.0.2.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.