Last modified: 2014-02-19 19:36:08 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 T49844, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47844 - ResourceLoader: PHP warning "An error occurred while invoking the map callback"
ResourceLoader: PHP warning "An error occurred while invoking the map callback"
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.22.0
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
deploysprint-13
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-29 20:47 UTC by Sam Reed (reedy)
Modified: 2014-02-19 19:36 UTC (History)
5 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-04-29 20:47:21 UTC
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.22wmf3/includes/resourceloader/ResourceLoaderFileModule.php on line 611

Warning:  array_map() [<a href='function.array-map'>function.array-map</a>]: An error occurred while invoking the map callback in /home/wikipedia/common/php-1.22wmf3/includes/resourceloader/ResourceLoaderFileModule.php on line 611


Seems this hasn't been reported before, or if it was, maybe closed.

The number of these warnings seem to have incrased quite a bit with 1.22wmf3 being deployed to the testwikis
Comment 1 Krinkle 2013-04-29 20:49:19 UTC
It was previously mentioned in bug 42151.
Comment 2 Andre Klapper 2013-04-30 10:32:16 UTC
(In reply to comment #0)
> The number of these warnings seem to have incrased quite a bit with 1.22wmf3
> being deployed to the testwikis

Reedy: Any approx. numbers before and after?
"quite a bit" does not help to judge whether this is important or not...
Comment 3 Andre Klapper 2013-05-14 10:57:45 UTC
Reedy: Any approx. numbers before and after?
"quite a bit" does not help to judge whether this is important or not...
Comment 4 Umherirrender 2013-07-12 18:05:17 UTC
The warning can happen, when the callback throws a exception. In line 611 (now 607) the method $this->readStyleFile is called, which can throw a exception.

Are there log entries in group 'resourceloader' which have the text "style file not found:"?
Comment 5 Greg Grossmeier 2013-07-15 17:12:37 UTC
Reedy: per bug 49757 (better monitoring of errors), we can use this specific issue as a test case.

Can you determine if the number of these has gone up/down since you first reported it in April?
Comment 6 Andre Klapper 2013-12-09 16:05:36 UTC
Reedy: Can you determine if the number of these has gone up/down since you first reported it in April?
Comment 7 Gerrit Notification Bot 2014-01-28 20:53:19 UTC
Change 109956 had a related patch set uploaded by Umherirrender:
Unroll array_map in ResourceLoaderFileModule::readStyleFiles

https://gerrit.wikimedia.org/r/109956
Comment 8 Gerrit Notification Bot 2014-02-19 19:20:55 UTC
Change 109956 merged by jenkins-bot:
Unroll array_map in ResourceLoaderFileModule::readStyleFiles

https://gerrit.wikimedia.org/r/109956
Comment 9 Umherirrender 2014-02-19 19:36:08 UTC
successfully merged

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


Navigation
Links