MediaWiki internal error.

Original exception: [31fd8ba473bd44c4c0d828a9] 2024-03-29 15:03:51: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Exception caught inside exception handler.

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