[resolved] Changed theme and caused Fatal Error in page (8 posts)

  1. serecrea
    Posted 2 years ago #


    I need your help!
    I had Duena theme instaled on my webpage, and I changed the theme for another one (dont remember name). After doing this, the page blocked displaying this:

    Fatal error: Cannot redeclare optionsframework_init() (previously declared in /home/content/20/10899320/html/wp-content/plugins/options-framework/options-framework.php:32) in /home/content/20/10899320/html/wp-content/themes/pr-news/inc/options-framework.php on line 105

    This message is always showed when I try to go into the admin webpage.

    Now I don`t know what to do. Any body?

    This is the webpage: http://serecrea.com/
    The admin webpage: http://serecrea.com/wp-login.php


  2. Bill
    Posted 2 years ago #

    Looks like maybe a conflict between the PR-news theme and the Options Framework plugin. If you can't log in, use FTP or your webhost's file manager to change the name of the plugin (maybe add hold- to the plugin's folder name). That should disable it. If you can then log in, that was likely the problem. Then you'll need to decide if you want to change the theme back or go without the plugin. Either way, you might contact the developers of both to see about a fix.

    edit: somewhere like (your webroot) > wp > content > plugins > options-framework

  3. Pioneer Web Design
    Posted 2 years ago #

    Actually, it is:


    Site is returning error at Sucuri.

    Either their test url (assumed to throw a 404 or 500) is not being handled by your server, or you have been compromised.

    Based on the issues noted you may want to discuss with host.

  4. edgardpe
    Posted 2 years ago #

    Hi there, I couldn't avoid see your web (serecrea.com) and still has the problem. I had the same problem and I did what Frumph said in http://wordpress.org/support/topic/fatal-error-cannot-redeclare-disable_all_widgets (delete the theme from my cPanel and after reinstall the latest theme who was working) I hope it works for you.

  5. helenmansonrv
    Posted 2 years ago #

    hi i recently changed them to the onetone and it screwed my site admin..cannot login.
    pls help!

    Fatal error: Cannot redeclare optionsframework_init() (previously declared in /home/s1018273/public_html/client-wp/wp-content/plugins/options-framework/options-framework.php:32) in /home/s1018273/public_html/client-wp/wp-content/themes/onetone/admin/options-framework.php on line 43

  6. Mark Ratledge
    Forum Moderator
    Posted 2 years ago #

    @helenmansonrv: Delete the onetone theme with FTP and the default WordPress theme will load.

  7. helenmansonrv
    Posted 2 years ago #

    thank u! thats what i did i removed it from the main ftp : )

  8. Srivilasica
    Posted 1 year ago #

    Had the same problem with another theme; deleted it from ftp and everything's fine. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.