• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Uh Oh! Editing function.php code crashed site

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Uh Oh! Editing function.php code crashed site

This topic is: resolved

Tagged: site crash

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 12 months ago by DanielleM.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 26, 2013 at 10:16 pm #52724
    DanielleM
    Member

    I was trying to edit the function.php file and crashed my site. Now all I get (backend or published site) is an error code:

    Parse error: syntax error, unexpected $end in /home/content/40/11426440/html/wp-content/themes/backcountry/functions.php on line 111

    I can't access any menu items on dashboard to activate my backup, reload the theme, or try to correct the problem.

    What should I do?

    http://mmmsocialmedia.com
    July 26, 2013 at 10:41 pm #52726
    Brad Dalton
    Participant

    Login to your server using FTP or File Manager in cPanel and download a copy of your child themes functions.php to your desktop as backup.

    Then upload a copy of that file from your local backup or a new copy of the theme.

    Looks like you are missing a closing curly bracket on line 111.

    }
    

    Tutorials for StudioPress Themes.

    July 27, 2013 at 12:05 am #52735
    DanielleM
    Member

    Thank you so much for your response! I really appreciate you pin pointing the problem. Now I can learn from my mistake. Problem is solved!

    I also received another response from a different forum site. Sharing below just in case someone else has the same problem in the future. Two possible solutions...

    <<

    You can use FTP (or other file manager your host provides) to deactivate that theme - by changing the name on the theme's folder - find it here:

    wordpress
    wp-content
    themes
    backcountryHOLD - add HOLD here

    Then reinstall the theme or replace that functions.php file with a new copy.

    >>

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Uh Oh! Editing function.php code crashed site’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble