Cedric.Shaw
Member
Posted 4 years ago #
I followed the instructions to upgrade and am getting this:
Fatal error: Call to undefined function: timer_start() in /home/content/p/o/i/poi987zxc124/html/wp-admin/upgrade.php on line 7
when I try to access upgrade.php
Any ideas on what to do? Thanks
do you have a wp-includes/wp-db.php file uploaded? If so, delete the one on your site, and upload a fresh one out of the downloadable zip.
if not, upload it.
Cedric.Shaw
Member
Posted 4 years ago #
yes, i just deleted it and reuploaded the fresh one. nothing. i tried putting back the existing wordpress site and now the entire site is down.
Cedric.Shaw
Member
Posted 4 years ago #
it has something to do with my db. i created a new one and it installed. i am going to try to wire it back up after it is installed. wtf?
javiquil
Member
Posted 3 years ago #
Same problem, so I just added this to wp-admin/upgrade.php
if(!function_exists("timer_start")) {
function timer_start() {
$mtime = microtime();
$mtime = explode(' ', $mtime);
$this->time_start = $mtime[1] + $mtime[0];
return true;
}
}