Page MenuHomePhabricator

Echo internal error
Closed, ResolvedPublic

Description

I suddenly got an internal error. On my Alerts say that "Failed to fetch notifications." and on the Special:Notifications page I'm getting the following error:

[2447d285182867a75232a839] /Special:Notifications InvalidArgumentException from line 13 of /var/www/html/extensions/Echo/includes/formatters/EchoIcon.php: The gratitude icon is not registered

Backtrace:

#0 /var/www/html/extensions/Echo/includes/formatters/SpecialNotificationsFormatter.php(110): EchoIcon::getUrl(string, string)
#1 /var/www/html/extensions/Echo/includes/formatters/SpecialNotificationsFormatter.php(18): SpecialNotificationsFormatter->getIconURL(EchoUserRelationshipPresentationModel)
#2 /var/www/html/extensions/Echo/includes/formatters/EchoEventFormatter.php(63): SpecialNotificationsFormatter->formatModel(EchoUserRelationshipPresentationModel)
#3 /var/www/html/extensions/Echo/includes/DataOutputFormatter.php(170): EchoEventFormatter->format(EchoEvent)
#4 /var/www/html/extensions/Echo/includes/DataOutputFormatter.php(136): EchoDataOutputFormatter::formatNotification(EchoEvent, User, string, Language)
#5 /var/www/html/extensions/Echo/includes/special/SpecialNotifications.php(59): EchoDataOutputFormatter::formatOutput(EchoNotification, string, User, Language)
#6 /var/www/html/includes/specialpage/SpecialPage.php(522): SpecialNotifications->execute(NULL)
#7 /var/www/html/includes/specialpage/SpecialPageFactory.php(576): SpecialPage->run(NULL)
#8 /var/www/html/includes/MediaWiki.php(283): SpecialPageFactory::executePath(Title, RequestContext)
#9 /var/www/html/includes/MediaWiki.php(851): MediaWiki->performRequest()
#10 /var/www/html/includes/MediaWiki.php(512): MediaWiki->main()
#11 /var/www/html/index.php(43): MediaWiki->run()
#12 {main}

Details

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

What version of Echo are you running?

@Innosflew: Please provide MediaWiki and Echo version information, also in your duplicate posting on https://www.mediawiki.org/wiki/Topic:Thdvg64ilnaosudc

Mediawiki:

1.29.0-alpha (5b211eb)

Echo:

– (7ac77d8)

Where does EchoUserRelationshipPresentationModel come from?

Change 328165 had a related patch set uploaded (by Catrope):
Add gratitude icon back

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

Change 328165 merged by Legoktm:
Add gratitude icon back

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

Okay, after the change 328165 was merged I updated the SocialProfile extension to the latest version using git pull and it seem to have fixed the problem. Thanks you. :)

Catrope claimed this task.