I'm experiencing an issue on my MediaWiki installation after importing the Left- and right-hand traffic templates and their required dependencies. The following error appears:
Lua error: bad argument #1 to "get" (not a valid title).
Backtrace:
(tail call): ?[C]: in function "error"MWServer.lua:81: ?(tail call): ?(tail call): ?Module:Citation/CS1/Configuration:2058: in function "init"package.lua:103: ?(tail call): ?mw.lua:496: in function "executeModule"mw.lua:768: in function "loadData"Module:Citation/CS1:4394: in function "chunk"mw.lua:527: ?(tail call): ?[C]: in function "xpcall"MWServer.lua:99: in function "handleCall"MWServer.lua:313: in function "dispatch"MWServer.lua:52: in function "execute"mw_main.lua:7: in main chunk[C]: ?- After some research, I was advised to set up
JsonConfig, which I did. However, this led to a new problem where I got a white screen. When I enabled error reporting, I received the following message: I get the white screen. I enabled error reporting which tells me "Fatal error: Cannot declare class CodeContentHandler, because the name is already in use in /var/www/html/w/includes/content/CodeContentHandler.php on line 0- Through disabling extensions one by one, I discovered that the conflict is between
JsonConfigandScribunto. This issue is causing some pages to throw that fatal error, leaving me unable to access them. But not all pages do it so it leaves me more confused. I'm stuck and unsure how to resolve this conflict or proceed further. Any advice or guidance would be greatly appreciated.