MediaWiki internal error.

Original exception: [31c31788f2de4256500f22f2] 2024-03-28 10:39:55: 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.