- ๐บ๐ฆUkraine t1mm1 Kiev
Some update why this fatal error was happens.
Views gets result from database table, but when views trying to load entites in loadEntities (fucntion) it doesnt gets all entities. In my case the reason was in uncorectrly removed record of entity. Finnaly, it returned NULL, and get tryed to get maxCache from NULL.
If you will debug it, you see that in the assignEntitiesToResult function need to skip NULL and remove item from the result list.
The best solution as for me - it checks for empty on query level. But the perfomance will down. - ๐บ๐ฆUkraine t1mm1 Kiev
Patch for d 10.3
I remove from index of results the record of missed entity and add log message with details.
It doesnt fix the reason of missed entity, but fix fatal + provide more details of it.