Last modified: 2011-10-31 01:17:23 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 T31464, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29464 - SMW 1.6 (r90263), Fatal error: Call to a member function getNamespace() ... SMW_DV_WikiPage.php on line 300
SMW 1.6 (r90263), Fatal error: Call to a member function getNamespace() ... ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-17 20:14 UTC by MWJames
Modified: 2011-10-31 01:17 UTC (History)
1 user (show)

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


Attachments

Description MWJames 2011-06-17 20:14:51 UTC
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)
Comment 1 Jeroen De Dauw 2011-06-17 21:04:14 UTC
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.

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


Navigation
Links