Merge pull request #2891 from cristik/develop

Moved $_error load statement lower.