-
AuthorPosts
-
December 6, 2016 at 6:42 pm #721167
Not urgent!
I just ran ‘PHP Compatibility Checker’ plugin on PHP 7.0 and it says Enfold is not compatible. This thread says it is:
https://kriesi.at/support/topic/php-7-0-2/#post-690296
What do you recommend. PHP 5.6 currently working fine.
Thanks
Rob
——————————————————–
Plugin says:
Enfold
Possibly not PHP 7.0 compatible.
10 Warnings
4 ErrorsDetails:
FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
5637 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
——————————————————————————————————————————————————————–FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider_old/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
5637 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
——————————————————————————————————————————————————————–FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider_old/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–December 8, 2016 at 5:00 pm #722072Hey!
Thanks for your input. We will pass the thread to our devs :)
Edit: Which version of Enfold are you using? :)Best regards,
Yigit- This reply was modified 8 years ago by Yigit.
January 31, 2017 at 12:55 am #740454I also ran the ‘PHP Compatibility Checker’ plugin for PHP 7.0 and got the same error and warning messages. I’m running Enfold 3.8.4.
January 31, 2017 at 1:45 pm #740612Hi I just noticed that I had not responded to Yigit’s question. I always keep my theme up to date so the latest version currently 3.8.4. I just ran it again and got a similar result.
This is the site I ran it on http://www.consolite.co.uk/
This is the new report:
FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
5637 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
——————————————————————————————————————————————————————–FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–January 31, 2017 at 1:49 pm #740616Hi!
We will update LayerSlider in upcoming Enfold update which is coming soon. All these warnings are related to LayerSlider and once we release the update, there should not be any issues at all :)
Regards,
YigitJanuary 31, 2017 at 1:56 pm #740622Great thanks Yigit. I noticed it seemed to be the Layerslider.
Cheers
RobJanuary 31, 2017 at 2:00 pm #740623 -
AuthorPosts
- The topic ‘PHP 7.0’ is closed to new replies.