Page MenuHomePhabricator

AbuseFilter: Cannot access property on non-object
Closed, ResolvedPublicPRODUCTION ERROR

Description

Spotted in production:

Notice: Cannot access property on non-object in /srv/mediawiki/php-1.27.0-wmf.10/extensions/AbuseFilter/AbuseFilter.class.php on line 1842

Event Timeline

demon raised the priority of this task from to Medium.
demon updated the task description. (Show Details)
demon subscribed.
matmarex subscribed.

This happens for URLs like Special:AbuseFilter/history/<id>/item/<oldid>, where <id> is a valid filter id, but <oldid> is not a valid filter version id.

Change 281235 had a related patch set uploaded (by Bartosz Dziewoński):
AbuseFilterViewEdit: Correctly reject non-existent historical versions

https://gerrit.wikimedia.org/r/281235

Change 281235 merged by jenkins-bot:
AbuseFilterViewEdit: Correctly reject non-existent historical versions

https://gerrit.wikimedia.org/r/281235

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:11 PM