Wordpress Upgrade

Status
Not open for further replies.

SniperFox

Member
Messages
75
Reaction score
0
Points
6
Hmm..this is a little weird. Not sure what's going on here.

I just upgraded my Wordpress installation, and got the message to update my database. Usually this goes through just fine, but for some reason, I'm getting the following error:

Warning: phpinfo() has been disabled for security reasons in /home/sniperfx/public_html/wp-includes/functions.php on line 2223

Any ideas?
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hey, please open up the file functions.php and find phpinfo() and comment the line out, that should fix it up.
 

SniperFox

Member
Messages
75
Reaction score
0
Points
6
Wait....what?

Sorry, lol. I don't know much of anything about PHP, so I have no idea what you mean, here.
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello, sorry for confusing you, please open up your websites folders either in ftp or file manager via cpanel.

Then navigate to the wp-includes folder which is inside public_html folder.

Then open the file called functions.php and comment out the line that says phpinfo().

To comment it out put either // or a # before phpinfo().

That should work.
 
Status
Not open for further replies.
Top