plugin.php
-
[ Moderator note: moved to How-to and Troubleshooting. ]
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
-
after cleaning up the wp admin / includes
PLease explain that!
You’ve apparently used files from different versions. You should do a manual update to version 4.7.
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
thanks
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.ww.wp.xz.cn/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!
@fishman-dan
is your site a sub domain?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.
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’: ‘ALLOW-FROM https://galerieimbert.com/wp-admin/customize.php’ 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” from accessing a frame with origin “https://galerieimbert.com”. 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)@kimbert no … not that I’m aware of anyway.
The topic ‘plugin.php’ is closed to new replies.