Uncaught TypeError: Unsupported operand types: string
-
Hi there,
I tried to reactivate the Table Rate Shipping plugin (it never worked on my website) but I get an uncaught type error for “string”. This happens when I try to save the configuration in the backend. I tried to change the German prices with comma to dots (59,99 -> 59.99) but it doesn’t change the error message and saving the form doesn’t work. The values remain like shown in the screenshot:
https://www.kaffee-muenchen.de/wp-content/uploads/2024/05/2024-05-13-kaffee-muenchen_table-rate-shipping.pngSystem: Table Rate Shipping Version 2.29
Woocommerce: 8.8.3
WordPress: 6.5.3
PHP: 8.2
Error message:
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 1512 der Datei /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce-easy-table-rate-shipping/woocommerce-table-rate-plugin.php verursacht. Fehlermeldung: Uncaught TypeError: Unsupported operand types: string – string in /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce-easy-table-rate-shipping/woocommerce-table-rate-plugin.php:1512
Stack trace:
#0 [internal function]: JEMTR_Table_Rate_Shipping_Method->cmp(Array, Array)
#1 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce-easy-table-rate-shipping/woocommerce-table-rate-plugin.php(1431): usort(Array, Array)
#2 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(414): JEMTR_Table_Rate_Shipping_Method->process_admin_options()
#3 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(243): WC_Settings_Shipping->instance_settings_screen(10)
#4 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php(179): WC_Settings_Shipping->output_zones_screen()
#5 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-includes/class-wp-hook.php(324): WC_Settings_Shipping->output(”)
#6 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#7 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(40): do_action(‘woocommerce_set…’)
#9 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(153): include(‘/is/htdocs/wp10…’)
#10 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(350): WC_Admin_Settings::output()
#11 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-includes/class-wp-hook.php(324): WC_Admin_Menus->settings_page(”)
#12 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#13 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#14 /is/htdocs/wp10608201_TPI46OI6RI/www/kaffee-muenchen/wp-admin/admin.php(259): do_action(‘woocommerce_pag…’)
#15 {main}
? thrownThe page I need help with: [log in to see the link]
- The topic ‘Uncaught TypeError: Unsupported operand types: string’ is closed to new replies.