• Resolved lfk74

    (@lfk74)


    Good morning, I have been using this plugin for about three years and it has never caused me any problems, except when, two months ago, I decided to switch from php version 7.0 to php version 7.3. Doing so, when I put a product in the cart, I see an error screen that I report:

    Uncaught Error: [] operator not supported for strings in /XXX/XXX/domains/XXX/public_html/wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php on line 93

    ? was_match_methods()
    wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php:318
    ? calculate_shipping()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php:233
    ? get_rates_for_package()
    wp-content/plugins/woocommerce/includes/class-wc-shipping.php:334
    ? calculate_shipping_for_package()
    wp-content/plugins/woocommerce/includes/class-wc-shipping.php:258
    ? calculate_shipping()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1259
    ? calculate_shipping()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:345
    ? get_shipping_from_cart()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:850
    ? calculate_shipping_totals()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:141
    ? calculate()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:131
    ? __construct()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1237
    ? calculate_totals()
    wp-includes/class-wp-hook.php:286
    ? apply_filters()
    wp-includes/class-wp-hook.php:312
    ? do_action()
    wp-includes/plugin.php:478
    ? do_action()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1115
    ? add_to_cart()
    wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:942
    ? add_to_cart_handler_variable()
    wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:744
    ? add_to_cart_action()
    wp-includes/class-wp-hook.php:288
    ? apply_filters()
    wp-includes/class-wp-hook.php:312
    ? do_action()
    wp-includes/plugin.php:478
    ? do_action()
    wp-settings.php:545
    ? require_once()
    wp-config.php:78
    ? require_once()
    wp-load.php:37
    ? require_once()
    wp-blog-header.php:13
    ? require()
    index.php:17
    Si è verificato un errore critico sul tuo sito web.
    Scopri di più riguardo al debug in WordPress.

    I don’t know if it depends on other factors (I’ve done some tests and it doesn’t seem that way) or if it’s related to the specific plugin. Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi,

    It appears the error message is related to the Advanced Shipping plugin, not this one (Advanced Free Shipping).

    Please reach out through the support channel for that plugin if you need assistance;
    https://jeroensormani.com/woocommerce-advanced-shipping/support/

    Cheers,
    Jeroen

    Thread Starter lfk74

    (@lfk74)

    Thank you, I was convinced that the paid one was the extension of the free one. I apologize.

    karmen20

    (@karmen20)

    Hi, I updated my php following instructions for Hostgator…then my website just dissapeared! help!
    I got this message from my website:
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.3.2
    Current theme: Impreza (version 3.3.1)
    Current plugin: Slider Revolution (version 5.2.5)
    PHP version 7.1.24
    how can I fix this?

    karmen20

    (@karmen20)

    Error Details
    =============
    An error of type E_ERROR was caused in line 71 of the file /home2/karmen2017/public_html/seomarketingengine.com/wp-content/plugins/revslider/includes/framework/base-admin.class.php. Error message: Uncaught Error: [] operator not supported for strings in /home2/karmen2017/public_html/seomarketingengine.com/wp-content/plugins/revslider/includes/framework/base-admin.class.php:71
    Stack trace:
    #0 /home2/karmen2017/public_html/seomarketingengine.com/wp-content/plugins/revslider/admin/revslider-admin.class.php(572): RevSliderBaseAdmin::addMetaBox(‘Revolution Slid…’, ”, Array, NULL)
    #1 /home2/karmen2017/public_html/seomarketingengine.com/wp-content/plugins/revslider/admin/revslider-admin.class.php(73): RevSliderAdmin->addSliderMetaBox()
    #2 /home2/karmen2017/public_html/seomarketingengine.com/wp-content/plugins/revslider/admin/revslider-admin.class.php(44): RevSliderAdmin->init()
    #3 /home2/karmen2017/public_html/seomarketingengine.com/wp-content/plugins/revslider/revslider.php(165): RevSliderAdmin->__construct(‘/home2/karmen20…’)
    #4 /home2/karmen2017/public_html/seomarketingengine.com/wp-settings.php(360): include_once(‘/home2/karmen20…’)
    #5 /home2/karmen2017/public_html/seomarketingengine.com/wp-config.

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Karmen,

    That error message refers to the revslider plugin, not this one. I’d recommend to get in touch with that plugin developer for assistance.

    Cheers,
    Jeroen

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with php 7.1 +’ is closed to new replies.