Page MenuHomeMiraheze

MediaWiki internal error. Fatal exception of type "Wikimedia\Rdbms\DBQueryError" - Rothwell Wiki
Closed, ResolvedPublic


I'm getting the following on my wiki:
"MediaWiki internal error.

Original exception: [961e428f3a01a00971ba0e12] 2023-08-10 12:53:47: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information."

My wiki is:

Event Timeline

Error 1146: Table 'rothwellwiki.watchlist_expiry' doesn't exist
Function: WatchedItemStore::fetchWatchedItems
Query: SELECT wl_namespace,wl_title,wl_notificationtimestamp,we_expiry FROM watchlist LEFT JOIN watchlist_expiry ON ((wl_id = we_item)) WHERE wl_user = 2 AND ((wl_namespace = 0 AND wl_title = 'Katherine_Earle')) AND (we_expiry IS NULL OR we_expiry > '20230810125347')

Rothwell claimed this task.

I don't know if somebody fixed it (if you did, thanks!) but it's fine now.

Void subscribed.

Happened again in T11168#224551

Void claimed this task.

Ran a script to add the missing table.