Page MenuHomePhabricator

SMW 1.6 (r90263), Fatal error: Call to a member function getNamespace() ... SMW_DV_WikiPage.php on line 300
Closed, ResolvedPublic

Description

Not really sure what causes (SMW or SF) the following error but while trying to access Special:FormEdit to one of our test items the following message appeared.

Notice: Undefined property: SMWWikiPageValue::$m_dataitem in D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\datavalues\SMW_DV_WikiPage.php on line 300

Fatal error: Call to a member function getNamespace() on a non-object in D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\datavalues\SMW_DV_WikiPage.php on line 300

If this is not a programming error at least the page should not end with Fatal error and instead give a more appropriate message on what is going wrong.

MediaWiki 1.17.0rc1
PHP 5.3.5 (apache2handler)
MySQL 5.5.8
SF (Version 2.2-alpha) (r90082)
SMW 1.6 (r90263)


Version: unspecified
Severity: normal

Details

Reference
bz29464

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:25 PM
bzimport set Reference to bz29464.

r90317 should get rid of the notice, and might (but probably won't) sole the fatal error. If the fatal error is still there, let me know the steps to reproduce it. I can use Special:FormEdit locally without any problems.