Last modified: 2012-08-15 12:51:09 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 T41207, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39207 - EP: An error occurred while invoking the map callback
EP: An error occurred while invoking the map callback
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-09 21:18 UTC by Sam Reed (reedy)
Modified: 2012-08-15 12:51 UTC (History)
2 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-08-09 21:18:18 UTC
PHP Warning:  array_map() [<a href='function.array-map'>function.array-map</a>]: An error occurred while invoking the map callback in /usr/local/apache/common-local/php-1.20wmf9/extensions/EducationP
rogram/includes/pagers/EPOAPager.php on line 0

Multiple occurances in WMF error logs
Comment 1 Roan Kattouw 2012-08-09 21:21:04 UTC
(In reply to comment #0)
> PHP Warning:  array_map() [<a
> href='function.array-map'>function.array-map</a>]: An error occurred while
> invoking the map callback in
> /usr/local/apache/common-local/php-1.20wmf9/extensions/EducationP
> rogram/includes/pagers/EPOAPager.php on line 0
> 
> Multiple occurances in WMF error logs
This may be an upstream bug in PHP, depending on whether the error that triggered this was an actual error or an exception thrown from the callback. See https://bugs.php.net/bug.php?id=55416
Comment 2 Jeroen De Dauw 2012-08-11 20:38:53 UTC
No exception should be thrown here. So yes it sucks it messes up the message.

Rewritten as foreach after not seeing anything obviously wrong so we'll get a clearer error: https://gerrit.wikimedia.org/r/#/c/18978/
Comment 3 Roan Kattouw 2012-08-14 20:33:28 UTC
(In reply to comment #2)
> No exception should be thrown here. So yes it sucks it messes up the message.
> 
> Rewritten as foreach after not seeing anything obviously wrong so we'll get a
> clearer error: https://gerrit.wikimedia.org/r/#/c/18978/
Merged into master.

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


Navigation
Links