database
database copied to clipboard
2.3.6: Argument 1 passed to Nette\Utils\ObjectMixin::getSuggestion() must be of the type array, null given
Trying new 2.3.6 release with updated nette/utils to 2.3.5 and got this error.
Maybe it is somehow related to an error I had with previous version of database: Cannot read an undeclared column 'created_at'. Clear the cache helped, but just for some time, then error occured again.

Can when argument is not array (null, string, integer...), but it also throw warning.
After so many years, PHP never stops surprise me.
Can you try to find where the bad data comes from? Like this way https://github.com/dg/nette-database/commit/9130cfe24727a6b0d403e51d9762f7c98d4fee56
Unfortunately I am not able to reproduce the error as I need, because it is probably caused by the "nette/database caching error" mentioned before. If the error occurs again, I'll try to get data you need.