Please help me with – Fatal error: Cannot redeclare _verify_activate_widget()

Community Forums Forums General Discussion Please help me with – Fatal error: Cannot redeclare _verify_activate_widget()

This topic is: not resolved

This topic contains 9 replies, has 4 voices, and was last updated by  guitario 9 months, 2 weeks ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #89766

    guitario
    Participant
    Post count: 10

    I am getting this error when I try to see a live preview of the Balance theme

    Fatal error: Cannot redeclare _verify_activate_widget() (previously declared in /home/jamflex/jamflex.co.uk/wp-content/themes/balance/functions.php:110) in /home/jamflex/jamflex.co.uk/wp-content/themes/genesis/functions.php on line 47

    Now, I have deactivated all of my widgets and the genesis core theme works fine, but the child theme doesn’t. (I have also tried another child theme and the same issue).

    I have looked at the lines in question but there is nothing that correlates between the two themes.

    Has anyone come across this before and can point me in the right direction please?

    BTW, I am a PHP idiot.. so treat me as such. :-)

    http://www.jamflex.co.uk/
    #89776

    Davinder Singh Kainth
    Participant
    Post count: 1363

    Try restoring original functions.php file content in balance and genesis theme. Some code for sure is playing mischief in there.


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

    #89780

    guitario
    Participant
    Post count: 10

    I have deleted and re-downloaded both genesis and balance themes from studiopress. So it’s nothing their end. I also have both running together on http://www.psycholocrazy.com without any issues.

    Both domains are running on the same dreamhost servers.

    I really can’t think why it’s doing it on one domain but not the other..

    #89783

    Davinder Singh Kainth
    Participant
    Post count: 1363

    Ok, have you tried using sample genesis theme and checked for the issue. Also, removing all widgets when balance theme is installed?


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

    #89791

    Andrea Rennick
    Keymaster
    Post count: 1356

    It’s a hack, sorry.

    https://www.google.ca/search?q=Cannot+redeclare+_verify_activate_widget()&rlz=1C5CHFA_enCA503CA504&oq=Cannot+redeclare+_verify_activate_widget()&aqs=chrome..69i57&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8


    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.

    Twitterholic

    #89812

    guitario
    Participant
    Post count: 10

    Yes, thanks for that helpful reply..

    I’ve Googled this to death and I’m posting here as a last resort as no one seems to be able to resolve this.

    Davinder – I can’t install the child theme because it breaks the whole thing and I’m locked out. Hence why I’m now testing via the live preview. I don’t have ftp.

    I have tried it with the basic Genesis theme and downloaded it again. I have tried everything without the plugins.

    Does anyone know what piece of code is causing this and how to resolve it please?

    #89817

    chillybin
    Participant
    Post count: 81

    Can you paste your functions.php file here? http://hastebin.com

    It looks like your site may have been hacked though, it’s trying to source these images


    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

    • This reply was modified 9 months, 2 weeks ago by  chillybin.
    • This reply was modified 9 months, 2 weeks ago by  chillybin.
    #89820

    guitario
    Participant
    Post count: 10

    Those images are included in the articles on my main site. They aren’t spam or hacks. I do think one of those is now a defunct link as the image is broken when I try to view it.

    My hastebin codey for the Genesis theme is here..

    http://hastebin.com/dewejahuqi.php

    #89831

    chillybin
    Participant
    Post count: 81

    Ok, it just looked like a weird IP address…

    Do you have the functions from your child theme as well?


    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

    #89832

    guitario
    Participant
    Post count: 10

    Yes sorry, pulled straight from the zipped download of the Balance theme.

    http://hastebin.com/wevelajiho.scala

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

You must be logged in to reply to this topic.