exponentcms / exponent-cms

Content Management, Simple.
exponentcms.org
GNU General Public License v2.0
59 stars 24 forks source link

Add PHP v8.1 Compatibility #1543

Closed dleffler closed 2 years ago

dleffler commented 3 years ago

There are some breaking changes in PHP v8.1 (8.1.0alpha2)

dleffler commented 2 years ago

In the next patch (v2.6.0patch2) we've added some code which should prevent the fatal errors (mostly in the mysqli module), though the warnings listed above have not yet been addressed.

dleffler commented 2 years ago

Also strftime() is deprecated and must be replaced by date(). This also requires changing the 'format' strings, however we'll insert a function to change the format strings, at least initially.

dleffler commented 2 years ago

It should be noted that several 3rd party libraries are not yet PHP 8.1 compliant

dleffler commented 2 years ago

Fixed with v2.6.0patch2