Last modified: 2011-07-27 22:12:08 UTC
A category query caused the same fatal error on Query (<...>, has been replaced) Special:Ask?title=Special%3AAsk&q=%5B%5BKeyword%3A%3A<...>%5D%5D&po=%3FTitle&sort_num=&order_num=ASC&eq=yes&p%5Bformat%5D=category&p%5Blimit%5D=20&p%5Boffset%5D=0&p%5Bheaders%5D=show&p%5Bmainlabel%5D=-&p%5Blink%5D=all&p%5Bintro%5D=&eq=yes SMW 1.5.7 (r83714) Fatal error: Call to undefined method SMWStringValue::getSortkey() in D:\xampp\htdocs\a\extensions\SemanticMediaWiki\includes\queryprinters\SMW_QP_Category.php on line 70 SMW 1.6 (r90932) Catchable fatal error: Argument 1 passed to SMWStore::getWikiPageSortKey() must be an instance of SMWDIWikiPage, instance of SMWDIString given, called in D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\queryprinters\SMW_QP_Category.php on line 71 and defined in D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\storage\SMW_Store.php on line 214
I cannot reproduce this issue with trunk so it has probably already been fixed. Please re-open the bug if it's still on trunk.