• bamaxxx

    (@bamaxxx)


    the web site is https://www.ilyao.com

    I was changing themes and suddenly this happened

    Fatal error: Undefined class name ‘k2’ in /homepages/37/d317353578/htdocs/wp-content/themes/k2/functions.php on line 21

    I cannot login or do anything, I am not quite sure what to do or what happened. Can anyone tell me what this means?

    thanks!

Viewing 15 replies - 1 through 15 (of 20 total)
  • esmi

    (@esmi)

    FTP into your site (or use whatever file management application your host provides) and delete the /wp-content/themes/k2 folder.

    Thread Starter bamaxxx

    (@bamaxxx)

    I did that, the notice went away but now nothing is loading up

    esmi

    (@esmi)

    Is the default theme installed?

    Also try resetting the plugins folder by FTP or phpMyAdmin.

    Thread Starter bamaxxx

    (@bamaxxx)

    yes the default theme is still there, and btw I unactivated the plugins before I changed the themes, (or was trying to)

    Thread Starter bamaxxx

    (@bamaxxx)

    Also renamed the plugins to plugins.hold to stop the plugins from working, that didn’t do anything

    esmi

    (@esmi)

    I’d still try resetting the plugins folder – preferably using phpMyAdmin if you can. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter bamaxxx

    (@bamaxxx)

    renaming the plug in folder will not do the same?

    esmi

    (@esmi)

    It’s not as complete a reset as the phpMyAdmin method.

    Thread Starter bamaxxx

    (@bamaxxx)

    still not working

    Thread Starter bamaxxx

    (@bamaxxx)

    acctually now it is prompting me to reinstall word press…..am I going to have to reinstall and loose everything?

    Thread Starter bamaxxx

    (@bamaxxx)

    anyone?

    henkholland

    (@henkholland)

    Why not re-upload the wp files and directories through FTP (but not wp-config.php).

    Thread Starter bamaxxx

    (@bamaxxx)

    reloaded the oem theme now it works,

    but I loaded f2 theme and now I get

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/37/d317353578/htdocs/wp-includes/widgets.php on line 825

    on the side, what does this mean? Is there something I need to change in the code again in the plugins part?

    Thread Starter bamaxxx

    (@bamaxxx)

    also all my pages are gone, are they really gone or do I need to do something to get them bacK?

    esmi

    (@esmi)

    Try deleting the wp-content/themes/f2 folder.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Fatal error while changeing theme website doesnt work help!’ is closed to new replies.