#Script error: The module returned a nil value. It is supposed to return an export table.

28 messages · Page 1 of 1 (latest)

exotic spoke
#

I am attempting to input the election infobox from wikipedia but I am having trouble inserting images. Whenever I do, it says "Script error: The module returned a nil value. It is supposed to return an export table.". Does anyone know what is causing this and how to fix it?

fickle thunder
#

It means "You asked me to find this" but "It's not there" so "A Nill Value" or (Nothing is there)

#

You need to click on the [edit] and then look on the bottom where it says "Templates used on this page".

All the red links that are there need to be copied over from the source you got it from.

exotic spoke
#

all templates are there

fickle thunder
#

Can you provide a link?

fickle thunder
#

I'm checking the other templates

#

Module:MultiReplace → Line 12 requiers "return require('Module:Error')"
But Module:Error does not exist

exotic spoke
#

Added Module:Error

#

Unfortunately nothing changed

fickle thunder
#

Module:If_preview is missing as well

exotic spoke
#

also unfortunately didn't change anything

fickle thunder
#
Allows JSON configuration to be stored in a wiki```
#

Please enable that extension

exotic spoke
#

I have

#

Still didn't work

fickle thunder
#

Hmmm. I solved the problem with the Infobox template atleast. This one is stubborn. I have to go now, but will be back in about 1,5 hours.

#

I'll look further then, if someone else hasn't come to help out

exotic spoke
#

ok

#

thanks for all the help

fickle thunder
#

There is at least soomething that lies far deeper than what I could find so far

#

You're welcome

shut idol
exotic spoke
#

Thank you!

shut idol
#

(Also while looking at the page I noticed you can probably simplify this, the template adds the link itself)