Page 1 of 1

problem after update of php

Posted: Thu Apr 02, 2026 5:25 pm
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?

Re: problem after update of php

Posted: Thu Apr 02, 2026 9:36 pm
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

Re: problem after update of php

Posted: Thu Apr 02, 2026 9:52 pm
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.

Re: problem after update of php

Posted: Fri Apr 03, 2026 12:15 pm
by raiwa

Re: problem after update of php

Posted: Fri Apr 03, 2026 5:11 pm
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