Last modified: 2010-05-15 15:38:01 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 T4046, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2046 - PHP Fatal error: Cannot re-assign $this in includes/Group.php on line 55 (PHP5)
PHP Fatal error: Cannot re-assign $this in includes/Group.php on line 55 (PHP5)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.5.x
All All
: High blocker with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 767
  Show dependency treegraph
 
Reported: 2005-05-02 01:53 UTC by Brion Vibber
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Attachments

Description Brion Vibber 2005-05-02 01:53:47 UTC
PHP 5 doesn't allow re-assigning $this in an object, which the new Group code seems to do. This 
breaks the wiki fatally on PHP 5.
Comment 1 Brion Vibber 2005-05-02 02:08:30 UTC
Moved the checks back to the factory method Group::newFromName (were already present in Group::newFromId).

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


Navigation
Links