• Please help, I am in danger of losing even more hair.

    I’ve installed the latest version of WP and finally got it up and running. I already knew of a theme I wanted to apply, so I downloaded and installed Neutica by Allan Cole. https://www.allancole.com/themes/neutica/

    While I was messing around and learning what everything did, I tried installing the Theme Switcher widget, which promptly broke, leaving absolutely no way of removing the widget from the page – the moveable box on the right hand bar in the widgets menu has disappeared.

    All I get is this error message:

    %BEG_OF_TITLE%Theme Switcher%END_OF_TITLE%

    Fatal error: Call to undefined function wp_theme_switcher() in /home/brokenre/public_html/wordpress/wp-content/themes/neutica-theme-109/neutica/functions.php on line 327

    You can see for yourself at https://www.broken-record.com

    Now… is there some way I can manually edit this out? (I cannot find any call up for it in the sidebar.php text) Even better, is there some way that I can completely reset the adjustments to the theme? I’ve tried re-downloading and overwriting the files on my web host, but the page still reverts back to any design changes I made. Infuriating!

    Help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter minimal1210

    (@minimal1210)

    *Bump*

    Please help me guys and girls, I’ve been at this for hours and no help seems to exist!

    Hey mininal1210

    Hope there be some aid soon, I’m in a same situation as you:

    https://www.kheesiong.com/canaryyellow

    I’ll post the solution here if I can find one elsewhere…

    @minimal1210
    Hi, if you ftp to your site and delete the neutica-theme-109
    Then clear your browser cache and cookies and log back in, it should revert to your default theme.
    hope you get there.
    mike.

    Try deleting the plugin itself–wp-content/plugins/theme_switcher_file_or_folder.

    oops, my fault, by reading your post I made the wrong assumption that theme switcher was part of your neutica theme, obviously not, its the theme switcher that needs deleting. Thanks to MichaelH for noticing.
    Mike.

    I just checked the blog of kheesiong
    Seems to be the same problem, and still looks as though the error is coming from the theme.

    Right, I fixed mine.

    I did this by finding the ‘functions.php’ file from my ftp client and open it up either on dreamweaver or textedit. Now find line 317 to 336 which contains this:

    // Theme Switcher
    function widget_themeswitch($args) {
    extract($args);
    ?>
    <?php echo $before_widget; ?>
    <?php echo $before_title
    . ‘Theme Switcher’
    . $after_title; ?>

    • <?php wp_theme_switcher(); ?>

    <?php echo $after_widget; ?>
    <?php
    }
    register_sidebar_widget(‘Theme Switcher’,
    ‘widget_themeswitch’);

    delete this and put it back where you found it. Then thats it sorted.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Removing a broken widget *Help!*’ is closed to new replies.