Error thrown

Call to undefined function er_resource_class()