Last modified: 2010-05-15 15:48:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9537 - PHP 5.2.0: is_a(): Deprecated. Please use the instanceof operator
PHP 5.2.0: is_a(): Deprecated. Please use the instanceof operator
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2007-04-09 11:08 UTC by Sven Wappler
Modified: 2010-05-15 15:48 UTC (History)
0 users

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


Description Sven Wappler 2007-04-09 11:08:46 UTC
If a user tries to register or wants to confirm his mail-address, the user gets
the following error: is_a(): Deprecated. Please use the instanceof operator 
The mail although was send successfully.

File: /includes/StubObject.php
Line: 27

return is_object( $obj ) && !is_a( $obj, 'StubObject' );

My solution:
return is_object( $obj ) && !($obj instanceof StubObject);
Comment 1 Rob Church 2007-04-09 12:35:57 UTC
This was fixed in trunk in r19896.

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