Title: Functions.php error
Last modified: August 20, 2016

---

# Functions.php error

 *  [zacho56](https://wordpress.org/support/users/zacho56/)
 * (@zacho56)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/)
 * Hey guys. I recently had this error when trying to switch back to my theme. Fatal
   error: Cannot redeclare _verify_activate_widget() (previously declared in /home/
   zbeworl0/public_html/Newsblog/wp-content/themes/arras/functions.php:188) in /
   home/zbeworl0/public_html/Newsblog/wp-content/themes/arras/library/admin/templates/
   functions.php on line 243
 * I need this fixed ASAP and have no idea where to start. Can someone lend a hand?
 * Thanks!
 * Zach

Viewing 8 replies - 16 through 23 (of 23 total)

[←](https://wordpress.org/support/topic/functionsphp-error-5/?output_format=md) 
[1](https://wordpress.org/support/topic/functionsphp-error-5/?output_format=md) 
2

 *  Thread Starter [zacho56](https://wordpress.org/support/users/zacho56/)
 * (@zacho56)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793819)
 * ill try the plugins but if i deactivate all of them and reactivate them will 
   their settings still be intact?
 *  Thread Starter [zacho56](https://wordpress.org/support/users/zacho56/)
 * (@zacho56)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793829)
 * i tried the plugns. nope its not them. this is insane. I looked at the functions.
   php’s and on the installed theme it was way shorter than the downloaded theme’s
   functions.php file. any ideas?
 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793836)
 * After thinking about it over night, I believe that just deactivating the plugins
   will not find the problem because the bad code is already installed. You would
   need to disable all plugins then reinstall the theme while they are disabled.
 * If you don’t have too many plugins, list them here and I may be able to spot 
   ones that might cause trouble.
 *  Thread Starter [zacho56](https://wordpress.org/support/users/zacho56/)
 * (@zacho56)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793879)
 * Hey bud. First, words cant begin to describe how much I appreciate you taking
   time to help me with this.
 * Now..
 * I deactivated ALL plugins and reinstalled the theme.. nope, not working. I even
   tried different versions of the theme and same thing. Is there any way to keep
   my site intact but do a fresh install of wordpress and still have everything 
   there? Im so desperate at this point. Thanks very much 😀
 * Zach
 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793880)
 * If it is not the plugins, then it is more likely that you have been hacked. There
   is likely some malware code somewhere that is adding the extra code to functions.
   php.
 * You can reinstall WP without losing anything by going to Dashboard->Updates and
   clicking ‘Reinstall Now’, but I doubt that it will clear the problem.
 * Can you put the infected functions.php in a [pastebin](http://pastebin.com) and
   post a link to it here so I can see the code?
 *  Thread Starter [zacho56](https://wordpress.org/support/users/zacho56/)
 * (@zacho56)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793881)
 * Hey. Here is the code for the arras theme functions.php
 * [http://pastebin.com/ASeUsE2r](http://pastebin.com/ASeUsE2r)
 * thanks!
 *  Thread Starter [zacho56](https://wordpress.org/support/users/zacho56/)
 * (@zacho56)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793904)
 * Any luck friend? I dont know what to do :'( :'( this will ruin my business
 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793905)
 * The code in the file you posted didn’t LOOK like malicious code, so I don’t know
   what to make of it.
 * Look to see if that code is in any other functions.php file. Go to Admin->Appearance-
   >Editor and select a different theme from the dropdown on the right. Edit its
   functions.php and see if you find any of the bad code there.

Viewing 8 replies - 16 through 23 (of 23 total)

[←](https://wordpress.org/support/topic/functionsphp-error-5/?output_format=md) 
[1](https://wordpress.org/support/topic/functionsphp-error-5/?output_format=md) 
2

The topic ‘Functions.php error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 23 replies
 * 3 participants
 * Last reply from: [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/functionsphp-error-5/page/2/#post-2793905)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
