Last modified: 2012-04-16 09:15:48 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 T30219, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28219 - StubObject.php warning
StubObject.php warning
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-24 12:34 UTC by Thomas Schweikle
Modified: 2012-04-16 09:15 UTC (History)
2 users (show)

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


Attachments

Description Thomas Schweikle 2011-03-24 12:34:17 UTC
The parameter handled to getMagic() is indeed a value, not a reference.

Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /usr/share/mediawiki/includes/StubObject.php
Comment 1 Sam Reed (reedy) 2011-03-24 12:36:23 UTC
What version of mediawiki?
Comment 2 Brion Vibber 2011-04-01 00:17:54 UTC
This may simply be due to running stuff from MediaWiki 1.15 or earlier on PHP 5.3; same error reported on this thread:

http://lists.wikimedia.org/pipermail/mediawiki-l/2011-March/036986.html
http://lists.wikimedia.org/pipermail/mediawiki-l/2011-March/036987.html

Updating to MW 1.16 or downgrading to PHP 5.2 should resolve it if so.
Comment 3 Brion Vibber 2011-04-06 17:05:32 UTC
No response; resolving worksforme. Please re-open with additional details if the version shuffle doesn't resolve it.
Comment 4 Thomas Schweikle 2011-04-06 18:04:01 UTC
Seems to work with 1.18alpha (r85539).

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


Navigation
Links