Page MenuHomeMiraheze

Error on Celebwiki
Closed, InvalidPublic

Description

When I try to edit a page, mostly when adding large amounts of text or removing a large amount of text I experience the error below on all pages and namespaces of my wiki. This make it almost impossible and tedious to edit any page. Thanks in advance
[celebs.miraheze.org]

[a0d61cd377e43b6dc7698f6e] 2022-03-27 12:10:26: Fatal exception of type "Error"

Event Timeline

Call to a member function getText() on null

from /srv/mediawiki/w/extensions/EditNotify/includes/EditNotifyHooks.php(306)
#0 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(338): EditNotifyHooks::onPageContentSave(WikiPage, User, WikitextContent, CommentStoreComment, integer, NULL, NULL, integer, Status)
#1 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#2 /srv/mediawiki/w/includes/HookContainer/HookRunner.php(2714): MediaWiki\HookContainer\HookContainer->run(string, array)
#3 /srv/mediawiki/w/includes/Storage/PageUpdater.php(807): MediaWiki\HookContainer\HookRunner->onPageContentSave(WikiPage, User, WikitextContent, CommentStoreComment, integer, NULL, NULL, integer, Status)
#4 /srv/mediawiki/w/includes/page/WikiPage.php(1994): MediaWiki\Storage\PageUpdater->saveRevision(CommentStoreComment, integer)
#5 /srv/mediawiki/w/includes/EditPage.php(2351): WikiPage->doUserEditContent(WikitextContent, User, CommentStoreComment, integer, boolean, array, integer)
#6 /srv/mediawiki/w/includes/EditPage.php(1687): EditPage->internalAttemptSave(array, boolean)
#7 /srv/mediawiki/w/includes/EditPage.php(665): EditPage->attemptSave(array)
#8 /srv/mediawiki/w/includes/actions/EditAction.php(71): EditPage->edit()
#9 /srv/mediawiki/w/includes/actions/SubmitAction.php(38): EditAction->show()
#10 /srv/mediawiki/w/includes/MediaWiki.php(543): SubmitAction->show()
#11 /srv/mediawiki/w/includes/MediaWiki.php(320): MediaWiki->performAction(Article, Title)
#12 /srv/mediawiki/w/includes/MediaWiki.php(930): MediaWiki->performRequest()
#13 /srv/mediawiki/w/includes/MediaWiki.php(564): MediaWiki->main()
#14 /srv/mediawiki/w/index.php(53): MediaWiki->run()
#15 /srv/mediawiki/w/index.php(46): wfIndexMain()
#16 {main}
Dmehus triaged this task as Normal priority.Mar 28 2022, 02:16
Dmehus moved this task from Backlog to Short Term on the MediaWiki (SRE) board.
Dmehus moved this task from Backlog to Bugs on the MediaWiki board.
Dmehus subscribed.

Boldly triaging as normal as several pages and special pages I tested are available, so the wiki is at least partially accessible.

Noting that disabling EditNotify temporarily should resolve

Noting that disabling EditNotify temporarily should resolve

Oh, that's interesting. You've seen this error before, I gather?

I've disabled EditNotify extension, testing...

@Reception123 @RhinosF1 @Dmehus Error seems to be solved on disabling the extension. Thanks

Does an upstream task need to be filed or is this something that's caused by our local configuration?

Does an upstream task need to be filed or is this something that's caused by our local configuration?

Upstream likely

Reception123 edited projects, added Upstream, Extensions; removed MediaWiki.

Now closing as upstream task created and there's nothing further Miraheze can do: https://phabricator.wikimedia.org/T305682