WordPress.org

Ready to get started?Download WordPress

Forums

Fatal Error (8 posts)

  1. Henna Spice
    Member
    Posted 8 months ago #

    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!

  2. Pioneer Valley Web Design
    Member
    Posted 8 months ago #

    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).

  3. Henna Spice
    Member
    Posted 8 months ago #

    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.

  4. Pioneer Valley Web Design
    Member
    Posted 8 months ago #

    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.

  5. Henna Spice
    Member
    Posted 8 months ago #

    I don't know how to upload an unedited version

  6. ubound
    Member
    Posted 8 months ago #

    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! :)

  7. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    You can download Mantra here:

    http://wordpress.org/themes/mantra

  8. Henna Spice
    Member
    Posted 8 months ago #

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

Reply

You must log in to post.

About this Topic

Tags

No tags yet.