MediaWiki internal error.

Original exception: [5166d11298bb47bdeb3cd9d9] 2024-03-19 07:49:37: 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.