Last modified: 2009-09-16 17:41:26 UTC
I've MW 1.15.1 SMW 1.5g (r56092) SMF 1.8.3 I get this Error when opening a normal page from the Wiki Catchable fatal error: Argument 2 passed to SMWSQLStore2::getPropertyValues() must be an instance of SMWPropertyValue, null given, called in /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticForms/includes/SF_LinkUtils.inc on line 81 and defined in /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 337
r56083 works
So is this no longer a bug?
the Revision i mentioned is the Last of SF that works
Okay, it should be fixed now on SVN; thanks for the bug report.
yes it works thanks
Somehow strange, but after working a few days the error came back. I haven't change anything. Just tryed to search and the all pages gave mit this error. Catchable fatal error: Argument 2 passed to SMWSQLStore2::getPropertyValues() must be an instance of SMWPropertyValue, null given, called in /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticForms/includes/SF_LinkUtils.inc on line 80 and defined in /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 337
still there in r56399
there is also a Notice above the error, maybe it helps Notice: Undefined variable: backup_property in /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticForms/includes/SF_LinkUtils.inc on line 80
It appears that you might be missing a line in your copy of /includes/SF_LinkUtils.inc. Line 80 of that file should be: $backup_property = SMWPropertyValue::makeProperty($backup_prop_smw_id); Does your version of that file contain that line?
okay got me, Bug in my SVN