PHP 7.3 does not work - by marlinda - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 5 years, 2 months ago ago by Rose Tyler

  • Avatar: marlinda
    marlinda
    Participant
    August 29, 2019 at 14:21

    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
    ————————————————————————————————–

    ************************

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 29, 2019 at 14:36

    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

    Avatar: marlinda
    marlinda
    Participant
    August 29, 2019 at 17:18

    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!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 30, 2019 at 07:12

    You’re welcome!
    Have a nice day.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘PHP 7.3 does not work’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.