• robotrod

    (@robotrod)


    Hi, I am having a problem where I just activated a new theme and now I can’t get on my site. This is exactly what comes up:

    Fatal error: Call to undefined function add_editor_style() in /hermes/bosweb25b/b857/ipg.robotrod/Blog/wp-content/themes/mygrid2/functions.php on line 27

    I went through my domain provider and am currently updating to the most current wordpress to see if that will help but I am worried it will erase everything especially since I didn’t have a chance to back it up. Anything I can do? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    The add_editor_style() function has been in WordPress since version 3.0 and your site is running 2.9.2.

    That won’t work. 😉

    I don’t think 2.9.2 will switch back to the default theme if you delete the whole themes/mygrid2 directory…

    Use FTP or whatever file management tools your host has provided you and try renaming themes/mygrid2/functions.php to themes/mygrid2/functions-old.php. Once that’s done, see if you can log into your WordPress installation.

    If that does work, switch back to your old theme and consider upgrading to the current version of WordPress.

    Thread Starter robotrod

    (@robotrod)

    Hi Jan, Thank you so much for getting back to me. I tried that and unfortunately here is what I got. 🙁

    The webpage at ftp://ftp.intheroomwheremillisleeps.com/Blog/wp-content/themes/mygrid2/functions-old.php might be temporarily down or it may have moved permanently to a new web address.
    Error 601 (net::ERR_FTP_FAILED): Unknown error.

    I can see the files in my ftp but now I am not sure what to do.

    Chip Bennett

    (@chipbennett)

    Use FTP, and delete the mygrid2 Theme entirely. i.e. delete this:

    wp_content\themes\mygrid2

    Then, using your browser, navigate to your WP-admin backend. At that point, WordPress will automagically revert to the default Theme.

    Then: update your WordPress installation. Why on earth are you still using WordPress 2.9.2? That version is well over 2 years old.

    Thread Starter robotrod

    (@robotrod)

    Hi Chip,

    Thank you so much. I was able to delete that folder and got into the backend of the blog ad updated wordpress. The weird thing is now when I go on the official page of the blog it’s a blank screen with the number 0. Would you or anybody else here happen to know why that might happen? After updating, should I have updated the theme too?

    Thread Starter robotrod

    (@robotrod)

    Nevermind I see that I had to reactivate the old theme. Thanks again to everybody for their help! =)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Site crashed after activating new theme’ is closed to new replies.