Jump to content

Topic on Extension talk:SmoothGallery/archive 2

137.65.49.171 (talkcontribs)

Hello,

I have tried adding this extension to a wiki that I am working on. The extension can be enabled without problems, but as soon as a user tries adding a gallery to their page, an Internal Server Error is returned. Looking through the logs, I found this:

PHP Fatal error: Unsupported operand types in /srv/www/htdocs/wiki/includes/parser/LinkHolderArray.php

As far as I can tell, this happens because the array $this->interwikis is undefined. This error happens even if I disable all other extensions. I found a hack to the file that got rid of the error, but the gallery does not display properly. I can't find apparent cause or solution. Do you have any ideas?

Thanks!

Ryan lane (talkcontribs)

I can't seem to trigger this. What version of MediaWiki and the extension are you using? Also, is the user using interwiki links in the gallery? I haven't tested using images via interwikis.