juliedc
Member
Posted 5 months ago #
I have a couple of problems in the admin.
-The footer is in the middle of the page rather than where it should be at the bottom. This interferes with editing and is just kinda annoying!
-I am unable to update password for a user. Get this message: Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in /home/me/public_html/testing/wp-includes/functions.php on line 1526
I reinstalled WordPress but still having these two lingering issues. SOS and thanks!
Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.
juliedc
Member
Posted 5 months ago #
Thanks esmi, would this be different from reinstalling the whole thing? Just want to understand before I do this since it seems the same.
Yes - it's not the same as installing WordPress. You are simply replacing files in case of corruption issues.
juliedc
Member
Posted 5 months ago #
One thing about doing this is that the file called out in the error message doesn't actually exist.
juliedc
Member
Posted 5 months ago #
ie, functions file is part of theme but is not an include..
juliedc
Member
Posted 5 months ago #
okay, just did the manual overwrite on all but wp-content but no change - still see the footer in the middle of posts admin - basically sits right in the middle of the editor and still can't give a user a new password. Same error: Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in /home/me/public_html/testing/wp-includes/functions.php on line 1526
This file probably was there all along - I'm just really tired. Here's what that code looks like, lines 1521 to 1530: `function add_magic_quotes( $array ) {
foreach ( (array) $array as $k => $v ) {
if ( is_array( $v ) ) {
$array[$k] = add_magic_quotes( $v );
} else {
$array[$k] = addslashes( $v );
}
}
return $array;
}`
juliedc
Member
Posted 5 months ago #
I added the user as a new user then deleted the old one. This worked for the user issue. Still need help on the admin footer showing up on top of the editor though!