Last modified: 2009-11-04 18:27:17 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 T22296, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20296 - Language::getMagic() expected to be a reference
Language::getMagic() expected to be a reference
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: newphp
: 21412 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-18 06:49 UTC by Tim Kapple
Modified: 2009-11-04 18:27 UTC (History)
2 users (show)

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


Attachments

Description Tim Kapple 2009-08-18 06:49:18 UTC
Description:
Language::getMagic() expected to be a reference, value given in E:\xampp\htdocs\wiki\includes\StubObject.php on line 58.

Overview:
This error shows up at the top of the page of every page. Under all the div header content.

Steps to Reproduce:
From a fresh install of XAMPP 1.7.2 add the DynamicPageList (Version 1.8.8) extension.

Additional Information: 
Running Windows XP SP3
Running XAMMP 1.7.2 for development.

MediaWiki 1.16alpha 
PHP 5.3.0 (apache2handler) 
MySQL 5.1.37 

I believe this is related to PHP 5.3. If I go back to a copy of XAMMP using PHP 5.9 the Language::getMagic() expected to be a reference error does not show up.

I have performed a basic query with this error showing and nothing will show. If perform the same query on the previous version of PHP it will work.

Thanks
Comment 1 Alexandre Emsenhuber [IAlex] 2009-08-18 12:36:29 UTC
Yes, this happens only on PHP 5.3+.
Changed Product to MediaWiki since this is not related to the DynamicPageList extension.
Comment 2 Alexandre Emsenhuber [IAlex] 2009-08-21 20:18:52 UTC
fixed in r55429.
Comment 3 Alexandre Emsenhuber [IAlex] 2009-11-04 18:27:17 UTC
*** Bug 21412 has been marked as a duplicate of this bug. ***

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


Navigation
Links