My hoster Siteground this week started promoting the ability to move sites to PHP 7. (https://www.siteground.com/blog/wordpress-on-php7-now/). They released a plugin that will validate whether your site is ready for PHP 7 or not. Sadly it found issues with Workality and Visual Composer.
The plugin is: https://wordpress.org/plugins/sg-cachepress/ but it only works on sites hosted on SG. I've posted the issues below.
Are these known issues? Can I ignore them and move to PHP 7 anyway?
Thanks,
Ben
The issues reported are as follows:
Workality Issue:
FILE: …/public_html/wp-content/themes/workality-plus-master/framework/admin/importer/wp-importer/wordpress-importer.php
————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————————
66 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
————————————————————————————————————————————
Visual Composer Issue:
FILE: …/public_html/wp-content/plugins/js_composer/js_composer.php
———————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————-
220 | ERROR | Visibility for magic method __sleep must be public. Found: private
———————————————————————————-