• Resolved sarawill

    (@sarawill)


    I ran the latest update on the ShipStation for Woocommerce plugin and a little later the Save button was no longer available in the admin where I edit the carrier services for the Live Rates plugin in my Shipping Zones. I also deactivated another plugin for live rates that is not as good as yours so that could also be related I suppose. I received an automated email from my WordPress site that stateds the following:

    First, visit your website (https://texelec.com/) and check for any visible issues. Next, visit the page where the error was caught (https://texelec.com/wp-admin/admin.php?page=wc-settings&tab=shipping&instance_id=44) and check for any visible issues.

    Error Details

    An error of type E_ERROR was caused in line 141 of the file /home/texele5/public_html/wp-content/plugins/live-rates-for-shipstation/core/views/services-table.php. Error message: Uncaught Error: Call to undefined method WP_Error::get_code() in /home/texele5/public_html/wp-content/plugins/live-rates-for-shipstation/core/views/services-table.php:141


    Stack trace: 0 /home/texele5/public_html/wp-content/plugins/live-rates-for-shipstation/core/shipping-method-shipstation.php(249): include() 1 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php(348): IQLRSS\Core\Shipping_Method_Shipstation->generate_services_html(‘services’, Array) 2 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(466): WC_Settings_API->generate_settings_html(Array, false) 3 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(482): WC_Shipping_Method->get_admin_options_html() 4 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/admin/settings/views/html-admin-page-shipping-zones-instance.php(12): WC_Shipping_Method->admin_options() 5 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(423): include_once(‘/home/texele5/p…’) 6 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(247): WC_Settings_Shipping->instance_settings_screen(44) 7 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(183): WC_Settings_Shipping->output_zones_screen() 8 /home/texele5/public_html/wp-includes/class-wp-hook.php(324): WC_Settings_Shipping->output(”) 9 /home/texele5/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 10 /home/texele5/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(78): do_action(‘woocommerce_set…’) 12 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(190): include(‘/home/texele5/p…’) 13 /home/texele5/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(358): WC_Admin_Settings::output() 14 /home/texele5/public_html/wp-includes/class-wp-hook.php(324): WC_Admin_Menus->settings_page(”) 15 /home/texele5/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 16 /home/texele5/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 17 /home/texele5/public_html/wp-admin/admin.php(260): do_action(‘woocommerce_pag…’) 18 {main}

    thrown

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support IQComputing Alex

    (@iqcalex)

    @sarawill Thanks for the report! It looks like I’ve misinterpreted WP_Error as a normal PHP Exception object. The latest update should resolve this issue.

    The root cause of this error seems to be an issue with the API not returning carriers properly. If you’re still using this plugin, we recommend installing the latest version, heading over to the Integration screen (where you set the API Keys), and clearing the API cache. That should tell the system to re-cache the carrier information that the Shipping Zones use to generate the Service Table.

    If you continue to have issues, or have any questions, please reply back to this thread and our team can assist further. Have a wonderful rest of your week!

    Thread Starter sarawill

    (@sarawill)

    Thank you very much, that fixed my issue! I appreciate the quick support, and to be clear to anyone reading the cart was still displaying rates and working for customers the entire time! Love this plugin, thanks again!

    • This reply was modified 5 months, 3 weeks ago by sarawill.
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.