PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
When I use CLI to install extensions, I see these messages:
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///var/www/flarum/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///var/www/flarum/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:777
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///var/www/flarum/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:782
Loading composer repositories with package information
Deprecation Notice: Implicit conversion from float 204.57 to int loses precision in phar:///var/www/flarum/composer.phar/src/Composer/Platform/Version.php:100
Deprecation Notice: Return type of Composer\DependencyResolver\Pool::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/Pool.php:76
Updating dependencies
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/RuleSet.php:116
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/RuleSet.php:101
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/Decisions.php:155
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/Decisions.php:165
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/Decisions.php:160
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/Decisions.php:170
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/Decisions.php:150
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/Decisions.php:145
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/RuleSetIterator.php:36
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/RuleSetIterator.php:46
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/RuleSetIterator.php:41
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/RuleSetIterator.php:89
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/flarum/composer.phar/src/Composer/DependencyResolver/RuleSetIterator.php:70
Flarum information
Flarum core: 1.8.8
PHP version: 8.2.24
MySQL version: 10.5.26-MariaDB-0+deb11u2
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, soap, sockets, ssh2, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+-----------------------------------+-------------+--------+
| Flarum Extensions | | |
+-----------------------------------+-------------+--------+
| ID | Version | Commit |
+-----------------------------------+-------------+--------+
| flarum-flags | v1.8.1 | |
| flarum-tags | v1.8.2 | |
| flarum-approval | v1.8.2 | |
| flarum-likes | v1.8.1 | |
| flarum-mentions | v1.8.4 | |
| flarum-subscriptions | v1.8.1 | |
| flarum-suspend | v1.8.3 | |
| flarum-sticky | v1.8.1 | |
| afrux-forum-widgets-core | v0.1.7 | |
| clarkwinkelmann-likes-received | 1.0.2 | |
| fof-oauth | 1.6.12 | |
| fof-follow-tags | 1.2.6 | |
| fof-byobu | 1.3.8 | |
| ianm-synopsis | 1.3.5 | |
| fof-merge-discussions | 1.4.1 | |
| v17development-seo | v1.8.1 | |
| the-turk-stickiest | 2.0.3 | |
| the-turk-nodp | 1.0.1 | |
| ralkage-hcaptcha | 1.0.0 | |
| noriods-auto-more | v1.0.0 | |
| nearata-internal-links-noreload | v2.2.0 | |
| justoverclock-welcomebox | 1.3.4 | |
| justoverclock-user-statistics | 0.1.9 | |
| justoverclock-keywords | 1.9.4 | |
| justoverclock-hashtag | 1.0.1 | |
| justoverclock-guestengagement | 1.0.3 | |
| jinber-jdunion | v1.0.3 | |
| imshuzai-right-and-center-bbcode | 1.0.0 | |
| ianm-oauth-amazon | 1.0.2 | |
| ianm-no-meta-title | 1.1.0 | |
| ianm-follow-users | 1.4.9 | |
| fof-upload | 1.5.5 | |
| fof-spamblock | 1.1.2 | |
| fof-sitemap | 1.0.3 | |
| fof-share-social | 1.2.0 | |
| fof-profile-image-crop | 1.1.6 | |
| fof-prevent-necrobumping | 1.1.2 | |
| fof-pretty-mail | 1.1.2 | |
| fof-polls | 1.4.2 | |
| fof-pages | 1.0.8 | |
| fof-masquerade | 2.1.5 | |
| fof-links | 1.3.0 | |
| fof-linguist | 1.1.2 | |
| fof-impersonate | 1.2.0 | |
| fof-ignore-users | 1.2.1 | |
| fof-html-errors | 1.1.2 | |
| fof-geoip | 1.5.0 | |
| fof-formatting | 1.0.3 | |
| fof-drafts | 1.2.11 | |
| fof-discussion-thumbnail | 1.1.3 | |
| fof-best-answer | 1.5.7 | |
| fof-bbcode-tabs | 1.0.3 | |
| fof-ban-ips | 1.1.1 | |
| fof-analytics | 1.1.0 | |
| flarumtr-mobile-search | v1.2 | |
| flarumite-simple-discussion-views | 1.2.4 | |
| flarum-statistics | v1.8.1 | |
| flarum-nicknames | v1.8.1 | |
| flarum-markdown | v1.8.1 | |
| flarum-lock | v1.8.1 | |
| flarum-lang-english | v1.8.0 | |
| flarum-lang-chinese-simplified | v1.1.1.1220 | |
| flarum-emoji | v1.8.1 | |
| flarum-bbcode | v1.8.0 | |
| davwheat-session-keepalive | 1.1.0 | |
| datlechin-signup-button | v0.1.1 | |
| datlechin-scroll-buttons | v1.1.0 | |
| datlechin-birthdays | v2.1.2 | |
| datitisev-post-galleries | 1.1.1 | |
| darkle-fancybox | 1.1.4 | |
| clarkwinkelmann-status | 1.0.0 | |
| clarkwinkelmann-post-bookmarks | 1.0.0 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.3 | |
| blomstra-no-email-notifications | 0.1.0 | |
| blomstra-flag-duplicates | 0.2.3 | |
| askvortsov-pwa | v3.4.1 | |
| askvortsov-help-tags | v1.1.0 | |
| antoinefr-bbcode-fa | v1.0.0 | |
| afrux-top-posters-widget | v0.1.4 | |
| afrux-online-users-widget | v0.1.6 | |
| afrux-news-widget | v0.1.1 | |
| acpl-my-tags | 1.4.0 | |
+-----------------------------------+-------------+--------+
Base URL: https://livecan.net
Installation path: /var/www/flarum
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: smtp
Debug mode: ON
Does anyone know what shall I do to fix this? Thank you.