Topic on Project:Support desk

Lua error in package.lua at line 80: module 'strict' not found.

6
Guillaume Taillefer (talkcontribs)

I keep getting the error when uploading new templates. In particular with source templates. When I tried importing them into my wiki, they were successful, but when I click on each template, it gives, or repeats the following error throughout:

Lua error in package.lua at line 80: module 'strict' not found.

I looked this error up and apparently only one person has had the problem:

https://stackoverflow.com/questions/74324839/mediawiki-error-lua-error-in-package-lua-at-line-80-module-strict-not-found

However I don't want to have to go through trying to find all the older modules that don't have strict, and have already redownloaded Scribunto to the "new version". So is there an actual way to solve this? Thanks

Bawolff (talkcontribs)

> already redownloaded Scribunto to the "new version"

Which version did you download? You would probably need master.

However it may make sense for us to backport this change for general compatibility.

Bawolff (talkcontribs)

This has been backported now. So it should be included in the version of scribunto for your version of mediawiki if you re-download instead of just master.

Guillaume Taillefer (talkcontribs)

Oh wow now it works, Thanks! I had redownloaded the version for 1.38 a couple of hours before I had posted this when I reinstalled it. Now it no longer gives me the error

66.213.91.4 (talkcontribs)

Still getting this issue in 1.38

Will try on the master and update.

66.213.91.4 (talkcontribs)

Disregard the previous comment I made, after a few minutes the error disappeared with the current 1.38 build.

Reply to "Lua error in package.lua at line 80: module 'strict' not found."