Updated EE 3 to EE 5 and Cartthrob to 4.2.
Now we get this error message
Warning A non-numeric value encountered user/addons/cartthrob/cartthrob/core/Cartthrob_product.php, line 151 Severity: E_WARNING`
Any ideas where to fix this?
After the fix from Harsh Barach we have this error message left
Warning A non-numeric value encountered user/addons/cartthrob/libraries/Cartthrob_variables.php, line 625 Severity: E_WARNING
Appreciate some help here.