Exception : Call to undefined function resource_redirect_if_migrated()