This topic has 4 replies, 2 voices, and was last updated 5 years, 2 months ago ago by Rose Tyler
Hi, I’m having problems changing to PHP 7.3 (7.1-7.3), 7.0 is the latest PHP version that works. I did a PHP compatibility check and it appears to be an issue with Essential Grid and Revolution Slider. Do you by any chance have a solution to this problem?
This is what the error information says:
*****************
FILE: /home/xxx/public_html/wp-content/plugins/essential-grid/public/essential-grid.class.php
————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————–
914 | ERROR | “$this” can no longer be used in a plain function or method since PHP 7.1.
————————————————————————————————–
FILE: /home/xxx/public_html/wp-content/plugins/essential-grid/essential-grid.php
———————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————-
88 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
———————————————————————————————————-
FILE: /home/xxx/public_html/wp-content/plugins/essential-grid/admin/includes/dialogs.class.php
—————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————
FILE: /home/xxx/public_html/wp-content/plugins/essential-grid/admin/views/elements/grid-meta-box.php
———————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————
FILE: /home/xxx/public_html/wp-content/plugins/essential-grid/includes/item-skin.class.php
—————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————————————-
995 | WARNING | Targeting a ‘switch’ control structure with a ‘continue’ statement is strongly discouraged and will throw a warning as of PHP 7.3.
—————————————————————————————————————————————————-
*****************
FILE: /home/xxx/public_html/wp-content/plugins/revslider/inc_php/framework/functions_wordpress.class.php
————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————-
240 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
————————————————————————————————————-
FILE: /home/xxx/public_html/wp-content/plugins/revslider/inc_php/revslider_operations.class.php
—————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————————-
42 | ERROR | “$this” can no longer be used in a plain function or method since PHP 7.1.
—————————————————————————————————-
FILE: /home/xxx/public_html/wp-content/plugins/revslider/inc_php/revslider_slider.class.php
————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————–
843 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
————————————————————————————————–
************************
Hello,
You are using old versions of plugins – https://www.8theme.com/demo/docs/royal/Plugins/Plugins_Update
Before update the PHP version, you need to be sure that the theme and all plugins support it. Appropriate information you can find in changelog. For example, https://prnt.sc/oz5yyt https://codecanyon.net/item/essential-grid-wordpress-plugin/7563340
We did not test Royal theme with the PHP 7.3 officially, so it would be better to downgrade the PHP version to 7.2. Follow our changelog – https://themeforest.net/item/royal-multipurpose-wordpress-theme/8611976
Regards
Thank you! I wasn’t aware that the plugins were old since it did not come up in the plugin updater. All is fixed now and 7.3 work fine:) Thank you for your quick help!
You’re welcome!
Have a nice day.
Regards
The issue related to '‘PHP 7.3 does not work’' has been successfully resolved, and the topic is now closed for further responses