php maintenance/showJobs.php
PHP Fatal error: Call to a member function selectField() on a non-object in /var/www/mediawiki/includes/job/JobQueueDB.php on line 93
Version: 1.21.x
Severity: major
php maintenance/showJobs.php
PHP Fatal error: Call to a member function selectField() on a non-object in /var/www/mediawiki/includes/job/JobQueueDB.php on line 93
Version: 1.21.x
Severity: major
/**
*/
protected function getSlaveDB() {
return $this->getDB( DB_SLAVE );
}
...
$dbr = $this->getSlaveDB(); $size = (int)$dbr->selectField( 'job', 'COUNT(*)', array( 'job_cmd' => $this->type, 'job_token' => '' ), __METHOD__ );