Package weight isn’t a float: fatal error
-
Noticed entries like these in the woocommerce log files “fatal_errors”.
The $package[‘weight’] obviously isn’t a float for some reason, so perhaps you’d like to cast it as such? Have not been able to find out the content responsible for this error, as this was an incidental finding.2024-03-04T07:10:00+00:00 Critical Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/<snip>/wp-content/plugins/bring-fraktguiden-for-woocommerce/pro/booking/views/class-bring-booking-order-view.php:548 CONTEXT: {“error”:{“type”:1,”file”:”\/usr\/www\/users\/<snip>\/wp-content\/plugins\/bring-fraktguiden-for-woocommerce\/pro\/booking\/views\/class-bring-booking-order-view.php”,”line”:548},”backtrace”:[“”,”#0 \/usr\/www\/users\/<snip>\/wp-includes\/class-wp-hook.php(324): BringFraktguidenPro\\Booking\\Views\\Bring_Booking_Order_View::ajax_update_packages()”,”#1 \/usr\/www\/users\/<snip>\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()”,”#2 \/usr\/www\/users\/<snip>\/wp-includes\/plugin.php(517): WP_Hook->do_action()”,”#3 \/usr\/www\/users\/<snip>\/wp-admin\/admin-ajax.php(188): do_action()”,”#4 {main}”,”thrown”]}
- The topic ‘Package weight isn’t a float: fatal error’ is closed to new replies.