MediaWiki internal error.

Original exception: [40f0d314ec1600610c5735c4] 2024-03-29 13:47:56: 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.