Last modified: 2010-05-15 15:50:56 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 T12909, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10909 - Strict Standards: Non-static method WatchedItem::fromUserTitle() should not be called statically
Strict Standards: Non-static method WatchedItem::fromUserTitle() should not b...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.10.x
PC FreeBSD
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-13 22:00 UTC by BarkerJr
Modified: 2010-05-15 15:50 UTC (History)
0 users

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


Attachments

Description BarkerJr 2007-08-13 22:00:55 UTC
PHP: 5.2.3

Enabling "E_ALL | E_STRICT" in php.ini, I get this warning on the top of most pages in the wiki.  The warnings only show up for logged in users.

<b>Strict Standards</b>:  Non-static method WatchedItem::fromUserTitle() should not be called statically, assuming $this from incompatible context in <b>/usr/local/apache2/htdocs/mw/includes/User.php</b> on line <b>1769</b><br />

Also occurs on Linux with Mediawiki 1.9.3 but on line 1685.

There are a number of other warnings with E_STRICT, on other pages (i.e. Special Pages), so the entire wiki should probably be checked.
Comment 1 Rob Church 2007-08-13 22:07:55 UTC
This would have been fixed in r21799.

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


Navigation
Links