WordPress.org

Ready to get started?Download WordPress

Forums

Weird Error How do I fix it? (5 posts)

  1. blackirishjo
    Member
    Posted 2 years ago #

    I was working on my wordpress site, and when I tried to delete a theme, (Genesis) I got this error:

    Warning: require_once(/home/jkgamers/public_html/wp-content/themes/genesis/lib/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/jkgamers/public_html/wp-content/themes/serenity/functions.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required '/home/jkgamers/public_html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jkgamers/public_html/wp-content/themes/serenity/functions.php on line 3

    Is there any way I can fix this?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

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

  3. blackirishjo
    Member
    Posted 2 years ago #

    There is no /genesis folder in my wp-content/themes

    now what?
    there is a index.php in there and when i open it with notepad it says "silence is golden" and a couple characters of code

    is that supposed to be there?

  4. blackirishjo
    Member
    Posted 2 years ago #

    I did have the serenity theme activated when the error happened, if this helps. It does say

    include path /home/jkgamers/public_html/wp-content/themes/serenity/functions.php on line 3.

    so should i just delete the serenity folder instead, or would this just cause more issues?

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    should i just delete the serenity folder instead

    Yes

Topic Closed

This topic has been closed to new replies.

About this Topic