500 Error When Updating To PHP 8.2, 8.3 Or 8.4 - Question | JoomShaper

500 Error When Updating To PHP 8.2, 8.3 Or 8.4

Roger

Roger

General 1 month ago

Hello,

My webhost has been in contact to tell me i now need to upgrade the PHP 8.1 version to 8.2 or later. When i apply this change on my cpanel it breaks my website with the following error:

"Sorry, there was a problem we could not recover from. The server returned a "500 - Whoops, looks like something went wrong"".

I am running pagebuilder Pro 6.1.2 Joomla 5.4.1 Stable Template: Shaper_HelixUlitimate 2.2.3

As soon as i revert back to PHP 8.1 access is restored.

Attached photo 1 shows the error. I used the Joomla Forum Assistant (JFA) tool and it produced the following when i updated to 8.2 - not sure if this can help your support pinpoint petential issue??

Any assistance appreciated.

*Also is above template compatible with Joomla 6. I would like to update but do not want to break website.

Regards

Roger

0
7 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #213033

Hello Roger,

Thank you for reaching out to us.

SP Page Builder Pro v6.1.2, Joomla 5.4.1 (Stable), and the Shaper Helix Ultimate 2.2.3 template are all compatible with PHP 8.3. This suggests the issue may be caused by something else.

Please switch your PHP version to 8.2 and let us know, so we can further investigate and assist you accordingly.

Thank you.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #213039

I have few production websites on SPPB Pro 6.1.2 + Joomla 5.4.1 + HelixUlitimate 2.2.3 + PHP 8.3/8.4 and all works.


Problem can be from PHP settings itself, not CMS. In Joomla Admin you can set that to see more than E500.

error_reporting_debug.jpg

0
Roger
Roger
Accepted Answer
1 month ago #213171

Hello Paul / Ziaul,

I have updated my PHP version to 8.2 on the web hosting as requested to enable you to further investigate.

When it is resolved I can go as far as 8.3 you say? Not 8.4?

Also is what I have (template etc) Joomla 6 compatible? Can I update the PageBuilder safely to 6.2?

If you need anything else from me please just ask away.

Best regards

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #213191

Hi Roger,

Thanks for the details. The current error is not related to Joomla, SP Page Builder, or the template.

The issue is this message:

“The MySQLi extension is not available”

This means that on PHP 8.2, the mysqli PHP extension is disabled or missing on your hosting account. Joomla requires mysqli to connect to the database, so when it’s not available, the site throws a 500 error.

How to resolve it

Please do the following in cPanel:

  1. Go to Select PHP Version (or PHP Extensions)
  2. Make sure mysqli is enabled/checked
  3. Save the changes
  4. Switch back to PHP 8.2 and reload the site

If mysqli is not listed, please contact your hosting provider and ask them to enable the mysqli extension for PHP 8.2 on your account.

Once mysqli is enabled, the site should load normally on PHP 8.2 (and also PHP 8.3).

Let us know the update.

Thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #213189
  • PHP 8.3 fully OK
  • PHP 8.4 - OK as well, I use with J6 on few sites.
  • PHP 8.5 - will work, but some error messages.

Yes, raw Helix Ultimate can work in both J5 and J6, read changelog.

0
Roger
Roger
Accepted Answer
1 month ago #213406

Hello Paul that has resolved the issue. I have enabled it and it tested okay on 8.2, 8.3 and now running 8.4.

Can i just confirm i can update straight to J6 and PB 6.2 and shouldn't face any issues?

Many thanks for all of your assistance

Roger

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #213447

You can do that, But before this, I would suggest you to keep your site backup for safety.

Thanks

0