I'm not sure if there is a justification i'm missing here, but a PHP warning was being classed as a fatal error and throwing an exception, rather than just logging the warning. This changes that behaviour so warnings are treated as warnings.
Either way, this was throwing an exception which was breaking our code.
I'm not sure if there is a justification i'm missing here, but a PHP warning was being classed as a fatal error and throwing an exception, rather than just logging the warning. This changes that behaviour so warnings are treated as warnings.
Either way, this was throwing an exception which was breaking our code.