justinic9
Member
Posted 4 years ago #
I successfully uploaded and installed WP (first time), and logged in for the first time (using 'admin' and the random password), only to receive the following message:
Fatal error: Call to undefined function wp_reset_vars() in /www/247ihost.com/j/u/s/justin/htdocs/blogwp/wp-admin/admin.php on line 29
Any ideas?
try uploading a fresh copy of wp-admin/admin-functions.php and see if that helps.
1. delete the old copy
2. upload new copy
justinic9
Member
Posted 4 years ago #
Yeah, I re-uploaded the original with no change.
justinic9
Member
Posted 4 years ago #
I also downloaded a fresh copy and replaced the file. No better.
you are uploading in ascii mode, correct? Not binary?
justinic9
Member
Posted 4 years ago #
what they meant is are you using ascii mode when ftping your files. Most ftp clients should give you a choice of what mode to transfer in. Look in the options, or if it's command line run the help it should be listed.
justinic9
Member
Posted 4 years ago #
Oh, I see. Thanks. It's in binary. I'm changing it now. Does that mean I'm going to have to re-upload everything?
justinic9
Member
Posted 4 years ago #
OK, so i changed the mode and uploaded a fresh copy only to be met with the same problem.
Did you delete everything that was already there, and then reupload everything?
justinic9
Member
Posted 4 years ago #
Thanks for the help. I reuploaded everything in the directory, and it seems to be working now. No more fatal error messages anyway, so that's a good start.
walterego
Member
Posted 4 years ago #
I'm having this same issue with 2.3.3 on a local install. Actually I have two local installs, one has no trouble, the other one does. I already deleted and re-'uploaded' the file that defines wp_reset_vars, wp/admin/includes/misc.php and it doesn't help.
The strange thing is that the problem started out of the blue. I was working on a plugin, made a change to it and went back to my web browser to go into the admin and all of a sudden I get this error. I only have this error when trying to go to any admin page.
Any thoughts on what might be causing this?
walterego
Member
Posted 4 years ago #
It appears to have something to do with the plugin I'm writing. Don't know what's causing this yet, but I'll figure that out.