Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #862510

    Hello Support Team,

    is the current version of Enfold (4.1.2) working on a PHP 5.2.17 installation?

    I would change to a higher PHP version if i could, but sadly i dont have any access to the server configuration at the moment.

    Best regards,

    Marco

    #862523

    Hey Marco,

    Thanks for contacting us!

    Your current PHP version is too old to run the latest version of the theme properly. Minimum PHP version recommended for WordPress is 5.6 and Enfold is compatible up to PHP 7.1.

    I hope that helps! Let us know if you have any other questions or issues!

    Regards,
    Yigit

    #864796

    Hi Marco,

    You probably already found out, but perhaps someone else will find this information useful: Enfold 4.1.2 won’t run on PHP 5.2, because included Layer Slider version is no more PHP 5.2 compatible.

    Regards,
    Česlav

    #864805

    Hello Česlav,

    thank you for the additional information.

    I also discovered, that there’s an issue with integrating a child-theme in PHP 5.2. The reason for that is, that the so called anonymous functions (aka. functions without a name) aren’t available in PHP 5.2 yet. They got introduced in PHP 5.3.

    There’s an easy solution for that tho:
    Just cut the unnamed function out and create a new named function with its content in it. Then just call the function by its name where the anonymous function used to be.

    Regards,
    Marco

    #864828

    Hi Marco,

    Oh yeah, the anonymous function is also the reason why Layer Slider version included in Enfold 4.1.2 breaks on PHP 5.2, but there can be more incompatible code, because Layer Slider does not seem to support PHP 5.2 anymore (PHP 5.3 is required). On the other hand, it might not be a problem on websites not using Layer Slider actively (quote from https://support.kreaturamedia.com/docs/layersliderwp/documentation.html#release-log):

    While LayerSlider continues to require PHP 5.3.0 or newer, on the global scope it no longer uses language features that is not available in PHP 5.2.4. This ensures better overall compatibility with WordPress on pages where LayerSlider is not being actively used.

    Regards,
    Česlav

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