Issue appear after I upgrade PHP to 8.1 and above - Forum | JoomShaper
Staff replied SP Page Builder

Issue appear after I upgrade PHP to 8.1 and above

Asked by 5uwebsite 2 years ago Last activity 2 years ago

Hi There,

After I launch the website, I found that there are some issues on footer position. This issue happened several times.

This problem occurs as soon as we upgrade PHP to 8.1 and above. Could you please help us out and tell us how to avoid this problem from recurring in the future.

Please see the screenshot to figure out this issue.

https://mrkr.io/s/6639476fea429f722c0dc348/0
https://mrkr.io/s/66394d20bc54b3f21498b7b1/0

Thank you,
Bill

9 replies

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. I have added solution. Maybe, your server used caching & please clean your cache from the server. Then check again.

Best regards,

Toufiqur Rahman (Team Lead, Support)

5uwebsite Asked this

Hi Tofiqur,

Thank you for your help. However, after cached files are cleared, we just got an error after this fix and the whole website is not loading. As shown here:

https://mrkr.io/s/663a4b67387180edf899c0b3/0

Could you please take a look?

Thanks.

Paul Frankowski Senior Staff

Fixed.

That file in template folder was from wrong version of helix: html\layouts\chromes\sp_xhtml.php

5uwebsite Asked this

Hi Paul,

This issue happened several times. We often use Joomshaper's template, so how do we solve this problem in the future?

If we use PHP 8.1 or above version in the future. Will this problem still occur?

Thanks

Paul Frankowski Senior Staff

Your template is ... old based on Helix3.

With small (our) help it should work in PHP 8.1 as well.

5uwebsite Asked this

Hi Paul,

What we should do for many other templates of JoomShaper. They all have similar issues when using php 8.1 or up. We want to use at least php8.2. Is there a guide to fix them all?

Thanks

Toufiq Senior Staff

I have checked today & no issues on your site. Even your site uses PHP 8.1.

5uwebsite Asked this

Hi Toufiq,

We are experiencing the same problem with the template we use for our other sites. Can you please tell us what we can do to solve it. Is there any way we can fix these same issues ourselves.

Template PHP version is 8.1 or above will have the same problem.

Thanks

Toufiq Senior Staff

Download the latest version of the template and install it on your site. Before applying this process, Please keep a backup of your site. Thanks

5uwebsite Asked this

Thanks Toufiq. Is there a way to get the templates updated at the backend, without erasing the custom CSS rules we made for each website?

Thank you.

Toufiq Senior Staff

If you need custom css code then you should create a custom.css file inside the css file inside the template css directory. Then install the template. Thanks

Note: You should keep a backup before doing major updates.

Log in to reply.