Local Community

New pages can't load

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.

Here is my error log: https://wtools.io/paste-code/b6rc

  • Which version of Local is being used?
    6.1.1
  • What Operating System (OS) and OS version is being used?
    Windows 10

Do you remember what the error was? It’s hard to know what broke without the specific error.

You also mention that the site is stuck just loading… does restarting the site or the computer help?

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:

If that doesn’t help, then can you please provide your Local Log? See this Community Forum post for instructions on how to do so:

Also, can you record a screencast of what you’re seeing so that we can better visualize what’s going on?

Ok will try it. My error log was posted:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.