This might happen when there are two themes installed in the same workspace.
To fix it, you have to either:
-
Remove all themes that are not being used from the workspace, using the VTEX IO CLI command
vtex uninstall
OR
-
Navigate to Store Management > CMS > Pages and check that every single page is using the right template exported by your theme.
Screenshots for context
Each line in the list below is a page that is available in your store:
After you click the pencil icon in the pages list, you can select which template that will use from the themes available in the workspace: