Last modified: 2014-07-06 22:44:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60475, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58475 - Warning: Division by zero in CentralAuth/specials/SpecialWikiSets.php on line 233
Warning: Division by zero in CentralAuth/specials/SpecialWikiSets.php on line...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Lowest minor (vote)
: ---
Assigned To: PiRSquared17
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-14 03:38 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-06 22:44 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-12-14 03:38:42 UTC
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 );
Comment 1 db [inactive,noenotif] 2013-12-14 13:46:00 UTC
$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
Comment 2 Gerrit Notification Bot 2014-04-30 18:08:23 UTC
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
Comment 3 Gerrit Notification Bot 2014-07-06 22:43:48 UTC
Change 130644 merged by jenkins-bot:
Fix division by zero in Special:WikiSets

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links