• Resolved 7Farmgirls

    (@7farmgirls)


    I’ve made a child theme of the free Spacious theme and tested it out on my test site blog.sevenfarmgirlsisters.com. Both Spacious and my spacious child work fine on here.

    I tried loading them both on to my regular site, sevenfarmgirlsisters.com and I get this message:

    PHP Fatal error: Cannot redeclare _verify_activate_widget() in /home/xxxx/public_html/wp-content/themes/spacious/inc/functions.php on line 473

    I looked into the inc/functions.php and it only has 471 lines ?

    I’ve tried deactivating all of my plugins. I’ve tried putting all of the same plugins that are on my blog on my test site. I’ve tried deleting the theme and reinstalling it. I’ve tried only the Spacious theme, forgetting even my child theme. It still only works on my test site and not my regular site.

    Thank you for any help!!!

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter 7Farmgirls

    (@7farmgirls)

    OHYESOHYESOHYESOHYES! I guess I’m not supposed to use caps on here…but that’s me yelling for joy ??

    SOMEHOW I fixed it. I’m not sure how exactly other than I completely deleted ALL of my themes and plugins from my cpanel. Every single one. Then I uploaded the theme again and it WORKS! Oh joy and gladness ??

    I’ll be carefully uploading the plugins from here on out ??

    Thank you for taking the time to help me, Ross!

    Somehow you are trying to define two functions called “_verify_activate_widget”, this is most likely because the same file is being loaded twice. Though it could be that by chance this function in your theme is colliding with a plugin.

    Have you tried disabling ALL the plugins ? If this helps then by elimination find which one is causing it.

    Are you able to do a text search across all the files on your website ? If you can, then search for “_verify_activate_widget” and see which files use and define it.
    I am able to do this kind of search on my own websites, I have never tried, but it may be possible to do this on cPanel hosted sites.

    Thread Starter 7Farmgirls

    (@7farmgirls)

    Ah! Okay! I actually *deleted* all of my plugins, because I tried disabling them and it didn’t help anything. So now that I deleted them all, it’s working ?? I’m going to carefully add one at a time back.

    I’m not sure if I can do a text search across all of my files…I’ll find out.

    Well done.
    Would it be appropriate to mark this thread as resolved ?

    There is no longer any need to do that text search, it would have told us how the conflict occurred.

    Thread Starter 7Farmgirls

    (@7farmgirls)

    Yes! We can mark as resolved now ??

    Thank you again…SO much! ??

    Do remember to comment out or remove those DEBUG settings.

    Thread Starter 7Farmgirls

    (@7farmgirls)

    Thank you! I had forgotten about that ??

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘[Theme: Spacious Free] PHP fatal error. Theme won't load onto site.’ is closed to new replies.