web-publisher
web-publisher copied to clipboard
Add extra catch-block for TypeErrors
Reasons
In php 8.0 internal functions now throw errors instead of warnings which aren't getting caught by the normal catch block exception. So here we add a specific catch block for the TypeError so that the old behaviour is somewhat restored.
Proposed Changes
Add TypeError catch to the evaluation calls in the RulesProcessor.
License: AGPLv3