• Resolved Adam Kotala

    (@webypolopate)


    Dobry den, verze pluginu 1.7.2 dělá velkou neplechu. U 2 eshop? jsem musel udělat downgrade na v 1.7.1 kv?li erroru a problém?m, která aktuální verze zp?sobovala.

    Ní?e posílám vypis z error logu. Vysledek byl “Na webu do?lo k záva?né chybě” nebo problém s p?idáváním produkt? do ko?íku.

    [19-May-2024 04:58:08 UTC] PHP Fatal error: Uncaught Error: Call to a member function getCarriersForShippingRate() on null in /home3/clmdunhy/public_html/wp-content/plugins/packeta/src/Packetery/Module/ShippingMethod.php:171
    Stack trace: 0 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(488): Packetery\Module\ShippingMethod->get_instance_form_fields() 1 /home3/clmdunhy/public_html/wp-content/plugins/wc-shipping-method-description/shipping-method-description-for-woocommerce.php(89): WC_Shipping_Method->get_option() 2 /home3/clmdunhy/public_html/wp-includes/class-wp-hook.php(324): smdfw_add_rate_description_arg() 3 /home3/clmdunhy/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 4 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(291): apply_filters() 5 /home3/clmdunhy/public_html/wp-content/plugins/packeta/src/Packetery/Module/ShippingMethod.php(160): WC_Shipping_Method->add_rate() 6 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(257): Packetery\Module\ShippingMethod->calculate_shipping() 7 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(348): WC_Shipping_Method->get_rates_for_package() 8 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(260): WC_Shipping->calculate_shipping_for_package() 9 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1430): WC_Shipping->calculate_shipping() 10 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(346): WC_Cart->calculate_shipping() 11 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(857): WC_Cart_Totals->get_shipping_from_cart() 12 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(151): WC_Cart_Totals->calculate_shipping_totals() 13 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate() 14 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1408): WC_Cart_Totals->__construct() 15 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php(590): WC_Cart->calculate_totals() 16 /home3/clmdunhy/public_html/wp-includes/class-wp-hook.php(324): WCML_Multi_Currency_Prices->recalculate_totals() 17 /home3/clmdunhy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 18 /home3/clmdunhy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 19 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(219): do_action() 20 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(604): WC_Cart_Session->get_cart_from_session() 21 /home3/clmdunhy/public_html/wp-content/plugins/gopay-gateway/includes/class-gopay-gateway.php(595): WC_Cart->get_cart() 22 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(324): Gopay_Gateway->is_available() 23 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php(212): WC_Payment_Gateways->get_available_payment_gateways() 24 /home3/clmdunhy/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php(97): WCML_Currencies_Payment_Gateways->get_available_payment_gateways() 25 /home3/clmdunhy/public_html/wp-includes/class-wp-hook.php(324): WCML_Currencies_Payment_Gateways->init_gateways() 26 /home3/clmdunhy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 27 /home3/clmdunhy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 28 /home3/clmdunhy/public_html/wp-settings.php(717): do_action() 29 /home3/clmdunhy/public_html/wp-config.php(115): require_once(‘/home3/clmdunhy…’) 30 /home3/clmdunhy/public_html/wp-load.php(50): require_once(‘/home3/clmdunhy…’) 31 /home3/clmdunhy/public_html/wp-blog-header.php(13): require_once(‘/home3/clmdunhy…’) 32 /home3/clmdunhy/public_html/index.php(17): require(‘/home3/clmdunhy…’) 33 {main}

    thrown in /home3/clmdunhy/public_html/wp-content/plugins/packeta/src/Packetery/Module/ShippingMethod.php on line 171

Viewing 1 replies (of 1 total)
  • Plugin Support kovalmatyas

    (@kovalmatyas)

    Dobry den @webypolopate,
    omlouvám se za prodlevu v reakci.

    V mezi?ase do?lo k vydání verze 1.7.3, která obsahuje opravu na tuto chybu.

    Je ji? v?e v po?ádku po aktualizaci na tuto verzi?

    S pozdravem,
    Matyá? Kova?

Viewing 1 replies (of 1 total)
  • The topic ‘PHP error u verze 1.7.2’ is closed to new replies.