Here we are in the case of trouble and I don't make any assumption from where the error comes from.
It can be a call from a 3rd party extension and for this reason, personally, I prefer to test all the cases in this final error reporting to avoid any crash.

This is the reason why I have tried to make it as safe as possible to avoid any PHP Fatal error.