The error occurs when the migrate module is not enabled. Fixing it...