strftime has been deprecated
Since PHP 8.1, all operations print this warning:
Deprecated: Return type of Gettext\Translations::offsetSet($index, $value) should either be compatible with ArrayObject::offsetSet(mixed $key, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tinyib/inc/gettext/src/Translations.php on line 218
Given that this is a third-party library, it can probably just be rebased on the latest upstream version, or
ddde58d420 can be cherrypicked.
Additionally, accessing certain pages like the moderation log prints a deprecation warning regarding strftime(), which was deprecated in PHP 8.1. Some alternatives can be found here: https://github.com/modxcms/revolution/issues/15864
Thanks for your detailed report. It seems like formatting dates with locale support will require adding a new dependency, the intl extension. I am tempted to simply suppress the warning until they remove it, but I will plan on adding a fallback at some point to properly resolve this. PRs are also welcome.
Deleting a branch is permanent. It CANNOT be undone. Continue?