Page 1 of 1

PHP 7.x to PHP 8.1 HOSTING/PHP Errors

Posted: Tue Jul 16, 2024 1:04 pm
by cwh2000
Receive the follow error messages after upgrading PHP 7.3 or 7.4 to PHP 8.1 in the admin console:

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45


Orders Total Date Status


Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Deprecated: Function strftime() is deprecated in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.8.3/date.php on line 45

Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /home/neperfmust/public_html/catalog/admin/includes/classes/web.php:49 Stack trace: #0 /home/neperfmust/public_html/catalog/admin/includes/modules/dashboard/d_phoenix_addons.php(28): Web::load_xml('https://feeds.f...') #1 /home/neperfmust/public_html/catalog/nepmadmin6470/index.php(56): d_phoenix_addons->getOutput() #2 {main} thrown in /home/neperfmust/public_html/catalog/admin/includes/classes/web.php on line 49

Re: PHP 7.x to PHP 8.1 Admin Error

Posted: Tue Jul 16, 2024 5:45 pm
by raiwa
You need to update to Phoenix 1.0.9.3+ or stay with PHP 8.0

Re: PHP 7.x to PHP 8.1 Admin Error

Posted: Thu Jul 18, 2024 6:40 am
by 14Steve14
We had similar problems when updating to php8.1 so did as raiwa suggests and only went to php8.0 and although there were some errors there were no where near as many.

Re: PHP 7.x to PHP 8.1 Admin Error

Posted: Thu Jul 18, 2024 10:19 am
by cwh2000
My ISP wants us to move to 8.1 at some point. After upgrading to 1.0.9.3 still receive this fatal error using PHP 8.1

Fatal error
: Uncaught Error: Call to undefined function simplexml_load_string() in /home/neperfmust/public_html/catalog/nepmadmin6470/includes/classes/web.php:49 Stack trace: #0 /home/neperfmust/public_html/catalog/nepmadmin6470/includes/modules/dashboard/d_phoenix_addons.php(28): Web::load_xml('https://feeds.f...') #1 /home/neperfmust/public_html/catalog/nepmadmin6470/index.php(57): d_phoenix_addons->getOutput() #2 {main} thrown in
/home/neperfmust/public_html/catalog/nepmadmin6470/includes/classes/web.php
on line
49

Re: PHP 7.x to PHP 8.1 Admin Error

Posted: Thu Jul 18, 2024 10:39 am
by burt
This means your PHP does not have simplexml_load_string enabled.
This is a hosting setting, therefore ask your host.