Tagged: php 7
-
AuthorPosts
-
September 19, 2017 at 9:22 am #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.
—————————————————————————————————————————————————————————September 20, 2017 at 7:33 am #854221September 20, 2017 at 10:54 am #854296Hi Rikard
We have 4.1.2 runningSeptember 21, 2017 at 11:00 am #854723Hi,
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ünterSeptember 25, 2017 at 8:43 am #856362Thank 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
PetaSeptember 25, 2017 at 10:16 am #856393Hi 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,
VictoriSeptember 25, 2017 at 12:15 pm #856444Hi,
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ünterSeptember 25, 2017 at 1:38 pm #856471Thank 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!
PetaSeptember 25, 2017 at 2:57 pm #856490 -
AuthorPosts
- The topic ‘php compatibility error’ is closed to new replies.