Page MenuHomePhabricator

PHP error "Division by zero" from WikimediaEventsHooks.php
Closed, ResolvedPublic

Description

Error

Request URL: /index.php?…&action=submit
Request ID: XPAZVApAMFcAAHW0kssAAABS

message
PHP Warning: Division by zero
trace
0 /srv/mediawiki/php-1.34.0-wmf.7/extensions/WikimediaEvents/includes/WikimediaEventsHooks.php(205): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.34.0-wmf.7/includes/deferred/MWCallableUpdate.php(34): WikimediaEventsHooks::{closure}()
#2 /srv/mediawiki/php-1.34.0-wmf.7/includes/deferred/DeferredUpdates.php(312): MWCallableUpdate->doUpdate()
#3 /srv/mediawiki/php-1.34.0-wmf.7/includes/deferred/DeferredUpdates.php(272): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti)
#4 /srv/mediawiki/php-1.34.0-wmf.7/includes/deferred/DeferredUpdates.php(220): DeferredUpdates::handleUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti, string, integer)
#5 /srv/mediawiki/php-1.34.0-wmf.7/includes/deferred/DeferredUpdates.php(144): DeferredUpdates::handleUpdateQueue(array, string, integer)
#6 /srv/mediawiki/php-1.34.0-wmf.7/includes/MediaWiki.php(907): DeferredUpdates::doUpdates(string)
#7 /srv/mediawiki/php-1.34.0-wmf.7/includes/MediaWiki.php(731): MediaWiki->restInPeace(string, boolean)
#8 /srv/mediawiki/php-1.34.0-wmf.7/includes/MediaWiki.php(754): MediaWiki->{closure}()
#9 /srv/mediawiki/php-1.34.0-wmf.7/includes/MediaWiki.php(548): MediaWiki->doPostOutputShutdown(string)
#10 /srv/mediawiki/php-1.34.0-wmf.7/index.php(42): MediaWiki->run()

Impact

??

Notes

Started this week, but not aligned with the train. Possibly a SWAT deployment.

Event Timeline

Krinkle created this task.May 30 2019, 5:59 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 30 2019, 5:59 PM

Change 513329 had a related patch set uploaded (by Aaron Schulz; owner: Aaron Schulz):
[mediawiki/extensions/WikimediaEvents@master] Avoid division by zero warnings

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

Change 513329 merged by jenkins-bot:
[mediawiki/extensions/WikimediaEvents@master] Avoid division by zero warnings

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

Change 513411 had a related patch set uploaded (by Krinkle; owner: Aaron Schulz):
[mediawiki/extensions/WikimediaEvents@wmf/1.34.0-wmf.7] Avoid division by zero warnings

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

Change 513411 merged by jenkins-bot:
[mediawiki/extensions/WikimediaEvents@wmf/1.34.0-wmf.7] Avoid division by zero warnings

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

Mentioned in SAL (#wikimedia-operations) [2019-05-30T22:20:48Z] <niharika29@deploy1001> Synchronized php-1.34.0-wmf.7/extensions/WikimediaEvents/: Avoid division by zero warnings T224686 (duration: 00m 49s)

Krinkle closed this task as Resolved.May 30 2019, 10:30 PM
Krinkle assigned this task to aaron.