Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1374505
    Gabriel
    Guest

    I 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”

    #1374591

    Hey 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ünter

    #1374668
    Gabriel
    Guest

    I 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.

    #1374698

    Hi,

    Thanks for the update, please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #1374714
    Gabriel
    Guest

    What version should I expect this patch in and when? Thanks!

    #1374751

    Hi,

    Thanks for the update. They will likely be included in the next version of the theme. We can’t say exactly when it will be released unfortunately.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.