@ecartz I know you're right and this hole is getting deeper as now these warnings have appeared in the admin error log and they are totally new to me.ecartz wrote: ↑Sat Feb 11, 2023 9:26 pm That error would go away if you changed the line toBut a better solution might be to change whatever is setting $languages to be a string. Because it may have other side effects.Code: Select all
if (is_array($languages) && (count($languages) > 1)) {
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of database_core::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 /home/demo/public_html/includes/system/versioned/1.0.8.1/database_core.php on line 61
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of Href::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.5/href.php on line 145
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::open($save_path, $session_name) should either be compatible with SessionHandler::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 27
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::close() should either be compatible with SessionHandler::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 15
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::read($key) should either be compatible with SessionHandler::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 31
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::write($key, $value) should either be compatible with SessionHandler::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 47
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::destroy($key) should either be compatible with SessionHandler::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 19
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::gc($maxlifetime) should either be compatible with SessionHandler::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 23
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::validateId($key) should either be compatible with SessionUpdateTimestampHandlerInterface::validateId(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 42
[12-Feb-2023 09:35:36 Europe/London] PHP Deprecated: Return type of mysql_session::updateTimestamp($key, $ignore) should either be compatible with SessionUpdateTimestampHandlerInterface::updateTimestamp(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/demo/public_html/includes/system/versioned/1.0.8.3/mysql_session.php on line 38