[Moving thread to semediawiki-user list, future mails should not go to mediawiki-l any more]
On 14/11/2010 19:49, Tomás Vírseda wrote: > Hi everybody, > > I'm getting the following error when using the format 'gallery' in a > semantic query: > > > *Fatal error*: Call to a member function addImage() on a non-object in * > /home/wikinava/ > wikinava.org/portal/mediawiki/extensions/SemanticResultFormats/Gallery/SRF_Gallery.php > * on line *74 > > *Has it ever happened this to someone? > > I'm googling this error but I can't find any result suitable for my problem. > > any ideas? > > This is the query: > http://wikinava.org/portal/mediawiki/index.php?title=Especial%3AAsk&q=[[Categor%C3%ADa%3AMultimedia]]&po=&sort_num=&order_num=ASC&eq=yes&p[format]=gallery&p[limit]=20&p[headers]=&p[mainlabel]=&p[link]=&eq=yes Such issues typically occur if some "element" that is to be processed (probably images or pages with images in your case) has a title that is not allowed (for whatever reason, maybe there was some change in what is allowed, or something was messed up when handling a title with special symbols, or there are simply outdated values in the database that were encoded in a way that differs from the current encoding). In any case, there is an error in the software that needs to be fixed (the software should check if the title is valid). Check that your versions of the MW, SMW, and SRF are compatible (SRF has not seen a new release since a while). Now SRF is an extension to SMW that just collects rather independent code from many developers, so the stability of the different formats varies. The best way to make the current maintainer of the gallery code aware of the issue is to enter a bug report at http://bugzilla.mediawiki.org/ The proper list to address for SMW-related support is the semediawiki-user mailing list, CCed in this reply. Regards, Markus > > Regards, > t00m > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
