Topic on Project:Support desk

MediaWiki internal error.

10
103.25.248.241 (talkcontribs)

MediaWiki internal error.

Original exception: [XxbU7A37ev03AnePSTkEMwAAAI8] /index.php?title=%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A6%A7%E0%A6%BE%E0%A6%A8_%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE&action=history Wikimedia\Rdbms\DBQueryError from line 1603 of /home/amargita/public_html/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT event_id,event_type,event_variant,event_agent_id,event_agent_ip,event_extra,event_page_id,event_deleted,notification_timestamp FROM `mwec_echo_event` INNER JOIN `mwec_echo_notification` ON ((notification_event=event_id)) INNER JOIN `mwec_echo_target_page` ON ((etp_event=event_id)) WHERE event_deleted = '0' AND notification_user = '5' AND notification_read_timestamp IS NULL AND etp_page = '7'

Function: EchoEventMapper::fetchUnreadByUserAndPage

Error: 1146 Table 'amargita_mw19714.mwec_echo_event' doesn't exist (localhost)

Backtrace:

#0 /home/amargita/public_html/includes/libs/rdbms/database/Database.php(1574): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /home/amargita/public_html/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /home/amargita/public_html/includes/libs/rdbms/database/Database.php(1807): Wikimedia\Rdbms\Database->query(string, string)

#3 /home/amargita/public_html/extensions/Echo/includes/mapper/EventMapper.php(171): Wikimedia\Rdbms\Database->select(array, array, array, string, NULL, array)

#4 /home/amargita/public_html/extensions/Echo/includes/EchoHooks.php(872): EchoEventMapper->fetchUnreadByUserAndPage(User, integer)

#5 /home/amargita/public_html/extensions/Echo/includes/EchoHooks.php(949): EchoHooks::processMarkAsRead(User, WebRequest, Title)

#6 /home/amargita/public_html/includes/Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinBlueSky)

#7 /home/amargita/public_html/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)

#8 /home/amargita/public_html/includes/skins/SkinTemplate.php(744): Hooks::runWithoutAbort(string, array)

#9 /home/amargita/public_html/includes/skins/SkinTemplate.php(446): SkinTemplate->buildPersonalUrls()

#10 /home/amargita/public_html/includes/skins/SkinTemplate.php(215): SkinTemplate->prepareQuickTemplate()

#11 /home/amargita/public_html/includes/OutputPage.php(2574): SkinTemplate->outputPage()

#12 /home/amargita/public_html/includes/MediaWiki.php(907): OutputPage->output(boolean)

#13 /home/amargita/public_html/includes/MediaWiki.php(919): MediaWiki->{closure}()

#14 /home/amargita/public_html/includes/MediaWiki.php(527): MediaWiki->main()

#15 /home/amargita/public_html/index.php(44): MediaWiki->run()

#16 {main}

Exception caught inside exception handler: [XxbU7A37ev03AnePSTkEMwAAAI8] /index.php?title=%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A6%A7%E0%A6%BE%E0%A6%A8_%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE&action=history Wikimedia\Rdbms\DBQueryError from line 1603 of /home/amargita/public_html/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT event_id,event_type,event_variant,event_agent_id,event_agent_ip,event_extra,event_page_id,event_deleted,notification_timestamp FROM `mwec_echo_event` INNER JOIN `mwec_echo_notification` ON ((notification_event=event_id)) INNER JOIN `mwec_echo_target_page` ON ((etp_event=event_id)) WHERE event_deleted = '0' AND notification_user = '5' AND notification_read_timestamp IS NULL AND etp_page = '7'

Function: EchoEventMapper::fetchUnreadByUserAndPage

Error: 1146 Table 'amargita_mw19714.mwec_echo_event' doesn't exist (localhost)

Backtrace:

#0 /home/amargita/public_html/includes/libs/rdbms/database/Database.php(1574): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#1 /home/amargita/public_html/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#2 /home/amargita/public_html/includes/libs/rdbms/database/Database.php(1807): Wikimedia\Rdbms\Database->query(string, string)

#3 /home/amargita/public_html/extensions/Echo/includes/mapper/EventMapper.php(171): Wikimedia\Rdbms\Database->select(array, array, array, string, NULL, array)

#4 /home/amargita/public_html/extensions/Echo/includes/EchoHooks.php(872): EchoEventMapper->fetchUnreadByUserAndPage(User, integer)

#5 /home/amargita/public_html/extensions/Echo/includes/EchoHooks.php(949): EchoHooks::processMarkAsRead(User, WebRequest, Title)

#6 /home/amargita/public_html/includes/Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinBlueSky)

#7 /home/amargita/public_html/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)

#8 /home/amargita/public_html/includes/skins/SkinTemplate.php(744): Hooks::runWithoutAbort(string, array)

#9 /home/amargita/public_html/includes/skins/SkinTemplate.php(446): SkinTemplate->buildPersonalUrls()

#10 /home/amargita/public_html/includes/skins/SkinTemplate.php(215): SkinTemplate->prepareQuickTemplate()

#11 /home/amargita/public_html/includes/OutputPage.php(2574): SkinTemplate->outputPage()

#12 /home/amargita/public_html/includes/exception/MWExceptionRenderer.php(134): OutputPage->output()

#13 /home/amargita/public_html/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryError)

#14 /home/amargita/public_html/includes/exception/MWExceptionHandler.php(121): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryError, integer)

#15 /home/amargita/public_html/includes/exception/MWExceptionHandler.php(195): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryError)

#16 /home/amargita/public_html/includes/MediaWiki.php(558): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryError)

#17 /home/amargita/public_html/index.php(44): MediaWiki->run()

#18 {main}

Deprecated: Caller from MediaWiki::restInPeace ignored an error originally raised from EchoEventMapper::fetchUnreadByUserAndPage: [1146] Table 'amargita_mw19714.mwec_echo_event' doesn't exist (localhost) in /home/amargita/public_html/includes/db/MWLBFactory.php on line 374

TheDJ (talkcontribs)

Please answer the question that the error logging is asking you: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

103.25.249.241 (talkcontribs)

@TheDJ How do I update the database schema?

TheDJ (talkcontribs)
Ammarpad (talkcontribs)

This error message suppose to also mention 'extension installation' (which may require the update). I am not sure whether this was considered before. But more often it's extension installation that is causing this issue instead of 'upgrade' which does not happen everyday.

103.25.250.226 (talkcontribs)
103.25.250.226 (talkcontribs)

There is someone on your team to whom I can give C panel information and he will help me

Ammarpad (talkcontribs)

No, we don't have team here to actually fix your problem beyond the help we are giving now. You need to read the instructions in the link given to you above Manual:Upgrading#Run_the_update_script and act accordingly.

If you're still facing difficulties and need someone to really fix it for you, please have a look at Professional development and consulting and contact someone with the contact links present there.

103.25.250.236 (talkcontribs)
Malyacko (talkcontribs)

We don't know which one is "them" in "since I mailed them". You could mail someone else from the list.

Reply to "MediaWiki internal error."