Moved $_error load statement lower.

This prevents a possible recursion when an error is trigerred by one of the config file.
Also since the variable is used only later in the code it makes sense to move it lower.
Merge pull request #2891 from cristik/develop

Moved $_error load statement lower.