That one's already fixed in SVN:

I'd say it's an argument for releasing a new version of SMW already, even so soon after the last one...


On Sun, Jun 6, 2010 at 10:22 PM, Laurent Alquier <> wrote:
One of my pages throws a long list of warnings like these :

Notice: Uninitialized string offset: -1 in C:\Data\htdocs\smw\extensions\SemanticMediaWiki\includes\SMW_DataValue.php on line 684

Starting at line 680:

public function isNumeric() {
$sig = $this->getSignature();
$valueIndex = $this->getValueIndex();

return $sig { $valueIndex } == 'n' || $sig { $valueIndex } == 'f';

For some reason, it looks like $valueIndex returns -1. Not sure why yet but I will check that out,

- Laurent Alquier

ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
Semediawiki-devel mailing list

WikiWorks MediaWiki Consulting