• 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

Syntax error !

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 › General Discussion › Syntax error !

This topic is: not resolved

Tagged: error, Parse Error, syntax error

  • This topic has 6 replies, 4 voices, and was last updated 8 years, 2 months ago by Brad Dalton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 30, 2017 at 1:20 pm #204067
    wnb
    Member

    I am getting this error in functions.php

    Parse error: syntax error, unexpected '}' in /home/w447/public_html/NEK9/wp-content/themes/executive/functions.php on line 198

    Trying to fix footer added some code and then removed it, then got error

    Does anybody know what I have done and how I can fix it?

    http://w447.com/NEK9
    March 30, 2017 at 1:27 pm #204068
    Victor Font
    Moderator

    FTP a new copy of functions.php to the site.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 30, 2017 at 1:43 pm #204069
    wnb
    Member

    I did Victor, but this is what I got !!!!

    http://w447.com/NEK9/

    March 31, 2017 at 5:44 am #204108
    Victor Font
    Moderator

    You're site appears to be down. I would restore from a backup.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 31, 2017 at 5:50 am #204109
    wnb
    Member

    Thanks for taking a look Victor. That URL was just a work area. I simply redid the site and it is up now. Thanks for your help.

    April 7, 2017 at 8:54 am #204433
    ashadle
    Member

    I got the same thing!!

    I keep getting this error..

    '
    Parse error: syntax error, unexpected end of file in /home/builtbyb/public_html/preview/amberlights/wp-content/themes/genesis/functions.php on line 28'

    And now i can't even log in to the site!! Please help!! How does FTP work, if I can't even log in?

    April 7, 2017 at 7:16 pm #204475
    Brad Dalton
    Participant

    Use a FTP client or File Manager in cPanel

    Your code is missing a closing curly bracket }

    Never add PHP code using the theme edit or in WordPress.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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