Support » Fixing WordPress » Fatal Error

  • I was trying to change some code in the Mantra theme and when I tried to update it I got this code…

    Fatal error: Cannot redeclare cryout_setting_socials5_fn() (previously declared in /home/content/96/10783796/html/wp-content/themes/mantra/admin/settings.php:1989) in /home/content/96/10783796/html/wp-content/themes/mantra/admin/settings.php on line 1999

    …and now it won’t let me in to update ANYTHING! HELP please!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do you have a backup? Which file were you editing? Do have have FTP or web host file manager access to your theme files? You will need to be able to replace the file that was edited improperly in one the manners noted with a copy from the version of your theme in use (or direct edit file if you know what was added that caused the issue).

    I have no idea if I have a backup. I was trying to update the Social Media Settings file. I use GoDaddy as a host. I can’t get into the site to do anything. It won’t let me acces the dashboard or even to make a new post. I’m totally lost.

    Log into GoDaddy, go your web host area, go to the file manager, there you can rename the file edited in error and upload an unedited version. If unsure, call GD.

    I don’t know how to upload an unedited version

    I don’t know how to upload an unedited version

    – download original unedited theme from author’s site
    – download FTP tool, like FileZilla, you can do that here
    https://filezilla-project.org/download.php/
    – unzip your theme
    – connect FileZilla to your server
    – using FileZilla, open files stored at your host and navigate to wp-themes in one window and your computer’s files in another and navigate where you have unzipped version of your theme
    – upload your theme. You can either overwrite the edited misbehaving files or delete them first and then upload

    If you don’t know how to use FileZilla you can google tutorials or check out YouTube. There are plenty.

    Don’t despair! 🙂

    WPyogi

    (@wpyogi)

    Forum Moderator

    You can download Mantra here:

    Mantra

    I did that. Now I’m trying to figure out what to do with it. I guess I will have to call GoDaddy

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error’ is closed to new replies.