AQLModel and PHPModel
improvements to _errors