Another effect in the latest version
-
Another effect in the latest version of plugin, the plugin is not breaking our site but there are other effects on the site caused by the plugin, check below:
information:
WordPress version 6.5.4
Active theme: Woodmart Child (version 1.0.0)
Current plugin: Aramex Shipping WooCommerce (version 1.1.21)
PHP version 8.2.18
Error Details
=============
An error of type E_ERROR was caused in line 379 of the file /home1/btlimxmy/public_html/wp-content/plugins/aramex-shipping-woocommerce/includes/shipping/class-aramex-woocommerce-shipping.php. Error message: Uncaught TypeError: ceil(): Argument #1 ($num) must be of type int|float, string given in /home1/btlimxmy/public_html/wp-content/plugins/aramex-shipping-woocommerce/includes/shipping/class-aramex-woocommerce-shipping.php:379
Stack trace:
#0 /home1/btlimxmy/public_html/wp-content/plugins/aramex-shipping-woocommerce/includes/shipping/class-aramex-woocommerce-shipping.php(379): ceil('')
#1 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(257): Aramex_Shipping_Method->calculate_shipping(Array)
#2 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(348): WC_Shipping_Method->get_rates_for_package(Array)
#3 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(260): WC_Shipping->calculate_shipping_for_package(Array, 0)
#4 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1431): WC_Shipping->calculate_shipping(Array)
#5 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(346): WC_Cart->calculate_shipping()
#6 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(857): WC_Cart_Totals->get_shipping_from_cart()
#7 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(151): WC_Cart_Totals->calculate_shipping_totals()
#8 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate()
#9 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1409): WC_Cart_Totals->__construct(Object(WC_Cart))
#10 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(322): WC_Cart->calculate_totals()
#11 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#12 /home1/btlimxmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#13 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1811): do_action('woocommerce_app...', 'yith_sales_cart...')
#14 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php(307): WC_Cart->apply_coupon('yith_sales_cart...')
#15 /home1/btlimxmy/public_html/wp-content/plugins/wonder-cart/includes/controllers/class-yith-sales-cart-discount-controller.php(173): WC_Legacy_Cart->add_discount('yith_sales_cart...')
#16 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(324): YITH_Sales_Cart_Discount_Controller->apply_coupon_cart_discount('')
#17 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#18 /home1/btlimxmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#19 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(334): do_action('woocommerce_car...')
#20 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(324): WC_Cart_Session->set_session(Object(WC_Cart))
#21 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#22 /home1/btlimxmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#23 /home1/btlimxmy/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(219): do_action('woocommerce_car...', Object(WC_Cart))
#24 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(324): WC_Cart_Session->get_cart_from_session('')
#25 /home1/btlimxmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#26 /home1/btlimxmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#27 /home1/btlimxmy/public_html/wp-settings.php(717): do_action('wp_loaded')
#28 /home1/btlimxmy/public_html/wp-config.php(88): require_once('/home1/btlimxmy...')
#29 /home1/btlimxmy/public_html/wp-load.php(50): require_once('/home1/btlimxmy...')
#30 /home1/btlimxmy/public_html/wp-admin/admin-ajax.php(22): require_once('/home1/btlimxmy...')
#31 {main}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.