This error is happen, when old version of same theme is already installed in your WordPress.
There are several way to fix the error. You can follow this ways:
- Delete the current theme version from WordPress Dashboard.
- Delete the current theme version using any FTP client from this directory (/wp-content/themes).
- Rename the old theme folder with any other name like ‘theme-old’ for example.