Community Forums › Forums › Archived Forums › General Discussion › Please help me with – Fatal error: Cannot redeclare _verify_activate_widget()
Tagged: Balance, child theme, Fatal Error
- This topic has 9 replies, 4 voices, and was last updated 10 years, 7 months ago by guitario.
-
AuthorPosts
-
February 11, 2014 at 4:58 am #89766guitarioMember
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/February 11, 2014 at 6:57 am #89776Davinder Singh KainthMemberTry restoring original functions.php file content in balance and genesis theme. Some code for sure is playing mischief in there.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 11, 2014 at 7:03 am #89780guitarioMemberI 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..
February 11, 2014 at 7:11 am #89783Davinder Singh KainthMemberOk, have you tried using sample genesis theme and checked for the issue. Also, removing all widgets when balance theme is installed?
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 11, 2014 at 7:47 am #89791Andrea RennickMemberIt'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.
February 11, 2014 at 8:58 am #89812guitarioMemberYes, 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?
February 11, 2014 at 9:06 am #89817chillybinMemberCan 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
February 11, 2014 at 9:12 am #89820guitarioMemberThose 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..
February 11, 2014 at 9:41 am #89831chillybinMemberOk, 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
February 11, 2014 at 9:47 am #89832guitarioMemberYes sorry, pulled straight from the zipped download of the Balance theme.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.