Support » Plugin: The Courier Guy Shipping for WooCommerce » Plugin freezes website

  • Resolved aaront1976


    Good Day, since the update we have been having issues with eh plugin.
    Please see the error report below;

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.4.2
    Current theme: Storefront (version 2.5.8) Current plugin: The Courier Guy Shipping for WooCommerce (version 4.2.1) PHP version 7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb

    Error Details
    An error of type E_ERROR was caused in line 322 of the file /usr/www/users/retrojndrd/wp-content/plugins/the-courier-guy/Core/ParcelPerfectApiPayload.php. Error message: Uncaught Error: Call to undefined method ParcelPerfectApiPayload::factorise() in /usr/www/users/retrojndrd/wp-content/plugins/the-courier-guy/Core/ParcelPerfectApiPayload.php:322
    Stack trace:
    #0 /usr/www/users/retrojndrd/wp-content/plugins/the-courier-guy/Core/ParcelPerfectApiPayload.php(442): ParcelPerfectApiPayload->getContentsPayload(Array, Array)
    #1 /usr/www/users/retrojndrd/wp-content/plugins/the-courier-guy/Core/TCG_Plugin.php(499): ParcelPerfectApiPayload->getQuotePayload(Array, Array)
    #2 /usr/www/users/retrojndrd/wp-content/plugins/the-courier-guy/Shipping/TCG_ShippingMethod.php(76): TCG_Plugin->getQuote(Array, Array)
    #3 /usr/www/users/retrojndrd/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(233): TCG_Shipping_Method->calculate_shipping(Array)
    #4 /usr/www/users/retrojndrd/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(345): WC_Shipping_Method->get_rates_for_package(Array)
    #5 /usr/www/users/retrojndrd/wp-content/plugins/woocommerce/includes/class-wc-sh

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author appinlet


    Hi @aaront1976,

    Thank you for the detailed breakdown. We are investigating this presently.

    Plugin Author appinlet


    Hi @aaront1976,

    Please note this error occurred if the global parcel dimensions were not set.

    To fix the error, we have set defaults in 2.2.3 (just released).

    We recommend that the parcel dimension settings are checked and re-saved to be sure that correct quotes are being submitted for your usecase.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.