Jump to content

Stock Theme. Site Breaks when set to PHP8


Go to solution Solved by Miss_B,

Recommended Posts

Posted

Hi All. Hope all very well.

I contacted my hosting provider to upgrade from PHP 7.4 to 8. The forum breaks with this error:

Hello,

It appears your theme is not compatible with PHP 8+

=====
Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/powerfo/public_html/system/Theme/Theme.php(885) : eval()'d code on line 2016
=====

I am running the stock theme and not 3rd party plugins or applications.

Very much hoping for help.

Thanks all.

Sincerely

Jay

Posted
4 minutes ago, Jason Back said:

It appears your theme is not compatible with PHP 8+

Are you using a custom theme? If so you must contact its designer so they can make it php 8 compatible.

Posted
15 minutes ago, Miss_B said:

Are you using a custom theme? If so you must contact its designer so they can make it php 8 compatible.

Hi there, It is the stock theme. Take a look at www.powerforum.co.za

Really appreciate the help.

Sincerely

Jay

Posted
2 minutes ago, Jason Back said:

Hi there, It is the stock theme. Take a look at www.powerforum.co.za

Really appreciate the help.

Sincerely

Jay

In that case, most likely one of the custom plugins/apps is causing this. Try to disable them one at a time till you find the culprit.

Can you check the logs in your Admin Panel and post here the most recent error messages? 

Posted (edited)

If they are disabled then I don't think that removing them is necessary. But if you do remove them, make sure to make a backup of the database tables that they have added, in case you would like to use them again later.

What about the logs in your Admin Panel? Are there any error messages logged in there recently?

What version of Ipb are you using btw?

Edited by Miss_B
Posted
6 minutes ago, Miss_B said:

If they are disabled then I don't think that removing them is necessary. But if you do remove them, make sure to make a backup of the database tables that they have added, in case you would like to use them again later.

What about the logs in your Admin Panel? Are there any error messages logged in there recently?

What version of Ipb are you using btw?

Thanks, I am using : Version 4.7.1

Posted
8 minutes ago, Jason Back said:

Thanks, I am using : Version 4.7.1

You should upgrade to the the latest stable version imo, 4.7.4. which  has the minimum PHP version 8.0.

Posted

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

 

Posted
39 minutes ago, Marc Stridgen said:

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

 

Thank you. I have updated the details. I hope you have luck with the issue, I would love to upgrade.

Many thanks. Looking forward.

Posted

I have managed to get in there now, and would suggest updating your site to the latest release. You are currently on an earlier 4.7 release, which will have had many bug fixes since

Posted
On 11/19/2022 at 4:38 PM, Miss_B said:

This can be marked as solved. @Jason Back contacted me and I upgraded the forum successfully to the latest version running on php 8.

Thanks so much for the great support. I can highly recommend their services. Very professional.

Jay

Posted
1 hour ago, Jason Back said:

Thanks so much for the great support. I can highly recommend their services. Very professional.

Jay

Glad to have been of help. Thank you for your kind words 😊

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...