Wc Shipping Flat Rate Function Crash
From the WordPress backend, when I click on “All Products” I get this error:
This error that i received by mail:
Error details:
An E_ERROR error occured on line 141 of the file /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/woocommerce/includes/shipping/flat-rate/class-wc-shipping-flat-rate.php.
Error message: Uncaught TypeError: Unsupported operand types: string * float in /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/woocommerce/includes/shipping/flat-rate/class-wc-shipping-flat-rate.php:141
Stack trace:
0 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/shortcodes.php(433): WC_Shipping_Flat_Rate->fee()
1 [internal function]: do_shortcode_tag()
2 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
3 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/woocommerce/includes/shipping/flat-rate/class-wc-shipping-flat-rate.php(92): do_shortcode()
4 [internal function]: WC_Shipping_Flat_Rate->evaluate_cost()
5 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/integ/ecom/woocommerce.php(1885): ReflectionMethod->invoke()
6 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/integ/ecom/woocommerce.php(1646): WpssoIntegEcomWooCommerce->get_zone_method_shipping_offer()
7 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/integ/ecom/woocommerce.php(1464): WpssoIntegEcomWooCommerce->add_mt_shipping_offers()
8 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/integ/ecom/woocommerce.php(828): WpssoIntegEcomWooCommerce->add_mt_product()
9 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/class-wp-hook.php(324): WpssoIntegEcomWooCommerce->filter_og_seed()
10 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
11 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/opengraph.php(349): apply_filters()
12 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/head.php(438): WpssoOpenGraph->get_array()
13 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/abstract/wp-meta.php(1487): WpssoHead->get_head_array()
14 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/abstract/wp-meta.php(2576): WpssoAbstractWpMeta->get_head_info()
15 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/class-wp-hook.php(326): WpssoAbstractWpMeta->check_sortable_meta()
16 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
17 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/meta.php(635): apply_filters()
18 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/meta.php(574): get_metadata_raw()
19 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/post.php(2763): get_metadata()
20 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/abstract/wp-meta.php(2513): WpssoPost::get_meta()
21 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/abstract/wp-meta.php(2450): WpssoAbstractWpMeta->get_column_wp_cache()
22 /home/mywebsitename/domains/mywebsite.com/public_html/wp-content/plugins/wpsso/lib/post.php(925): WpssoAbstractWpMeta->get_column_content()
23 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/class-wp-hook.php(324): WpssoPost->show_column_content()
24 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 25 /home/mywebsitename/domains/mywebsite.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
26 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(1380): do_action()
27 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/includes/class-wp-list-table.php(1796): WP_Posts_List_Table->column_default()
28 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(1432): WP_List_Table->single_row_columns()
29 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(834): WP_Posts_List_Table->single_row()
30 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(810): WP_Posts_List_Table->_display_rows()
31 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/includes/class-wp-list-table.php(1706): WP_Posts_List_Table->display_rows()
32 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/includes/class-wp-list-table.php(1633): WP_List_Table->display_rows_or_placeholder()
33 /home/mywebsitename/domains/mywebsite.com/public_html/wp-admin/edit.php(503): WP_List_Table->display()
Can you help me please?
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس