• Resolved pbwpwork

    (@pbwpwork)


    Hi,

    I am using a child theme of Leeway. I appear to have made a mistake when doing some tweaks to my theme this has cause my whole website (including the admin side) to crash.

    I have just had an idea, and I just wanted to run it by (people who know more than me) to see if it may work?

    I can still access the site through an FTP client (FileZilla). Using FTP if I rename the child-theme folder (for Leeway), this means that WordPress will not be able to find and use the folder. So therefore the error that is causing the system to crash will not be read so the Admin side of WordPress should work. Then all I have to do is to go into admin – activate a different theme, go back into FileZilla change the child-theme name back to the original name. By doing this it will show back up again in WordPress (but not longer be activate), then I can delete it. I can then create a fresh child theme and get it right this time!!!!

    I have come up with this as this is exactly the same method I used when I was have issues with a plugin (but in that case I changed the name of the plugin folder rather than the theme).

    Any thoughts would be appreciated,

    Paul

Viewing 1 replies (of 1 total)
  • Thread Starter pbwpwork

    (@pbwpwork)

    Hi,

    Just to let you know, in case anybody is interested – this method does work. So if you corrupt your child theme and as a result you cannot get into your site. Just rename the CHILD theme folder (in your chosen FTP client), log back into wp to check that it has reverted back to use the previous theme and is now working. If so, log back out, change the child file name back to it originally name (in the FTP client). Log back into WP, under Themes it should show the child theme, just go in a delete it. Now, if you want you can create a new child theme using your preferred method (I used Child Theme Configurator).

    Hope this helps somebody,

    Paul

Viewing 1 replies (of 1 total)
  • The topic ‘Error in Child theme causing WordPress to crash’ is closed to new replies.