First and foremost, a huge thank you to the UASECO development team! I've been a user for many years, and it continues to perform flawlessly on my server! You've developed a project that is of high quality, meticulously documented, and superbly maintained! Thank you
However, as time progresses, my server now operates on PHP 8.2, and a multitude of functions are now deprecated.
Is there any anticipation of releasing a 0.9.8 version that is compatible with PHP 8.2 and above in the near future?
On my end, I have been able to rectify several errors, but there remains a significant amount of work to be done. I am hopeful that a compatible version will be released, given the corrected files already present on your Github.
To illustrate the encountered issues, here are some examples of the problems:
Additionally, I've replaced the utf8_encode and utf8_decode functions that were generating numerous warnings in the logs.
Code: Select all
[PHP 8192] Creation of dynamic property Server::$maps is deprecated on line 360 in file /tmp/uaseco/uaseco.php
[PHP 8192] Creation of dynamic property MapList::$history is deprecated on line 361 in file /tmp/uaseco/uaseco.php
[PHP 8192] Creation of dynamic property MapList::$playlist is deprecated on line 362 in file /tmp/uaseco/uaseco.php
[PHP 8192] Creation of dynamic property Server::$players is deprecated on line 363 in file /tmp/uaseco/uaseco.php
[PHP 8192] Creation of dynamic property Server::$rankings is deprecated on line 364 in file /tmp/uaseco/uaseco.php
[PHP 8192] Creation of dynamic property Server::$mutelist is deprecated on line 365 in file /tmp/uaseco/uaseco.php
[PHP 8192] Return type of MXInfoSearcher::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice on line 90 in file /tmp/uaseco/includes/maniaexchange/mxinfosearcher.inc.php
[PHP 8192] Return type of MXInfoSearcher::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice on line 93 in file /tmp/uaseco/includes/maniaexchange/mxinfosearcher.inc.php
[PHP 8192] Return type of MXInfoSearcher::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice on line 96 in file /tmp/uaseco/includes/maniaexchange/mxinfosearcher.inc.php
[PHP 8192] Return type of MXInfoSearcher::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice on line 99 in file /tmp/uaseco/includes/maniaexchange/mxinfosearcher.inc.php
[PHP 8192] Return type of MXInfoSearcher::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice on line 87 in file /tmp/uaseco/includes/maniaexchange/mxinfosearcher.inc.php
[PHP 8192] Return type of MXInfoSearcher::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice on line 103 in file /tmp/uaseco/includes/maniaexchange/mxinfosearcher.inc.php
[PHP 8192] Method mysqli::get_client_info() is deprecated on line 411 in file /tmp/uaseco/includes/core/database.class.php
[PHP 8192] Implicit conversion from float 18.08388888888889 to int loses precision on line 876 in file /tmp/uaseco/includes/core/helper.class.php
[PHP 8192] Automatic conversion of false to array is deprecated on line 66 in file /tmp/uaseco/includes/core/message.class.php
[PHP 8192] Automatic conversion of false to array is deprecated on line 66 in file /tmp/uaseco/includes/core/message.class.php
[PHP 8192] Implicit conversion from float 11.25 to int loses precision on line 874 in file /tmp/uaseco/includes/core/helper.class.php
Code: Select all
PHP Deprecated: Return type of Database::multi_query($sql) should either be compatible with mysqli::multi_query(string $query): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tmp/uaseco/includes/core/database.class.php on line 143
PHP Deprecated: Return type of Database::prepare($sql) should either be compatible with mysqli::prepare(string $query): mysqli_stmt|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tmp/uaseco/includes/core/database.class.php on line 176
PHP Deprecated: Return type of Database::query($sql, $resultmode = MYSQLI_STORE_RESULT) should either be compatible with mysqli::query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tmp/uaseco/includes/core/database.class.php on line 132
PHP Deprecated: Return type of Database::real_query($sql) should either be compatible with mysqli::real_query(string $query): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /tmp/uaseco/includes/core/database.class.php on line 154
Xavier