I believe we have a bug related to PHP 7.4 upgrade. Unfortunately I was not able to reproduce it locally to get a better idea on why it happens, but I know where it happens and it's a common PHP 7.4 upgrade error, so I am posting it here in hope someone who knows related code well can clarify this and fix it.
What steps will reproduce the problem?
This is a query we have that fails from time to time (depending on DB data I guess) after we upgraded our project to PHP 7.4.2:
Hi guys!
I believe we have a bug related to PHP 7.4 upgrade. Unfortunately I was not able to reproduce it locally to get a better idea on why it happens, but I know where it happens and it's a common PHP 7.4 upgrade error, so I am posting it here in hope someone who knows related code well can clarify this and fix it.
What steps will reproduce the problem?
This is a query we have that fails from time to time (depending on DB data I guess) after we upgraded our project to PHP 7.4.2:
What is the expected result?
Query result returned.
What do you get instead?
Additional info
For now we disabled eager loading for both joinWith calls, and no error cases so far. Full stack trace: