Forums

[resolved] Help -- I cannot access site due to fatal error -- Cannot redeclare submit butto (7 posts)

  1. signatureswaps
    Member
    Posted 1 year ago #

    Hello,

    I last accessed my site - http://www.signatureswaps.com on April 26, 2011. I made a few modifications to the site (uploading pictures) and etc. I have not been able to access the site since then. Every time, I try to access the site, I receive the following error message: Fatal error: Cannot redeclare submit_button() (previously declared in /home/content/40/6632740/html/wp-content/themes/pandora/options/codegen.php:43) in /home/content/40/6632740/html/wp-admin/includes/template.php on line 2130

    Can someone please assist me?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    FTP into your site (or use whatever file management application your host provides) and rename /wp-content/themes/pandora to /wp-content/themes/pandora-broken.

  3. signatureswaps
    Member
    Posted 1 year ago #

    This worked! Thank you so much!

  4. Doomsan
    Member
    Posted 11 months ago #

    I have the same problem. Could you put the theme back up with no problems?. Thanks.

  5. Herr_ABP
    Member
    Posted 9 months ago #

    For anyone else looking for a fix it's fairly simple...

    1. Download the "Options" folder under wp-content/themes/pandora/.

    2. Open the folder using an IDE which supports find and replace within all files in a site / folder.

    3. Replace all instances of "submit_button" with "submit_button_pandora".

    4. Reupload.

    Sorted ^_^

  6. jxtgroup
    Member
    Posted 6 months ago #

    @Herr_ABP

    Thanks!

  7. donboy7
    Member
    Posted 4 months ago #

    thanks for the fix @Herr_ABP

Topic Closed

This topic has been closed to new replies.

About this Topic