Last modified: 2010-05-15 15:38:50 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 T4538, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2538 - Warning notices from User.php after change in 1.162
Warning notices from User.php after change in 1.162
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.5.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-26 16:16 UTC by Zigger
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Attachments

Description Zigger 2005-06-26 16:16:46 UTC
On local test wikis, I am getting this warning notices from php, since User.php
1.162 :

Notice: Trying to get property of non-object in .../User.php on line 534

A second notice is produced once after logging-in, and three times after a new
installation during "Granting user permissions..." :

Notice: Undefined variable: changed in .../User.php on line 1279

N.B. These installations are not using memcached.
Comment 1 Zigger 2005-06-26 16:22:28 UTC
(In reply to comment #0)
> On local test wikis, I am getting this warning notices from php, since User.php
> 1.162 :
>...
> N.B. These installations are not using memcached.

The PHP version was 5.0.0 in these tests.
Comment 2 Brion Vibber 2005-06-26 18:59:34 UTC
Whoops, forgot to check for non-objects. Fix checked in.

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


Navigation
Links