I have a website downloaded from flywheel. All the pages works, could edit them and view. But then I edited one of the page template php files and made a spelling mistake in one of the wordpress functions. When viewed the page it generated an error. I reverted the template to the previous state and from now on I can’t view this page - keeps loading and loading and nothing happens. As well when I want to create any other page I can’t save, even with other working templates.
My template file is very simple and nothing to brake the site: https://wtools.io/paste-code/b6rd
All my other local sites are fine.
The error was that the function was not found - I misspelled the_content() function. Nothing more.
I restarted local app, restarted my computer and nothing helped.
Can you try restoring the site to a new one in Local? You can use a backup of the site, or try using the files for the site by following the steps outlined in the “Restoring From Only Local Site files” section of this help doc: