PHP 7.x to PHP 8.1 HOSTING/PHP Errors

Open to all! Ask other shopowners for help.
Post Reply
cwh2000
Member
Posts: 60
Joined: Fri Jul 30, 2021 10:21 am
Phoenix Version: v1.0.9.9

PHP 7.x to PHP 8.1 HOSTING/PHP Errors

Post 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


Join The Code Co-op to get access to your library in the Code Co-op Forum
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: PHP 7.x to PHP 8.1 Admin Error

Post by raiwa »

You need to update to Phoenix 1.0.9.3+ or stay with PHP 8.0
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: PHP 7.x to PHP 8.1 Admin Error

Post 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.
cwh2000
Member
Posts: 60
Joined: Fri Jul 30, 2021 10:21 am
Phoenix Version: v1.0.9.9

Re: PHP 7.x to PHP 8.1 Admin Error

Post 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
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: PHP 7.x to PHP 8.1 Admin Error

Post by burt »

This means your PHP does not have simplexml_load_string enabled.
This is a hosting setting, therefore ask your host.
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply