With php8.1, there are many PHP messages ("Deprecated function") that are generated in "/admin/reports/dblog"
example:
Deprecated function : Return type of Drupal\ui_patterns\Definition\PatternDefinitionVariant::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice dans include() (/var/www/studio-jamaisvu/web/modules/contrib/ui_patterns/src/Definition/PatternDefinitionVariant.php ligne 10)
#0 /var/www/studio-jamaisvu/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real()
#1 /var/www/studio-jamaisvu/web/modules/contrib/ui_patterns/src/Definition/PatternDefinitionVariant.php(10): _drupal_error_handler()
#2 /var/www/studio-jamaisvu/vendor/composer/ClassLoader.php(571): include('...')
#3 /var/www/studio-jamaisvu/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
[...]
With php8.1, there are many PHP messages ("Deprecated function") that are generated in "/admin/reports/dblog" example: