WordPress.org

Ready to get started?Download WordPress

Forums

Leaf
Fatal error: Cannot access the website (3 posts)

  1. flyingpigtea
    Member
    Posted 1 year ago #

    Hi,

    I installed the woocommerce plugins to the website, but the plugin did not work perfectly with the theme. The layout was all messed up, so I tried to fix the problem by using hooks, as suggested by the plugin support page (http://docs.woothemes.com/document/third-party-custom-theme-compatibility/).

    I added the given lines to the theme’s functions.php file, then the website just crashed. I couldn't access the website anymore, all I got is this message,

    "Fatal error: Cannot redeclare my_theme_wrapper_start() (previously declared in /home/content/45/10677645/html/wp-content/themes/leaf/functions.php:36) in /home/content/45/10677645/html/wp-content/themes/leaf/includes/theme-functions.php on line 265"

    Please help and let me know what I should do to resolve this problem. I really like the theme. It looks very nice and neat!

    Thanks in advance!

  2. boggie313
    Member
    Posted 1 year ago #

    uninstall and reinstall the theme.

  3. bradthomas127
    Member
    Theme Author

    Posted 1 year ago #

    Looks like you put the hook in twice. Do what boggie313 said and you should be doing your edits in a child theme. Leaf-Child GitHub

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.