lscache_prestashop icon indicating copy to clipboard operation
lscache_prestashop copied to clipboard

php8.1 and later compatibility

Open therampagerado opened this issue 1 year ago • 12 comments

Today I tried running my shops on php8.1 but the module is pumping lots of deprecetions.

image

Any roadmap for support of the latest php versions?

therampagerado avatar Jan 03 '24 18:01 therampagerado

Yes please, I'm interested too. There are more and more stores with Litespeed and Prestashop and we need support. thank you

soyjosean avatar Jan 07 '24 12:01 soyjosean

@MathiasReker Would you mind helping us? thank you

soyjosean avatar Jan 09 '24 20:01 soyjosean

@MathiasReker Would you mind helping us? thank you

Sorry, I am not the owner of this repository.

MathiasReker avatar Jan 09 '24 22:01 MathiasReker

@therampagerado I have adapted it for PHP 8, check that everything works correctly

https://github.com/litespeedtech/lscache_prestashop/pull/59 https://github.com/litespeedtech/lscache_prestashop/pull/58

soyjosean avatar Jan 12 '24 18:01 soyjosean

anyone there? @litespeedtech Thanks

soyjosean avatar Jan 15 '24 16:01 soyjosean

@soyjosean I applied your fixes but the error I get from the other issue I filed is still present. Those are fixed I think.

New issue as of yesterday:

WARNING Message: filesize(): stat failed for /home/user/public_html/domain/cache/litespeedcache/PSe772b4eHASH9d6eb134176dada.data

Location: modules/litespeedcache/classes/Helper.php line 202

php 8.0.30

therampagerado avatar Feb 07 '24 17:02 therampagerado

I can't help you if you don't give me more information. What version of PrestaShop do you have? Have you tested if it works with php 8.1?

soyjosean avatar Feb 07 '24 19:02 soyjosean

I'm using this on thirtybees, so Prestashop 1.6.1 plus many fixes.

therampagerado avatar Feb 07 '24 19:02 therampagerado

Not very active repository unfortunately.

therampagerado avatar Feb 20 '24 17:02 therampagerado

You are using a Prestashop fork (thirtybees). I can not help you

soyjosean avatar Feb 20 '24 18:02 soyjosean

The majority of the core is still the same but obviously some changes made those warnings appear if you don't see them in PS 1.6.

Will try with their slack channel.

therampagerado avatar Feb 20 '24 18:02 therampagerado

Hello,

I put now one contrib, tested in PHP8.1 with PrestaShop 8.1.5

Many thanks

jlores avatar Mar 22 '24 20:03 jlores