Need help with Wordpress Error (Site not working anymore)

3 replies
I was just trying out some new hook functions on Wordpress Genesis theme and after I saved it this error came up. So i went back to the editor and deleted the function code that I added and left it like it was before and saved it. Now this error is still showing up and I cant even go back to my site, let alone get access to wp-admin.

I'm no tech geek which is why I'm here asking for help. Has this happened to anyone before?


on line 27
#anymore #error #site #wordpress #working
  • Profile picture of the author Makis77
    Restore you functions.php with the original one by uploading it via ftp or file manager.

    ps: You can post new functions from the Genesis framework options at the dashboard so you dont have to edit functions.php.
    Signature

    - Looking to install WordPress?
    - Do you have problems installing or editing a theme?
    - Is your WordPress version outdated and in need of an upgrade?

    Fix My WP
    can do all this for you for $35 per job!

    {{ DiscussionBoard.errors[7693090].message }}
  • Profile picture of the author Mohsin Rasool
    Originally Posted by Adam Curry View Post

    I was just trying out some new hook functions on Wordpress Genesis theme and after I saved it this error came up. So i went back to the editor and deleted the function code that I added and left it like it was before and saved it. Now this error is still showing up and I cant even go back to my site, let alone get access to wp-admin.

    I'm no tech geek which is why I'm here asking for help. Has this happened to anyone before?


    Parse error
    : syntax error, unexpected '<' in /home/adamc88/public_html/oilymint.com/wp-content/themes/fabric/functions.php on line 27
    You cannot change in theme editor again due to this error Wordpress has broken.
    You need to go into Cpanel file manager and undo/fix that code or edit from FTP.
    When that error is gone, you will be able to edit from theme editor again.

    >Has this happened to anyone before?
    LOL, how many times an hour? We build Genesis and Wordpress sites,
    and in development phase, we break sites often, but we correct the code in next second,
    as we work in development/local-host server using text-editor linked to server.
    So even WP is broken, we can still edit the files to correct.

    Nothing to worry about it. It is normal!
    Let me know if you cannot fix it yourself.

    regards,
    Mohsin
    {{ DiscussionBoard.errors[7694195].message }}
  • Profile picture of the author atinder
    as Moshin mentioned its a small error you just need to remove
    <?php on line 27 most probably
    good luck
    {{ DiscussionBoard.errors[7694456].message }}

Trending Topics