Posted: July 19, 2023 at 9:05 am
I am on Event Espresso 5.0.7.p. Running PHP Compatibility Checker in anticipation of upgrading PHP on my site from version 7.4 to 8.2. I have received the following error for Event Espresso: |
|
Hi there, Something that is important to note is WordPress core itself doesn’t officially support PHP8.X yet (its ‘beta support’). PHP8.2 has significant changes and deprecated functions from 8.1 have been removed in 8.2, you’ll likely find EE throws fatals errors with it (as will many plugins) and we don’t officially support PHP8.1+ yet, which means we also don’t officially support 8.2. We are working through the code base and making improvements for PHP8 compatibility, but our codebase is massive, we are well over 1 million lines of code within Event Espresso so it takes time. PHP8.0 is the version I currently recommend if you want to use PHP8 for the highest compatibility. |
|
OK, thank you for your quick response. I appreciate it and I understand. Best Wishes. Peacefully, Keith Pacheco |
|
|
This is pretty egregious, in my opinion, considering that PHP 8.0 is not even in active support anymore, and contains known issues. In fact, 8.1 will no longer be actively supported either. WordPress Core blames the plugin ecosystem, and the plugins blame WordPress Core. Good grief. https://www.php.net/supported-versions.php |
|
*in 4 months, 8.1 will no longer be actively supported |
I mean, sure, I agree with you in part, but just because I agree with it doesn’t mean it’s easily fixed. I’m not blaming WordPress for us not supporting PHP8.1+, our codebase doesn’t support it and that’s on us, not WP. There are cases in which we use WordPress core functions and if they need to be updated, sure that’s on WordPress core but that’s still not me blaming WordPress for the situation. Regardless of PHP versions being EOL I still get people posting here about using PHP5 and the reality of it is that PHP7.4 is still the most widely used PHP version regardless of the fact that it has been EOL for over 7 months now. That doesn’t make it right but it’s the way it is. PHP has made a lot of breaking changes with PHP8 and it takes time to update everything to cover those. It’s a tricky situation all around which is why it hasn’t been fixed yet within WP itself.
Sure and again in years to come I’m sure people will still be using PHP8.1 and complaining that X doesn’t work with it anymore, it’s just the reality of it all. — I’d love to say I can drop tools now and have Event Espresso fully PHP8 compatible asap but in short, I can’t. |
|
The support post ‘PHP Compatibility’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.