Siberian icon indicating copy to clipboard operation
Siberian copied to clipboard

[Support] PHP 8.2 Thread

Open SiberianCMS opened this issue 10 months ago • 19 comments

For the adopters of PHP 8.2, please feel free to report any related issue that may be caused by this version of PHP

--

SiberianCMS avatar Mar 09 '25 14:03 SiberianCMS

@SiberianCMS: Have you a release date for 5.1.x?

Neustradamus avatar Mar 09 '25 14:03 Neustradamus

@Neustradamus 5.1 will probably be the early release of Next (core integration, etc... ) but all transparent, to ensure the system works well

SiberianCMS avatar Mar 09 '25 14:03 SiberianCMS

Zend Framework 1 removal is very important. Never too late!

Neustradamus avatar Mar 09 '25 15:03 Neustradamus

Zend Framework 1 removal is very important. Never too late!

Yes clearly, but for the backward support, the time everything core is migrated to Symfony, we will still preserve it, we already extended the ZF1 suppor to PHP 8.3, so we have a little margin

SiberianCMS avatar Mar 09 '25 15:03 SiberianCMS

The problem is that ZF1 is not secure, ...

The migration is complete in "unstable" branch?

Neustradamus avatar Mar 09 '25 15:03 Neustradamus

Hi, The module Stripe for Platform Edition not working with php 8.2

willzemberg avatar Mar 12 '25 15:03 willzemberg

@SiberianCMS: In parallel of the @willzemberg remark, can you add Stancer support?

  • https://stancer.com/
  • https://docs.stancer.com/
  • https://github.com/wearestancer
  • https://gitlab.com/wearestancer

Neustradamus avatar Mar 13 '25 09:03 Neustradamus

Hi @SiberianCMS there is this error with php 8.2 This error occurs when trying to edit any user information

Image Image

willzemberg avatar Mar 21 '25 11:03 willzemberg

This error is in both php. 7.3 or 8.2 This other error is when you try to recover the user's password.

https://github.com/user-attachments/assets/1add7297-16e4-4ea8-b6f8-f2487a14e046

"We are having an issue where users are trying to reset their password and are met with an error like "Incorrect Phone Number Format" when they try to submit. It says that there may be no special characters."

willzemberg avatar Mar 21 '25 11:03 willzemberg

This error is in both php. 7.3 or 8.2 This other error is when you try to recover the user's password.

WhatsApp.Video.2025-03-20.at.15.43.39.mp4 "We are having an issue where users are trying to reset their password and are met with an error like "Incorrect Phone Number Format" when they try to submit. It says that there may be no special characters."

It looks like the mobile number has been made mandatory between account creation and after, the account has no mobile number, try first to add a mobile number, save, then reset change the password.

Slicit avatar Mar 28 '25 11:03 Slicit

can not move to php 8.2 as contact form is riddled with errors, its fine in php 7.3/4 edited out the email info this is how the message comes in show errors is off in php settings too

=0A=0A =

=0A <meta http-equiv=3D"Content-Type" content=3D"text/html; chars= et=3DUTF-8" />=0A =0A

=0A <div style=3D"margin= : auto; width: 600px;">=0A <div style=3D"margin:auto; padding= : 0 15px; color:#888888; font-size: 17px; line-height: 150%; width:600px= ">=0A
=0A=0A
=0A <= div style=3D"margin:auto; margin-top: 15px; padding: 0 15px; color:#8888= 88; font-size: 17px; line-height: 150%; width:600px">=0A = =0A =0A =0A =0A
=0A

Hello,

=0A

= =0A =0A = You have received a message from a contact: xx
= =0A
=0A

=0A

=0A Here is his message:= Hello

=0A

=0A = =0A Here is his em= ail: [xx@xxxx](mailto:[email protected])= =0A =0A

=0A =
=0A
=0A
=0A
=0A
=0A =0A = =0A=0A=0A

rogerdavis198 avatar Jul 13 '25 14:07 rogerdavis198

My SiberianCMS site is not loading on PHP 8.2. It shows the following error:

This page isn’t working apps.xxxxxxx.com is currently unable to handle this request. HTTP ERROR 500

AJMALSARIM avatar Jul 16 '25 18:07 AJMALSARIM

My SiberianCMS site is not loading on PHP 8.2. It shows the following error:

This page isn’t working apps.xxxxxxx.com is currently unable to handle this request. HTTP ERROR 500

You can try this

Add this line $_config["handle_fatal_errors"] = true; to your config.user.php or config.php file And you can also add $_config["environment"] = "development";

You'll get more information about the error origin

Slicit avatar Jul 16 '25 19:07 Slicit

@Slicit: 5.0.16 and 5.1.x have a date of release?

Neustradamus avatar Jul 16 '25 21:07 Neustradamus

Calendar feature is not working, freshly installed Siberian environment, single app, running on PHP 8.2.28


2025/09/15 16:18:18 [error] 3493251#3493251: *4358188 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/test-app/public_html/app/sae/modules/Event/controllers/Mobile/ListController.php:43
Stack trace:
#0 /home/test-app/public_html/app/sae/modules/Event/controllers/Mobile/ListController.php(43): in_array()
#1 /home/test-app/public_html/lib/Zend/Controller/Action.php(516): Event_Mobile_ListController->findallAction()
#2 /home/test-app/public_html/lib/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()
#3 /home/test-app/public_html/lib/Zend/Controller/Front.php(963): Zend_Controller_Dispatcher_Standard->dispatch()
#4 /home/test-app/public_html/app/Bootstrap.php(462): Zend_Controller_Front->dispatch()
#5 /home/test-app/public_html/lib/Zend/Application.php(366): Bootstrap->run()
#6 /home/test-app/public_html/index.php(121): Zend_Application->run()

RedFoxie avatar Sep 15 '25 14:09 RedFoxie

Another ticket here:

  • https://github.com/Xtraball/Siberian/issues/882

Note: Official PHP supported version page:

  • https://www.php.net/supported-versions

Neustradamus avatar Oct 13 '25 15:10 Neustradamus

looking at this we are now on php 8.3 so i sling that on my test server and see if it works now the contact emails ?

rogerdavis198 avatar Oct 13 '25 17:10 rogerdavis198

used it on 8.3 and email is still full of code , there must be some way of hiding the hidden code

rogerdavis198 avatar Oct 13 '25 18:10 rogerdavis198

Actually its not just the emails its everything the system spews out, i just remade the apk and the email it sends out, is just full of bad code too so its someting in the main php system thats afecting it all

rogerdavis198 avatar Oct 13 '25 18:10 rogerdavis198