Hello,
What is full text of the error? Where do you get it? Provide URL and temporary wp-admin access.
Regards