Title: plugin.php
Last modified: December 10, 2016

---

# plugin.php

 *  [Kimbert](https://wordpress.org/support/users/kimbert/)
 * (@kimbert)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/)
 * _[ Moderator note: [moved to How-to and Troubleshooting](https://wordpress.org/support/topic/wheres-my-topic-gone?replies=1&view=all).]_
 * My site comes up with this message after cleaning up the wp admin / includes
 * Fatal error: Cannot redeclare register_setting() (previously declared in /home/
   thereddonv/www-gi/wp-includes/option.php:1871) in /home/thereddonv/www-gi/wp-
   admin/includes/plugin.php on line 1779
 * How do I fix this?
 * thnx for a saturday evening
 * K

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8538291)
 * > after cleaning up the wp admin / includes
 * PLease explain that!
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8538465)
 * You’ve apparently used files from different versions. You should do a [manual update](https://codex.wordpress.org/Updating_WordPress#Manual_Update)
   to version 4.7.
 *  Thread Starter [Kimbert](https://wordpress.org/support/users/kimbert/)
 * (@kimbert)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8540390)
 * I cannot connect my sit to jetpack and am always getting a network error
 * and found in my site root on my sftp double files of everything but with (numbers)
   in paratheses in my wpadmin/includes file.
    So, I started taking them off but
   realized that if our site was hacked that the files in the paratheses are the
   wp original ones that has been deactivated.
 * I restored a back up from 2 wks ago.
 * And those files are still there…
 * I have once before been put on a server by someone. But since I have been trying
   to hook up jetpack, I keep on getting network errors
 * Here is the link to see my the files on my sftp
 * Can someone tell me what this is all about?
 * [https://www.dropbox.com/s/95gxaxcr2lozv53/wp%20admin%20includes.doc?dl=0](https://www.dropbox.com/s/95gxaxcr2lozv53/wp%20admin%20includes.doc?dl=0)
 * thanks
 *  [Fishman Dan](https://wordpress.org/support/users/fishman-dan/)
 * (@fishman-dan)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8542868)
 * I’m also having this problem, and it is because of a WP 4.7 upgrade.
 * Long story short: It’s all my fault.
 * Slightly longer version: My site wasn’t updating a number of plugins automatically,
   including WP 4.7, Jetpack and a couple more. So I resorted to Manual and completely
   screwed up. Important: I had copied *some* of the 4.7 files.
 * A small number of files, including /wp-admin.php, did not upload because the 
   file was busy/in use.
 * The site has since been restored and was displaying fine, though I couldn’t get
   to the admin login page (error). I’ve since copied (FTP’ed) the remaining files(
   as advised here -> [https://codex.wordpress.org/Updating_WordPress](https://codex.wordpress.org/Updating_WordPress)).
 * There were errors relating to files that weren’t there (in /wp-content), but 
   those files have been uploaded and no longer exist. I do however get the following
   error when trying to view my site;
 * >  Fatal error: Cannot redeclare register_setting() (previously declared in C:\
   > Inetpub\vhosts\gladesvillepandc.org\httpdocs\wordpress\wp-includes\option.php:
   > 1871) in C:\Inetpub\vhosts\gladesvillepandc.org\httpdocs\wordpress\wp-admin\
   > includes\plugin.php on line 1788
 * Any help would be greatly appreciated. I’ve asked for a restore from mid-last
   week (the site doesn’t change much), but being technical I’d rather beat this
   thing myself!
 *  Thread Starter [Kimbert](https://wordpress.org/support/users/kimbert/)
 * (@kimbert)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8543334)
 * [@fishman-dan](https://wordpress.org/support/users/fishman-dan/)
    is your site
   a sub domain?
 *  [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8543449)
 * > found in my site root on my sftp double files of everything but with (numbers)
   > in paratheses in my wpadmin/includes file.
   >  So, I started taking them off but
   > realized that if our site was hacked that the files in the paratheses are the
   > wp original ones that has been deactivated.
 * At this point, it’s probably best if you reinstall all WordPress files from scratch
   to avoid any issues.
 *  Thread Starter [Kimbert](https://wordpress.org/support/users/kimbert/)
 * (@kimbert)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8543852)
 * i installed all new wordpress files and with my theme my site was white.
 * I change themes and everything came back but Jetpack is still not connection.
 * I keep on getting errors, all types
 * Here are some that I get on my new index with the theme twenty seventeen
 * [Error] Invalid ‘X-Frame-Options’ header encountered when loading ‘[https://galerieimbert.com/?customize_changeset_uuid=7b36f7e6-8d9b-4cae-b26b-cc4ee9dd602e&customize_theme=twentyseventeen&customize_messenger_channel=preview-0&#8217](https://galerieimbert.com/?customize_changeset_uuid=7b36f7e6-8d9b-4cae-b26b-cc4ee9dd602e&customize_theme=twentyseventeen&customize_messenger_channel=preview-0&#8217);:‘
   ALLOW-FROM [https://galerieimbert.com/wp-admin/customize.php&#8217](https://galerieimbert.com/wp-admin/customize.php&#8217);
   is not a recognized directive. The header will be ignored.
    [Error] Failed to
   load resource: the server responded with a status of 404 (Not Found) (citrouilles-
   150×150.jpg, line 0) [Error] Failed to load resource: the server responded with
   a status of 404 (Not Found) (rousse-150×150.jpg, line 0) [Error] Failed to load
   resource: the server responded with a status of 404 (Not Found) (rousse-assise-
   150×150.jpg, line 0) [Error] Failed to load resource: the server responded with
   a status of 404 (Not Found) (Fontaine-uzès-300×300.jpg, line 0) [Error] Blocked
   a frame with origin “[https://staticxx.facebook.com&#8221](https://staticxx.facebook.com&#8221);
   from accessing a frame with origin “[https://galerieimbert.com&#8221](https://galerieimbert.com&#8221);.
   The frame requesting access set “document.domain” to “facebook.com”, but the 
   frame being accessed did not. Both must set “document.domain” to the same value
   to allow access. aa (_IDqWBiKXtV.js:51:2956) x (_IDqWBiKXtV.js:49:3101) w (_IDqWBiKXtV.
   js:49:968) (anonymous function) (_IDqWBiKXtV.js:51:2454) a (_IDqWBiKXtV.js:51:
   3024) require (_IDqWBiKXtV.js:32:591) Global Code (_IDqWBiKXtV.js:51:3154)
 *  [Fishman Dan](https://wordpress.org/support/users/fishman-dan/)
 * (@fishman-dan)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8544657)
 * [@kimbert](https://wordpress.org/support/users/kimbert/) no … not that I’m aware
   of anyway.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘plugin.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 5 participants
 * Last reply from: [Fishman Dan](https://wordpress.org/support/users/fishman-dan/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-php/#post-8544657)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
