problem after update of php

Open to all! Ask other shopowners for help.
Post Reply
Bertil
Member
Posts: 28
Joined: Wed Mar 17, 2021 2:22 pm
Phoenix Version: v1.0.9.0
Been thanked: 3 times

problem after update of php

Post by Bertil »

Hi, I am back after many years. I added swedish language pack years ago. Now I will begin again and update some test websites, but my webshop www.bpdata.se/TESTSHOP/ displays errors like:
Deprecated: Href::_build_prefixed_key(): Implicitly marking parameter $prefix as nullable is deprecated, the explicit nullable type must be used instead in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/versioned/1.0.8.5/href.php on line 162 Deprecated: Href::_flatten(): Implicitly marking parameter $prefix as nullable is deprecated, the explicit nullable type must be used instead in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/versioned/1.0.8.5/href.php on line 171 Deprecated: Text::is_empty(): Implicitly marking parameter $s as nullable is deprecated, the explicit nullable type must be used instead in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/versioned/1.0.8.2/text.php on line 38 Warning: session_name(): Session name cannot be changed after headers have already been sent (sent from /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/class_index.php on line 45) in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/segments/application/start_session.php on line 13 Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent (sent from /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/class_index.php on line 45) in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/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 (sent from /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/class_index.php on line 45) in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/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 (sent from /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/class_index.php on line 45) in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/versioned/1.0.8.3/session.php on line 55 Deprecated: Form::__construct(): Implicitly marking parameter $tokenize as nullable is deprecated, the explicit nullable type must be used instead in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/versioned/1.0.8.1/form.php on line 28 Deprecated: html_element::set(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /customers/d/8/5/cvicba8bl/webroots/www/Ph-sw-th-1.0.9.0/includes/system/versioned/1.0.8.1/html_element.php on line 63
What is the easiest way to fix it?


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
bonbec
Contributor
Posts: 190
Joined: Mon Oct 26, 2020 12:23 pm
Phoenix Version: V1.1.0.7
Has thanked: 54 times
Been thanked: 40 times

Re: problem after update of php

Post by bonbec »

I think that your CE PhoenixCart (perhaps 1.0.9.0) is not the latest version. What is your Php version ?
Php requirements for the 1.1.0.6 are :
- minimum 7.3
- maximum 8.3
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: problem after update of php

Post by burt »

Hello and welcome back Bertil. We always need to know your Phoenix version as it makes it easier to give a good answer. See viewtopic.php?f=10&t=3029 which shows how to do this one time, and not have to do it on every post.

If I remember well, we put in a lot of code work in the 1.0.9.x (1.0.9.1 to 1.0.9.10) series to deal with updates on PHP8 and MySQL.
I am not here to build for you.
I am here to build with you. Let's help each other.
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: problem after update of php

Post by raiwa »

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
Bertil
Member
Posts: 28
Joined: Wed Mar 17, 2021 2:22 pm
Phoenix Version: v1.0.9.0
Been thanked: 3 times

Re: problem after update of php

Post by Bertil »

Yes the CE Phoenix cart version is 1.0.9.0 and the php version was 8.5. I changed the php version to 8.2 and most of the errors disappeared. I think I will make a new installation of the latest ce phoenix cart version and new installation of the products. I will make a new swedish language package if needed as well in the coming weeks.
/ Bertil


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