Thanks for this solution. I want to add that this problem easily happens when zipping up the folder that a theme’s files are in, rather than individually selecting all the files to be zipped.
Basically, anytime a theme’s index page (not “wp-content/themes/index.php”, but rather “wp-content/themes/’THEMENAME’/index.php”) reside inside multiple folders, you will get this error.
Thanks again!