If you have the error as in the title of this page this solution can help you.

In our case, this error happened when we synchronize live DB in dev DB.

The solution

Before anything action, you must make backup your DB

Read more »