Recently TableWiz has been helping me out with lua Modules which has benefitted the Wiki by automating/shortening a lot of processes which would otherwise entail copious amounts of manual hand-typing. However, it seems every page that gets made and uses this module throws up some sort of script error, even though nothing appears to be wrong on the surface.
Example page: Touring Renault
I would like to know what this error is and how to rectify it. Failing that, I would like to know if it's possible to hide this category from the page.
For future reference, when you prevent the display of error messages by using #iferror, it makes it harder to identify where the error is coming from; let alone what the error is.
To hide the category on the pages, you should be able to make Pages with script errors a hidden category. You do this by adding __HIDDENCAT__ to the category page's content.
There are two things that are contributing to the error.
Your database does not contain an entry for those addons.
Your Lua script does not properly handle situations in which no data is available for the requested addon.
You can fix the issue for current pages by simply adding entries for them in the database. However, you will have this problem each time there is a new addon and an entry has not yet been added to the database. If you want to avoid this error even when there is no entry, your need to add some if statements so that different instructions are executed if there isn't a entry. Probably something like this: