Unsupported operand types: string + float [PHP 8.2]

Started by hazael, May 25, 2023, 14:25:46 PM

Previous topic - Next topic

hazael

The problem arises in the child product without added price.

If the parent product has a price - in my case, these are different price variants, and the child product inherits these values, then this error appears in the product (front page ).
The problem disappears if the child product has its own non-inherited prices.

probably some variable is written without (float).