Prevent cluttering error log when used with MODX 2.3

This PR addresses issue #3, keeping the error log clean in MODX 2.3