WordPress.org

Ready to get started?Download WordPress

Forums

problems with themeswitcher plugin (2 posts)

  1. tehmiminator
    Member
    Posted 7 years ago #

    Basically, I am as n00b as you can get with WP.. so please have patience. :) Being as nit-picky as I am, this bothers me. Although myentire blog works fine, the theme-switcherworks fine... it all WORKS, I get errors in certain places such asthe box underneath the place where Itype my post and when I click to use the star-ratings for a post... it pops up a little error, but it still calculates the rating and if you refresh it goes away.

    Actually, I just triedto go to wp-login.php and it won'tcome up anymore.. lol This is the error I am getting:

    Warning: Cannot modify header information - headers already sent by (output started at /home/akuhei/public_html/x/wp-content/plugins/theme-switcher.php:166) in /home/akuhei/public_html/x/wp-login.php on line 9

    Warning: Cannot modify header information - headers already sent by (output started at /home/akuhei/public_html/x/wp-content/plugins/theme-switcher.php:166) in /home/akuhei/public_html/x/wp-includes/pluggable-functions.php on line 288

    So, I guess it is a problem, eh? Anyway, that is the basic error I see on everything. It says that theme-switcher.php already called the header or something along those lines..

    Side info- I have three themes, the 2 default ones and then the one I d/led... I only have the actual theme-switcher include on the d/led one... I don't know if that is a problem..

    I pulled a retard-move and changed something in the beginning.. When I got that error originally I went into plugins.php and changed this:

    header('Location: plugins.php?activate=true');

    To this:

    header('Location: theme-switcher.php?activate=true');

    Then realized that was probably messing it all up so I changed it back (obviously I have noclue what I am doing! :P)

    But the errors showup for other files that I never touched.

    Here are the plugins that I have activated:
    Hello Dolly
    WP Post-Ratings
    Theme Switcher
    WordPress Database Backup

    I appreciate any help! :) Thanks for your time. Oh, and if you want to see the site for any reason, it is here: http://www.akuhei.nu/x

    It's not open to the public.

  2. sadish
    Member
    Posted 7 years ago #

    I think you have an empty space at the end of the file, in one of your plugins.
    Open up all those .php files in the plugins folder and make sure you click on backspace at the end, till you reach the last character in the file.

    That would most probably solve it.

    Thanks
    Sadish

Topic Closed

This topic has been closed to new replies.

About this Topic