The MU forums have moved to WordPress.org

Problem after I changed my theme (7 posts)

  1. CallMePeter
    Member
    Posted 16 years ago #

    Hi, I have problem after I changed my theme. I changed it to "vistered-little" and it appeared:

    Fatal error: Cannot redeclare pickaskin() (previously declared in /home/peter/public_html/blog/wp-content/themes/vistered-little-1/functions.php:44) in /home/peter/public_html/blog/wp-content/themes/vistered-little-1/functions.php on line 43

    I wonder what made it? I believe there is a problem with the theme, if yes how do I change it back? I can't access to everypage including Admin page or homepage
    Need help ASAP, Thanks

  2. lunabyte
    Member
    Posted 16 years ago #

    Edit the db with phpMyAdmin, and change the theme for the particular blog back to something else.

  3. andrea_r
    Moderator
    Posted 16 years ago #

    Yep, it's the theme. Ftp into your server and delete or rename it.

  4. lunabyte
    Member
    Posted 16 years ago #

    Hmmm. A fix for the theme seems like it would need a

    `if ( !function_exists('pickaskin') ) {

    }

    '

    wrapped around that function.

    I haven't got to that theme in my editing yet, but nice to have a heads up to look for it.

  5. andrea_r
    Moderator
    Posted 16 years ago #

    There's a working version of this theme in the latest theme pack from Farms.
    http://wpmudevorg.wordpress.com/project/Theme-pack-by-Farms

    Also, it's the functions part is exactly what's wrong. It's from Ohz's theme toolkit which borks in MU, but someone's got a fix. Shoudl be able to us that in theme which ave a functions file that does this again.
    http://jason.lah.cc/2006/05/10/theme-toolkit-for-wordpress-mu/

  6. CallMePeter
    Member
    Posted 16 years ago #

    So andrea I need to download that theme pack by Farms and replace it with the one I am using now?
    OK I will do that

  7. cirixii
    Member
    Posted 16 years ago #

    Just came across this exact problem myself. Thanks for the link to the themes pack.

About this Topic

  • Started 16 years ago by CallMePeter
  • Latest reply from cirixii