Forums

Fatal error: Call to undefined function: timer_start() in /home/content/p/o/i/po (6 posts)

  1. 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

  2. whooami
    Member
    Posted 4 years ago #

    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.

  3. 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.

  4. 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?

  5. javiquil
    Member
    Posted 3 years ago #

    did it work?

  6. ekitel
    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;
      }
    }

Topic Closed

This topic has been closed to new replies.

About this Topic