So I had this wiki recreated from scratch, and now it doesn't work. Upon opening, this message appears:
MediaWiki internal error. Original exception: [da306315aaa4840264d1e269] 2023-01-27 12:11:07: Fatal exception of type "MediaWiki\Storage\NameTableAccessException" Exception caught inside exception handler. Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.