Page MenuHomePhabricator

Unexpected non-MediaWiki exception: Serialization of 'Closure' is not allowed
Closed, ResolvedPublic

Description

When accessing http://translatewiki.net/wiki/Translating:MediaWiki got the following error which makes the site unusable:

Unexpected non-MediaWiki exception encountered, of type "Exception"
exception 'Exception' with message 'Serialization of 'Closure' is not allowed' in /www/translatewiki.net/w/extensions/SemanticMediaWiki/includes/query/QueryData.php:106


Version: unspecified
Severity: critical

Details

Reference
bz46783

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:35 AM
bzimport set Reference to bz46783.
Unknown Object (User) added a comment.Apr 2 2013, 11:03 AM

I look into it but first I need to find out way serialize( $params ) is failing here because unit tests didn't show any anomaly.

Unknown Object (User) added a comment.Apr 2 2013, 11:20 AM

I determined that {{Project map|MediaWiki translators}} causes the trouble in the meantime I disabled the template on that page until I understand why

{{#ask:[[Category:{{{1}}}]][[Coordinates::+]]|?Coordinates

limit=200
height=500

}}{{addtomap}}

is causing trouble here.

Unknown Object (User) added a comment.Apr 2 2013, 1:43 PM

Since I wasn't able to replicate the exception (which also means I can't get a unit test to cover the issue), I'd like to have a confirmation that [1] fixes the issue before merging it.

[1] https://gerrit.wikimedia.org/r/#/c/57064/

Unknown Object (User) added a comment.Apr 2 2013, 9:26 PM

Tested earlier on tw and was merged with 1.9 master