Page MenuHomePhabricator

Can't enter unicode into eval.php in production ?
Closed, ResolvedPublic

Description

Nikerabbit said that he can't enter unicode into mwscript eval.php in WMF production. See bug 67805 comment 9 (T69805#730015)

Details

Reference
bz67924

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:25 AM
bzimport set Reference to bz67924.
bzimport added a subscriber: Unknown Object (MLST).

This seems to have to do with the readline() function in PHP rather than MediaWiki. Executing php -r 'var_dump( readline( "> " ) );' on terbium exhibits the same behavior, both with php5 (5.5.9+dfsg-1ubuntu4.20) and HHVM (3.12.7+dfsg-1+wmf1~trusty1).

On tin, which is Debian jessie rather than Ubuntu trusty, HHVM (3.12.7+dfsg-1+wmf4) and PHP (5.6.29+dfsg-0+deb8u1) both exhibit the issue. Although here PHP doesn't beep when attempting to enter the character like it does on terbium and with HHVM. I get the same results for the same version of PHP on a personal machine also running Debian jessie.

Locally on Debian sid, php5 (5.6.26+dfsg-1) and php7.0 (7.0.14-2) allow input of non-ASCII characters, but HHVM (3.12.11+dfsg-1) does not (and does not beep).

eval.php should just be killed and replaced with something decent. See T117661: Integrate a modern php REPL shell with MediaWiki.

chose and triaged T117661 over this task for the developer wishlist

Let's merge this (and make a note in the other task to make sure Unicode works). T117661 solves this and has a much wider audience.

The other input methods in PsySH are sub-par. Hoa seems the most decent, but still differs from readline in a bunch of annoying subtle ways. To enable:

diff --git a/maintenance/shell.php b/maintenance/shell.php
index 47ef8045b1..88d3bcb5f5 100644
--- a/maintenance/shell.php
+++ b/maintenance/shell.php
@@ -65,6 +65,7 @@ class MediaWikiShell extends Maintenance {
 
                $config = new \Psy\Configuration( [ 'codeCleaner' => $codeCleaner ] );
                $config->setUpdateCheck( \Psy\VersionUpdater\Checker::NEVER );
+               $config->setReadline( new \Psy\Readline\HoaConsole() );
                $shell = new \Psy\Shell( $config );
                if ( $this->hasOption( 'd' ) ) {
                        $this->setupLegacy();

plus intall Hoa with composer require hoa/console '~3.0'.

PHP uses libedit by default for licensing reasons (you can check via the constant READLINE_LIB which is being used). libedit has Unicode support but it's not enabled by default. Debian enabled it in 3.1-20130712-2 (see bug 737786); trusty uses 3.1-20130712-2 (see libedit page). Xenial uses a newer version so recently installed vagrant boxes should be OK. For Debian, jessie should be OK, older releases not.

Options for getting it work on older boxes:

  • try to get the trusty package updated (I don't think we care enough since we are moving away from trusty and both xenial and jessie work)
  • recompile PHP to use readline instead (not something we'd want to do in puppet)
  • use non-readline/libedit input (see patch above, IMO not worth it unless you really, really need non-ASCII)

If you only need unicode occasionally, you can always just run something like $str = trim(fgets(fopen('php://stdin', 'r'))); from the prompt.

Locally on Debian sid, php5 (5.6.26+dfsg-1) and php7.0 (7.0.14-2) allow input of non-ASCII characters, but HHVM (3.12.11+dfsg-1) does not (and does not beep).

Same on Ubuntu Xenial (HHVM version is 3.11.1+dfsg-1ubuntu1).

So it seems there is both a system library issue (on its way out) and a HHVM issue blocking this task.

Note mwscript is hardcoded to use php5 (i.e. Zend, not HHVM). That is the subject of T146285.

Under HHVM on terbium, unicode can't be entered either:

sudo -u www-data hhvm /srv/mediawiki-staging/multiversion/MWScript.php eval.php --wiki=testwiki

On Debian they both depends on libedit2 anyway.

Under HHVM on terbium, unicode can't be entered either:

That will go away when T143536 is fixed. IMO all that's left here is for someone to re-test on HHVM master and file a bug report.

Unicode (äö) works for me now on HHVM 3.18.0 with both eval.php and shell.php (On Ubuntu 16.04).

Can you try with something that's not in Latin1, just in case?

I don't think I can actually type outside latin1 with keyboard layouts currently enabled, but with copy-pasting it works:

1twn:/www/dev.translatewiki.net/docroot/w (master)$ php maintenance/eval.php
2> echo 'Hello 日本語';
3Hello 日本語
4> exit
5twn:/www/dev.translatewiki.net/docroot/w (master)$ php maintenance/shell.php
6Psy Shell v0.8.1 (PHP 5.6.99-hhvm — cli) by Justin Hileman
7>>> echo 'Hello 日本語';
8Hello 日本語⏎
9=> null
10>>> exit
11Exit: Goodbye.
12ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;9 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
13ERROR 2: Attempted to serialize unserializable builtin class Closure$#9;13 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
14ERROR 2: Attempted to serialize unserializable builtin class Closure$;29 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
15ERROR 2: Attempted to serialize unserializable builtin class Closure$#4;43 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
16ERROR 2: Attempted to serialize unserializable builtin class Closure$;123 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
17ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;124 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
18ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;125 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
19ERROR 2: Attempted to serialize unserializable builtin class Closure$#4;126 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
20ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;127 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
21ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;128 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
22ERROR 2: Attempted to serialize unserializable builtin class Closure$#7;129 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
23ERROR 2: Attempted to serialize unserializable builtin class Closure$#8;130 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
24ERROR 2: Attempted to serialize unserializable builtin class Closure$#9;131 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
25ERROR 2: Attempted to serialize unserializable builtin class Closure$;7 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
26ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#19;249 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
27ERROR 2: Attempted to serialize unserializable builtin class Closure$;12 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
28ERROR 2: Attempted to serialize unserializable builtin class Closure$;10 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
29ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#10;240 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
30ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#15;245 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
31ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#14;244 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
32ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#8;238 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
33ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#18;248 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
34ERROR 2: Attempted to serialize unserializable builtin class Closure$;51 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
35ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#17;247 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
36ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#24;254 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
37ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;34 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
38ERROR 2: Attempted to serialize unserializable builtin class Closure$#8;36 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
39ERROR 2: Attempted to serialize unserializable builtin class Closure$;14 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
40ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;15 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
41ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;16 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
42ERROR 2: Attempted to serialize unserializable builtin class Closure$#4;17 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
43ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;18 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
44ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;19 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
45ERROR 2: Attempted to serialize unserializable builtin class Closure$#7;20 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
46ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::registerParserFunctionHooks;258 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
47ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#20;250 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
48ERROR 2: Attempted to serialize unserializable builtin class Closure$;47 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
49ERROR 2: Attempted to serialize unserializable builtin class Closure$;48 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
50ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;49 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
51ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;50 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
52ERROR 2: Attempted to serialize unserializable builtin class Closure$;40 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
53ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;41 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
54ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;42 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
55ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;44 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
56ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;45 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
57ERROR 2: Attempted to serialize unserializable builtin class Closure$;52 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
58ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#5;235 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
59ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;33 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
60ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;35 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
61ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#16;246 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
62ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#4;234 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
63ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#25;255 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
64ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#9;239 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
65ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#22;252 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
66ERROR 2: Attempted to serialize unserializable builtin class Closure$#8;21 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
67ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers;231 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
68ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#2;232 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
69ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#3;233 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
70ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#6;236 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
71ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#7;237 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
72ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#11;241 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
73ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#12;242 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
74ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#13;243 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
75ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#21;251 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
76ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#23;253 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
77ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::registerHooksForInternalUse;256 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
78ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::registerHooksForInternalUse#2;257 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
79ERROR 2: Attempted to serialize unserializable builtin class Closure$;8 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
80ERROR 2: Attempted to serialize unserializable builtin class Closure$;53 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:165
81ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;9 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
82ERROR 2: Attempted to serialize unserializable builtin class Closure$#9;13 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
83ERROR 2: Attempted to serialize unserializable builtin class Closure$;29 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
84ERROR 2: Attempted to serialize unserializable builtin class Closure$#4;43 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
85ERROR 2: Attempted to serialize unserializable builtin class Closure$;123 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
86ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;124 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
87ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;125 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
88ERROR 2: Attempted to serialize unserializable builtin class Closure$#4;126 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
89ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;127 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
90ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;128 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
91ERROR 2: Attempted to serialize unserializable builtin class Closure$#7;129 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
92ERROR 2: Attempted to serialize unserializable builtin class Closure$#8;130 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
93ERROR 2: Attempted to serialize unserializable builtin class Closure$#9;131 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
94ERROR 2: Attempted to serialize unserializable builtin class Closure$;7 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
95ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#19;249 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
96ERROR 2: Attempted to serialize unserializable builtin class Closure$;12 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
97ERROR 2: Attempted to serialize unserializable builtin class Closure$;10 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
98ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#10;240 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
99ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#15;245 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
100ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#14;244 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
101ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#8;238 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
102ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#18;248 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
103ERROR 2: Attempted to serialize unserializable builtin class Closure$;51 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
104ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#17;247 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
105ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#24;254 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
106ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;34 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
107ERROR 2: Attempted to serialize unserializable builtin class Closure$#8;36 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
108ERROR 2: Attempted to serialize unserializable builtin class Closure$;14 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
109ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;15 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
110ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;16 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
111ERROR 2: Attempted to serialize unserializable builtin class Closure$#4;17 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
112ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;18 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
113ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;19 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
114ERROR 2: Attempted to serialize unserializable builtin class Closure$#7;20 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
115ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::registerParserFunctionHooks;258 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
116ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#20;250 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
117ERROR 2: Attempted to serialize unserializable builtin class Closure$;47 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
118ERROR 2: Attempted to serialize unserializable builtin class Closure$;48 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
119ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;49 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
120ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;50 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
121ERROR 2: Attempted to serialize unserializable builtin class Closure$;40 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
122ERROR 2: Attempted to serialize unserializable builtin class Closure$#2;41 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
123ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;42 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
124ERROR 2: Attempted to serialize unserializable builtin class Closure$#5;44 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
125ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;45 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
126ERROR 2: Attempted to serialize unserializable builtin class Closure$;52 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
127ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#5;235 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
128ERROR 2: Attempted to serialize unserializable builtin class Closure$#3;33 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
129ERROR 2: Attempted to serialize unserializable builtin class Closure$#6;35 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
130ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#16;246 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
131ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#4;234 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
132ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#25;255 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
133ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#9;239 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
134ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#22;252 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
135ERROR 2: Attempted to serialize unserializable builtin class Closure$#8;21 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
136ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers;231 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
137ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#2;232 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
138ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#3;233 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
139ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#6;236 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
140ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#7;237 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
141ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#11;241 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
142ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#12;242 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
143ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#13;243 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
144ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#21;251 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
145ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::addCallbackHandlers#23;253 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
146ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::registerHooksForInternalUse;256 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
147ERROR 2: Attempted to serialize unserializable builtin class Closure$SMW\MediaWiki\Hooks\HookRegistry::registerHooksForInternalUse#2;257 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
148ERROR 2: Attempted to serialize unserializable builtin class Closure$;8 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172
149ERROR 2: Attempted to serialize unserializable builtin class Closure$;53 in /www/dev.translatewiki.net/docroot/w/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php:172

Thanks. In that case this task can be closed as declined IMO, the only other thing that could be done is to backport the HHVM fix to the version used by WMF, and that doesn't seem worth the effort.

Tgr claimed this task.

Works fine these days, our HHVM version has been upgraded presumably.