-
AuthorPosts
-
November 30, 2022 at 7:14 pm #1374505
Gabriel
GuestI saw many posts on the forum that Enfold supports PHP 8. But I’m getting compatibility errors still, and since I’m not a customer I can’t hop on the forum to mention it. So here i am.
Enfold 5.1.2 PHP 8 Compatibility
/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php:220
“Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.”/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-sub-item-query-base.php:99
“Visibility for magic method __destruct must be public. Found: protected”December 1, 2022 at 12:22 pm #1374591Hey Gabriel,
Thanks for reporting this.
Sounds a bit strange as I work with 8.0 and get no notices.
But I added fixes for the next release for both problems. Can you wait for that or do you need the fixes now?
Best regards,
GünterDecember 1, 2022 at 4:31 pm #1374668Gabriel
GuestI can certainly wait. And these errors aren’t from PHP directly but from a PHP 8 compatibility checker on Nexcess (website host). Before switching PHP versions, it will check compatibility and those were the errors it mentioned. I don’t know how much impact it has in practice, but figured I’d pass them along to get them resolved either way.
December 1, 2022 at 7:43 pm #1374698Hi,
Thanks for the update, please let us know if you should need any further help on the topic.
Best regards,
RikardDecember 1, 2022 at 10:47 pm #1374714Gabriel
GuestWhat version should I expect this patch in and when? Thanks!
December 2, 2022 at 11:24 am #1374751 -
AuthorPosts
- You must be logged in to reply to this topic.
