Page MenuHomePhabricator

Warnings on array usage in ReferenceClarifier
Closed, ResolvedPublic

Description

Seen in production logs:

May 31 17:05:21 mw1102: PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /usr/local/apache/common-local/php-1.24wmf7/extensions/Flow/includes/ReferenceClarifier.php on line 71
May 31 17:05:21 mw1102: PHP Warning: Invalid argument supplied for foreach() in /usr/local/apache/common-local/php-1.24wmf7/extensions/Flow/includes/ReferenceClarifier.php on line 75


Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=65963

Details

Reference
bz65977

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:20 AM
bzimport set Reference to bz65977.
bzimport added a subscriber: Unknown Object (MLST).

Possibly a duplicate of bug 65963 ? (They both mention array_merge )
If so, see comment1 from there:

(In reply to Gerrit Notification Bot from comment #1)

Change 136235 had a related patch set uploaded by Bsitu:
Feed only array type to array_merge()

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

awaiting review

  • This bug has been marked as a duplicate of bug 65963 ***