Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #834279

    WP 4.8
    Enfold 4.0.7 (the 4.1.2 have some bugs related to mobile etc)

    Hi, I am moving over to PHP 7.0 at the WP-Engine hosting. They have a PHP compability checker that shows the following warnings and one error, should I be worried or test if it works?:

    FILE: /nas/content/live/aptilo/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row.php
    ———————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ———————————————————————————————————–

    FILE: /nas/content/live/aptilo/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contentslider.php
    —————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————-
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    —————————————————————————————————————-

    FILE: /nas/content/live/aptilo/wp-content/themes/enfold/framework/php/wordpress-importer/wordpress-importer.php
    —————————————————————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————————————————————————
    798 | ERROR | 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.
    —————————————————————————————————————————————————————————

    • This topic was modified 6 years, 11 months ago by Terve.
    #834287

    Hey Terve!

    What kind of issues have you experienced on Enfold 4.1.2? We would recommend you to use the latest version of the theme.

    Cheers!
    Yigit

    #834404

    Hi Yigit,

    It can be caused by our child theme I have our developer looking at it. I have spotted two errors:

    1. The hamburger menu is showing up at the right-hand side also for large screens. For mobile size screens it shows up also as an extra hamburger in the mobile menu.

    2. The Google map module we use at contact us page does not load.

    In the private content you will find URL etc if you want to check.

    Otherwise PHP 7 seems to work well both with the 4.2.1 and 4.0.7 although I still get the same entries in the error log.

    #834556

    Hi,

    Thanks for creating a stating site. Could you please post WP admin logins to it as well so we can look further into it?

    Best regards,
    Yigit

    #834649

    Thanks Yigit for engaging in this.

    #836277

    According to my developer:
    It turned out that the problem with the hamburger menu was related to our child theme that was not adapted for the new mobile menu in enfold.
    The map issue is probably related to that the API /domain “mapping” since we have a different domain in the staging area.

    Sorry for triggering this issues without looking into it better.

    However: There is still one error in the compatibility checker (and the same warnings as before):

    798 | ERROR | 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.

    Is this a known problem for PHP7. Note that the compatibility checker notifies about this error also for 4.2.1.

    #837583

    Hi,

    That is something that is not a problem ( as a compatibility issue ) but we will do although open a github case, so we can track it down.
    You can freely update with np at all.

    Best regards,
    Basilis

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