Cover WP Crashes

Viewing 2 posts - 1 through 2 (of 2 total)
  • #2004
    swilson7
    Participant

    When I set up a child for “Cover WP” I get a pretty catastrophic error. The following occurs upon entry of http://localhost/wordpress/ in the browser…

    Warning: require_once(C:XAMPPxampphtdocswordpress/wp-content/themes/cover-wp-child/theme-options.php) [function.require-once]: failed to open stream: No such file or directory in C:XAMPPxampphtdocswordpresswp-contentthemescover-wpfunctions.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required ‘C:XAMPPxampphtdocswordpress/wp-content/themes/cover-wp-child/theme-options.php’ (include_path=’.;C:XAMPPxamppphpPEAR’) in C:XAMPPxampphtdocswordpresswp-contentthemescover-wpfunctions.php on line 3

    …and it is no longer possible even to log into the Dashboard to change themes because the Dashboard, too, tries to load the child theme leading to the same crash.

    Please reply to [email protected]
    Thank you

    #2005
    Daniel Tara
    Keymaster

    Thanks for letting me know this. There’s a bug in the theme that causes this error, but luckily it can be fixed quick:

    Open the file functions.php and on the third line, this one:

    require_once ( get_stylesheet_directory() . '/theme-options.php' );

    replace [center]get_stylesheet_directory()[/center] with [code]get_template_directory()[/code]

    This will get it fixed.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.