php 7.4 compatibility for SMF 2.0.x?

Started by spiros, December 13, 2019, 01:39:24 PM

Previous topic - Next topic

vbgamer45

SMF 2.0.16 handles php 7.3 from what I can tell. I have been running SMF on php 7.3 for many months now.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

spiros

Yes, actually, did you try to update to SMF 2.0.16 in an install with your compat mod on? It gave me errors in installation. That is why I thought that it needs some edits to support installing on 2.0.16.

vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

spiros

So, I guess you will adapt it to support SMF 2.0.16?

vbgamer45

Not planning to, since the new SMF release fixes the issues.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

spiros

I thought it offers support only up to php 7.2 while yours up to 7.3

vbgamer45

It supports 7.3 as well. Just doesn't note it. I am running 2.0.16 on PHP 7.3
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

spiros

Lol, quite weird that they don't mention it... Is it just suppressing the errors or fixing the problematic code?

vbgamer45

Well for both 7.2 and 7.3 it is mainly just suppressing errors so that is the difference.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

spiros

That sounds like your mod + 2.0.15 is a better option for php 7.3

m4z

Quote from: spiros on December 30, 2019, 09:04:26 AM
Lol, quite weird that they don't mention it... Is it just suppressing the errors or fixing the problematic code?

I believe 7.3 hasn't been tested explicitly and thorougly, so no (full) 7.3 support is claimed.
I believe vbgamer means "it happens to work with 7.3 too, by happy accident".
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Kindred

Also, 2.0.16 includes security patches...   so continuing to run 2.0.15 is not recommended.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

spiros

Quote from: vbgamer45 on December 30, 2019, 09:00:22 AM
It supports 7.3 as well. Just doesn't note it. I am running 2.0.16 on PHP 7.3

Testing with 7.3 and SMF 2.0.17 I get:

8192: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
public_html/forum/Sources/Load.php
Line: 1398

Apparently php 7.3 compatibility:
https://github.com/barryvdh/laravel-ide-helper/issues/770

SpacePhoenix

Just giving 2.0.17 a quick try (clean install) with PHP 7.4, no errors so far (with error reporting cranked up full)

Advertisement: