Last modified: 2009-09-16 17:41:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22564, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20564 - Error in SF_LinkUtils.inc with SMWSQLStore2::getPropertyValues()
Error in SF_LinkUtils.inc with SMWSQLStore2::getPropertyValues()
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-09 14:32 UTC by DaSch
Modified: 2009-09-16 17:41 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description DaSch 2009-09-09 14:32:06 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
Comment 1 DaSch 2009-09-09 14:35:42 UTC
r56083 works
Comment 2 Yaron Koren 2009-09-09 15:38:08 UTC
So is this no longer a bug?
Comment 3 DaSch 2009-09-09 15:53:04 UTC
the Revision i mentioned is the Last of SF that works
Comment 4 Yaron Koren 2009-09-09 16:17:30 UTC
Okay, it should be fixed now on SVN; thanks for the bug report.
Comment 5 DaSch 2009-09-09 17:49:01 UTC
yes it works
thanks
Comment 6 DaSch 2009-09-11 15:31:43 UTC
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
Comment 7 DaSch 2009-09-16 15:00:48 UTC
still there in r56399
Comment 8 DaSch 2009-09-16 15:02:03 UTC
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
Comment 9 Yaron Koren 2009-09-16 15:40:14 UTC
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?
Comment 10 DaSch 2009-09-16 17:41:26 UTC
okay got me, Bug in my SVN

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links