Open mestrap opened 11 years ago
What versions of MediaWiki and Strapping (git sha1) are you using?
The foreach() calls this is referring to is most likely the one which uses $content as $key => $val
for the content. (I added some code which shifted it down a little, so the line number is a little higher as of yesterday.)
There's supposed to be a check to make sure $content
exists. I've changed the !$content
to isset($content)
— this probably fixes your issue. I will push the fix in a few minutes. Please let me know if it works for you.
Thanks!
As of the recent changes, does everything work for you now?
I have installed mediawiki in a wamp server in my local system before uploading it to my website and added strapping-mediawiki skin to it. The skin is working fine but its showing below error.
Warning: Invalid argument supplied for foreach() in C:\wamp\www\wiki\skins\strapping\Strapping.skin.php on line 685
How can i remove this error