Email from the internet provider today stating that:
PHP 8.0 is no longer supported by PHP.
Your web hosting now automatically upgraded to PHP 8.2.
If you experience problems, e.g. in the form of "blank" front page, "MySQL" error or a "server error", check the documentation for your software and see our info on PHP 8 here.
If necessary, try downgrading to PHP 8.1. Please note that PHP 8.1 is only supported until November 2024.
Have downgraded to PHP 8.1
We have had to temporarily close the online shop due to error messages and the fact that it is not possible to buy products.
The following error messages are displayed on the front page and when you click on purchase, items are not added to the shopping basket.
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.1/database_core.php on line 61
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.5/href.php on line 139
Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/6/a/antrade/www/shop/includes/system/segments/application/start_session.php on line 13
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 27
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 15
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 31
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 47
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 19
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 23
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 42
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 38
Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /home/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/session.php on line 103
Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /home/6/a/antrade/www/shop/includes/system/versioned/1.0.7.7/cookie.php on line 60
Warning: session_start(): Session cannot be started after headers have already been sent in /home/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/session.php on line 55
The admin page does not open. Shows only error messages:
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.1/database_core.php on line 61
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.5/href.php on line 139
Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/6/a/antrade/www/shop/butikkoppsett/includes/application_top.php on line 74
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 27
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 15
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 31
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 47
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 19
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 23
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 42
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/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/mysql_session.php on line 38
Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /home/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/session.php on line 103
Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /home/6/a/antrade/www/shop/includes/system/versioned/1.0.7.7/cookie.php on line 60
Warning: session_start(): Session cannot be started after headers have already been sent in /home/6/a/antrade/www/shop/includes/system/versioned/1.0.8.3/session.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at /home/6/a/antrade/www/shop/includes/system/versioned/1.0.8.1/database_core.php:0) in /home/6/a/antrade/www/shop/includes/system/versioned/1.0.8.5/href.php on line 168
Does anyone know what needs to be done for the online store to work again?
Big crisis. Admin page not displayed. Not possible to buy.
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Big crisis. Admin page not displayed. Not possible to buy.
In the configure.php files, change error_reporting to E_ALL^E_DEPRECATED
Also, set display_errors to false (0).
Also, set display_errors to false (0).
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Big crisis. Admin page not displayed. Not possible to buy.
Sorry, it is 1.0.8.16, but it is the same with plain installation of 1.0.8.20 and 1.0.8.21
Re: Big crisis. Admin page not displayed. Not possible to buy.
Thank you very much.
It saved the day and lifted a huge worry off my shoulders.