Page MenuHomePhabricator

Warning: Division by zero in CentralAuth/specials/SpecialWikiSets.php on line 233
Closed, ResolvedPublic

Description

Warning: Division by zero in /vagrant/mediawiki/extensions/CentralAuth/specials/SpecialWikiSets.php on line 233

Call Stack:

0.0013     648712   1. {main}() /vagrant/mediawiki/index.php:0
0.1087    4689072   2. MediaWiki->run() /vagrant/mediawiki/index.php:49
0.1087    4689072   3. MediaWiki->main() /vagrant/mediawiki/includes/Wiki.php:460
0.2033    7641504   4. MediaWiki->performRequest() /vagrant/mediawiki/includes/Wiki.php:596
0.2266    9320880   5. SpecialPageFactory::executePath() /vagrant/mediawiki/includes/Wiki.php:298
0.2337   10579592   6. SpecialPage->run() /vagrant/mediawiki/includes/SpecialPageFactory.php:488
0.2337   10579592   7. SpecialWikiSets->execute() /vagrant/mediawiki/includes/SpecialPage.php:670
0.3304   19865008   8. SpecialWikiSets->buildSetView() /vagrant/mediawiki/extensions/CentralAuth/specials/SpecialWikiSets.php:62
0.3753   21318280   9. SpecialWikiSets->buildTableByList() /vagrant/mediawiki/extensions/CentralAuth/specials/SpecialWikiSets.php:195

line is:

		$itemsPerCol = round( $count / $columns );

Version: unspecified
Severity: minor

Details

Reference
bz58475

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:22 AM
bzimport set Reference to bz58475.
Legoktm created this task.Dec 14 2013, 3:38 AM

$columns gets zero, because in the line before the $count to moved to $columns.

$count is a count() of a array, which maybe is empty due to r112993

Change 130644 had a related patch set uploaded by Gerrit Patch Uploader:
Fix division by zero in Special:WikiSets

https://gerrit.wikimedia.org/r/130644

Change 130644 merged by jenkins-bot:
Fix division by zero in Special:WikiSets

https://gerrit.wikimedia.org/r/130644