Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1375344

    Hi,

    I am currently on an old version of Enfold which works with PHP 5.5. However we wanted to use the new Parallax theme and was wondering if there is a way we can use it. On using the new version of enfold I get the following error :

    Parse error: syntax error, unexpected ‘.’, expecting ‘&’ or variable (T_VARIABLE) in /base/data/home/apps/s~sadhu-sanga/2023:20221207t000016.448392673815095650/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-element-styling-base.php on line 633

    Can I copy some files to older version to get the parallax theme? Is there a way to make the current version backward compatible to ues with PHP 5.5?

    #1375368

    Hey loghash,

    Thank you for using Enfold.

    PHP 5.5 is totally outdated and also for security reasons you should consider to update to a newer version.

    The problem you see here is already solved in 5.6 (https://www.javatpoint.com/php-variable-length-argument-function).

    There is a workaround for it:

    https://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list

    and

    https://www.php.net/manual/en/function.func-get-args.php

    You will need to modify theme core file

    enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-element-styling-base.php after line 633.

    But keep in mind you must modify this with every new release. We will not add this to core.

    If you need help with it let us know.

    Best regards,
    Günter

    #1375737

    Thanks so much Gunter!

    I was able to move past and install enfold now. However while trying the import the demo, I get the following error :

    stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://kriesi.at:443 (Unknown error)

    Is there a place I need to enable SSL in?

    Thank you!

    #1375771

    Hi,
    Are you still using PHP 5.5?
    If you have updated your PHP then try to follow this thread.
    According to this thread

    The error indicates an issue with the certificate that your web server is serving. Please contact your hosting company support to fix the certificate of a server for you.

    But if you are still using PHP 5.5 then that would be the first thing to correct. Please see PHP Compatibility and WordPress Versions starting with WordPress 5.2, WordPress has Dropped support for PHP 5.5.

    Best regards,
    Mike

    #1375956

    Mike,

    Thank you for your response! We are working on updating PHP to 7.4/8.1. Since we are using Google Cloud to host wordpress this is not a straight forward process.
    While we are trying to do that, Can you pls help in locating the Enfold Parllax theme to download directly? It is not available here :
    https://github.com/KriesiMedia/enfold-library/tree/master/demos

    Thanks

    #1375957

    Hey,

    Thanks for the heads up!

    We have uploaded Parallax demo files – https://github.com/KriesiMedia/enfold-library/tree/master/demos :)

    Regards,
    Yigit

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