Topic on Extension talk:Scribunto

Script error: The function "Navbox" does not exist.

3
Malcolm.mcclintock (talkcontribs)

I'm running: MediaWiki 1.30.0, Lua 5.1.5, Scribunto REL1_30 (4e3a20b), PHP: 7.0.28

I've reimported all dependent modules (Arguments, List, Navbox, Navbar), yet it still throws an error. No further details are included in the error box. I have debug running , nothing seems out of the ordinary. I'm out of my water here, Scribunto seems to be functioning in every other way. If you'd like you can check the current error here

Mr. Stradivarius (talkcontribs)

In Template:Navbox, You need to change {{#invoke:navbox|Navbox}} to {{#invoke:navbox|navbox}}. For some reason, the function name starts with a capital in the template you exported, but in the module the function name is all lower case.

Malcolm.mcclintock (talkcontribs)

... it's always the little things, isn't it?

Wonderful, that fixed it! Thanks so much @Mr. Stradivarius, that did it in a pinch. I never would have found that.

Reply to "Script error: The function "Navbox" does not exist."