Revert "Update plugin. Stop recursion when using sendErrorPage method"

This reverts commit a0104f55dbd5eb80ce16fef35d8927687dc0450b.