Recently I had an error after upgrade of php version in Laravel project from 7.2 to 7.4.
In blade some on the null values were resulting in error.
As I realized that the issue is coming from null values, I inserted a value instead of null to avoid the page error.
Some people suggest degrading the version of php, but I prefer not to do that.