I’ve been working successfully on a Sage9 theme for months. However, I noticed that while it appeared in the Wordpress themes list in the backoffice, there was still a message telling that the template was missing for this theme, due to the absence of a index.php file.
wp theme list was giving me the same answer when trying to activate the (already active) theme, and Sage was not even displayed in the list.
I’ve tried to delete then create again the index.php file in
/resources to see if it could fix the issue, but it made things worse. Now Wordpress has fallen back to TwentyTwentyOne and my Sage9 theme is not visible anymore in the backoffice. I’ve restored a db backup to fix. The same thing happens if I switch theme from the backoffice.
I’m not using Bedrocks and I don’t have any child theme. Any idea how I could improve this?
Thanks for any pointer,