Unsupported operation types unsupported operation data types

Fatal error: Unsupported operand types
It means:
Fatal error: Unsupported operation data type
The reason is that data that does not conform to the data type is passed to some function. This is especially true if you pass an array to a function that takes a number as an argument.
That’s what I just ran into.
Put an array ([0] = & gt; 123456), I was going to pass 123456.

Read More: