Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #853763

    Hi
    I have just run the PHP compatibility checker plugin on my clients website which has the enfold theme. It has brought up the error below, can you please let me know how to fix this error so we can switch over to php 7?

    Thank you

    FILE: /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.
    —————————————————————————————————————————————————————————

    #854221

    Hey peta_moonstone,

    What version of the theme are you running?

    Best regards,
    Rikard

    #854296

    Hi Rikard
    We have 4.1.2 running

    #854723

    Hi,

    Thank you for using our theme and reporting this.

    I proposed a fix for that for the next update – Kriesi will check it.

    Best regards,
    Günter

    #856362

    Thank you Günter.
    Can I please confirm, do we need to wait for the next Enfold update before we switch over to php 7?
    Best regards
    Peta

    #856393

    Hi Peta,

    We have a lot of customers already running on php7, my local instance is on php7 and it works. If you have a test server you can switch to php7 there, see how it works and then proceed.

    Best regards,
    Victori

    #856444

    Hi,

    As long as you do not import any demo you should not have any problems.

    Kriesi already merged my update into the core. If you need to import demos, let us know and we will provide you with the updated version of the file mentioned in the error log.

    Best regards,
    Günter

    #856471

    Thank you Victoria and Günter for getting back to me.
    I will update to php 7 and let you know if I have any problems.
    Thank you for all your help, very much appreciated!
    Peta

    #856490

    Hi,

    If you have any problems and need more assistance feel free to open a new topic. I will close this topic for now.

    Enjoy the theme and have a nice day.

    Best regards,
    Günter

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘php compatibility error’ is closed to new replies.