Drop single dimensional array support for data array in insert function
Since it bugged since 2.1 -> no one mention the issue, we could drop the feature and make the interface more clear.
nope, not ready for thsi major breaking change because this ends up breaking half of the entire application, let alone third party mods.
maybe you didn't read the mayor point, but it doesn't work atm. Or miss i something?
How is it bugged? Can I have an example?
Checking only one random element in $data makes no sense. I think @albertlast is correct that the current code could cause bugs.
However, the solution is not to just remove this code. Instead, we should check all the elements in $data to make sure that all the elements in $data are as expected.