I was upgrading wordpress on my friend's website. When I went to the admin panel, it said I had to update the database, so I clicked the button but it keeps on saying "
Warning: phpinfo() has been disabled for security reasons in /home/ocnj/public_html/wp-includes/functions.php on line 2223"
I tried playing with the code in functions.php on line 2223 with no luck, and the database can't upgrade. The rest of the website displays perfectly, but I can't access the admin panel.