Tagged: PHP7
-
AuthorPosts
-
February 20, 2017 at 6:52 pm #749517
FILE: /nas/content/live/williamasch/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: /nas/content/live/williamasch/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
——————————————————————————————————————————————————————–February 20, 2017 at 7:04 pm #749522I ran a PHP7 compatibility test Enfold showed these errors. I am not sure what to do about them. Is the theme stable with PHP7 and do I need to do anything or should I worry about these errors?
- This reply was modified 7 years, 9 months ago by justmind.
February 20, 2017 at 7:31 pm #749531I found more, as I use the layerslider (I know, not enfold code) WPengine.com is rolling out PHP7 to interested parties and thus the move to a faster site.
FILE: /nas/content/live/thebrew/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
——————————————————————————————————————————————————–FILE: /nas/content/live/thebrew/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: /nas/content/live/thebrew/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: /nas/content/live/thebrew/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
——————————————————————————————————————————————————————–February 20, 2017 at 8:20 pm #749545Hi!
Current version of LayerSlider included in the theme is not PHP7 compatible yet. We will include the latest version of LayerSlider in upcoming update which we are planning to release this week. It will bring PHP7.1.x compatibility as well :)
Regards,
YigitMarch 23, 2017 at 6:33 pm #765640One last question on this issue. I am getting an error that relates to the slider. Can you clear up why this is? I want to update to PHP 7 but I am just making sure this will be okay in light of the error below.
FILE: /nas/content/live/williamasch/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tab_section.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/williamasch/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/williamasch/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
—————————————————————————————————————-March 24, 2017 at 7:56 pm #766371Hi justmind,
These are warnings not errors, and these are just about different codes for line endings.
These are not critical and they don’t break WordPress or Enfold, or LayerSlider.
Let us know if you have any more questions.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.