Critical Error: Unsupported operand types
-
Hello,
When we were checking WooCommerce error logs, we found an error in this plugin:
CRITICAL Uncaught TypeError: Unsupported operand types: string * int in /wp-content/plugins/official-sendle-shipping-method/sendle-shipment-booking.php:94The complete log is as below:
2022-06-01T02:50:00+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: string * int in /wp-content/plugins/official-sendle-shipping-method/sendle-shipment-booking.php:94
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): ossm_generate_sendle_reference(22803)
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /wp-content/plugins/woocommerce/templates/checkout/thankyou.php(80): do_action(‘woocommerce_tha…’, 22803)
#4 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/wp-content/pl…’)
#5 /wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(256): wc_get_template(‘checkout/thanky…’, Array)
#6 /wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(63): WC_Shortcode_Checkout::order_received(22803)
#7 /wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output(”)
#8 /wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, ”)
#9 /wp-includes/shortcodes.php(356): WC_Shortcodes::checkout(”, ”, ‘woocommerce_che…’)
#10 [internal function]: do_shortcode_tag(Array)
#11 /wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(woocom…’, ‘do_shortcode_ta…’, ‘[woocommerce_ch…’)
#12 /wp-includes/class-wp-hook.php(307): do_shortcode(‘[woocommerce_ch…’)
#13 /wp-includes/plugin.php(189): WP_Hook->apply_filters(‘[woocommerce_ch…’, Array)
#14 /wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘<!– wp:shortco…’)
#15 /wp-content/themes/ekommart/inc/template-functions.php(367): the_content()
#16 /wp-includes/class-wp-hook.php(307): ekommart_page_content(”)
#17 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#18 /wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#19 /wp-content/themes/ekommart/content-page.php(10): do_action(‘ekommart_page’)
#20 /wp-includes/template.php(772): require(‘/wp-content/pl…’)
#21 /wp-includes/template.php(716): load_template(‘/wp-content/pl…’, false, Array)
#22 /wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
#23 /wp-content/themes/ekommart/page.php(14): get_template_part(‘content’, ‘page’)
#24 /wp-includes/template-loader.php(106): include(‘/wp-content/pl…’)
#25 /wp-blog-header.php(19): require_once(‘/wp-content/pl…’)
#26 /index.php(17): require(‘/wp-content/pl…’)
#27 {main}
thrown in /wp-content/plugins/official-sendle-shipping-method/sendle-shipment-booking.php on line 94Can you please check and let us know?
- The topic ‘Critical Error: Unsupported operand types’ is closed to new replies.