Forums

Something funky is happening (5 posts)

  1. lukafer2
    Member
    Posted 3 years ago #

    Alright, so I was messing around in the functions.php file, trying to do some things, which cause me to get this error:

    Parse error: syntax error, unexpected '{' in /home/content/s/a/m/samhancock24/html/teenagedmarketer/wp-content/themes/df_marine/functions.php on line 13

    no matter what page i go to on my blog i get that error.

    So I erased everything that I did, and i still get that error.

    It says the error is on line 13, but there arent even 13 lines in the file. This is everything that is currently in that file and I still get the error:

    <?php

    if ( function_exists('register_sidebars') )
    register_sidebar();

    ?>

    Somebody please help

  2. lukafer2
    Member
    Posted 3 years ago #

    blog = http://www.teenagedmarketer.com

    tell me if you see the same thing!

    gracias

  3. lukafer2
    Member
    Posted 3 years ago #

    I forgot to mention, I also have a bunch of the code that I typed in at the top of the dashboard right above where it says "Site Name <-- Visit Site"

    It's wierd I know...any help?

  4. iridiax
    Member
    Posted 3 years ago #

    Redownload the theme from wherever you got it and upload the original functions.php to replace the problem one.

  5. lukafer2
    Member
    Posted 3 years ago #

    wow....how obvious was that... haha thanks a lot. it worked.

    i owe you my life

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.