Page MenuHomeMiraheze

Error with Lua: module 'strict' not found (among other)
Closed, InvalidPublic

Description

List of steps to reproduce (step by step, including full links if applicable):

  • For instance adding ((icon|Category))
  • Adding the an image switcher ((Switcher| -- |default=1))
  • Other Lua-based templates

What happens?: An error message appears reading "Lua error in package.lua at line 80: module 'strict' not found." When hovering over the error message, the following is listed:

[C]: in function "error"
package.lua:80: in function "load"
package.lua:99: in function "require"
Module:Icon:3: in function "chunk"
mw.lua:494: ?
[C]: ?
[C]: in function "getAllExpandedArguments"
mw.lua:194: ?
[C]: in function "pairs"
Module:Arguments:207: in function "mergeArgs"
Module:Arguments:320: ?
[C]: in function "pairs"
Module:Sidebar:342: in function "chunk"
mw.lua:525: ?
[C]: ?

I have previously attempted to solve this by updating Lua based modules and templates, but to no avail. I also tested reverting them back as well. Secondly I read online that it might be due to the Extension:Scribunto needing to update, however I can not find this extension on "Manage this wiki's extensions". How do we solve this?

What should have happened instead?: Produce icons, give switcher options, not create error messages, create text messages, etc.

Browser information, screenshots and other applicable information:

image.png (652×458 px, 65 KB)

Related Objects

Event Timeline

General Note: Please note that unfortunately due to the ongoing issues with cloud141 affecting many of our services, tasks are on pause and cannot be actioned until the issue with cloud141 is resolved due to this unavailability. We apologies for the inconvenience caused by this.

Unknown Object (User) closed this task as Invalid.Dec 15 2022, 00:26
Unknown Object (User) claimed this task.

Please request general assistance on https://meta.miraheze.org/wiki/Community_noticeboard. This is not an interface or server bug and thus requires no SRE intervention. Thank you!