Topic on Project:Support desk

Jump to navigation Jump to search

Internal Error when I try to edit a page.

Summary by Grlucas

I apparently did not have EventLogging configured correctly, and it was messing with WikiEditor. I disabled EventLogging, and that resolved the issue.

Grlucas (talkcontribs)

I just upgraded to MediaWiki 1.33. Now, when I try to edit a page, I get:

[XU6uxGIkobB@@l7Rc9sOdQAAAIM] /index.php?title=Digital_Citation&action=edit Error from line 36 of /home/grlumjcd/public_html/extensions/WikiEditor/includes/WikiEditorHooks.php: Call to undefined method EventLogging::sessionInSample()


#0 /home/grlumjcd/public_html/extensions/WikiEditor/includes/WikiEditorHooks.php(114): WikiEditorHooks::doEventLogging(string, Article, array)

#1 /home/grlumjcd/public_html/includes/Hooks.php(174): WikiEditorHooks::editPageShowEditFormInitial(EditPage, OutputPage)

#2 /home/grlumjcd/public_html/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)

#3 /home/grlumjcd/public_html/includes/EditPage.php(2770): Hooks::run(string, array)

#4 /home/grlumjcd/public_html/includes/EditPage.php(712): EditPage->showEditForm()

#5 /home/grlumjcd/public_html/includes/actions/EditAction.php(60): EditPage->edit()

#6 /home/grlumjcd/public_html/includes/MediaWiki.php(499): EditAction->show()

#7 /home/grlumjcd/public_html/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)

#8 /home/grlumjcd/public_html/includes/MediaWiki.php(865): MediaWiki->performRequest()

#9 /home/grlumjcd/public_html/includes/MediaWiki.php(515): MediaWiki->main()

#10 /home/grlumjcd/public_html/index.php(42): MediaWiki->run()

#11 {main}

Any thoughts would be appreciated. Thanks.

AhmadF.Cheema (talkcontribs)
Grlucas (talkcontribs)
Grlucas (talkcontribs)

I am able to turn off WikiEditor (and CodeEditor) and edit the page, but it would be nice to get this extension working again. I wonder if I should also post this in the talk for WikiEditor?

AhmadF.Cheema (talkcontribs)
TheDJ (talkcontribs)

Actually, I suspect this is triggered exactly because the user has EventLogging installed (but not configured). Disabling the loading of the EventLogging extension in LocalSettings should make it work.

Grlucas (talkcontribs)

@TheDJ: yep, that was it. I'm not sure why I even had EventLogging installed in the first place. Thanks.