Error
Request URL: Special:Notifications and api.php?…meta=notifications
Request ID: XRPZEgpAIDcAAKHGhycAAABH
message
PHP Notice: Cannot access property on non-object
trace
#0 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/formatters/MentionInSummaryPresentationModel.php(26): MWExceptionHandler::handleError(integer, string, string, integer, array, array) #1 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/formatters/EventPresentationModel.php(527): EchoMentionInSummaryPresentationModel->getBodyMessage() #2 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/formatters/EchoModelFormatter.php(13): EchoEventPresentationModel->jsonSerialize() #3 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/formatters/EchoEventFormatter.php(72): EchoModelFormatter->formatModel(EchoMentionInSummaryPresentationModel) #4 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/DataOutputFormatter.php(189): EchoEventFormatter->format(EchoEvent) #5 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/DataOutputFormatter.php(149): EchoDataOutputFormatter::formatNotification(EchoEvent, User, string, LanguageEn) #6 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/api/ApiEchoNotifications.php(289): EchoDataOutputFormatter::formatOutput(EchoNotification, string, User, LanguageEn) #7 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/api/ApiEchoNotifications.php(109): ApiEchoNotifications->getPropList(User, array, array, integer, NULL, string, NULL, boolean, boolean) #8 /srv/mediawiki/php-1.34.0-wmf.11/extensions/Echo/includes/api/ApiEchoNotifications.php(40): ApiEchoNotifications->getLocalNotifications(array) #9 /srv/mediawiki/php-1.34.0-wmf.11/includes/api/ApiQuery.php(250): ApiEchoNotifications->execute() #10 /srv/mediawiki/php-1.34.0-wmf.11/includes/api/ApiMain.php(1583): ApiQuery->execute() #11 /srv/mediawiki/php-1.34.0-wmf.11/includes/api/ApiMain.php(531): ApiMain->executeAction() #12 /srv/mediawiki/php-1.34.0-wmf.11/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #13 /srv/mediawiki/php-1.34.0-wmf.11/api.php(87): ApiMain->execute() #14 /srv/mediawiki/w/api.php(3): include(string)
Impact
Unknown / To be determined..
Notes
Source: Echo:/MentionInSummaryPresentationModel.php
public function getBodyMessage() { $revision = $this->event->getRevision(); if ( $revision && $this->userCan( RevisionRecord::DELETED_COMMENT ) ) { $summary = $revision->getComment()->text;
Affects en.wikipedia, zh-yue.wikipedia, en.wiktionary and others.
Seen since at least 1.34-wmf.6.