Page MenuHomePhabricator

ParameterTypeException when loading new Wikitext mode (VisualEditor) on Commons
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
The page is stuck on “The editor will now load. If you still see this message after a few seconds, please reload the page.”; in the console, an error appears:

[c0b128da-89d1-41ae-bd71-d11a5f76c5b0] 2021-08-30 18:47:13: Fatal exception of type "Wikimedia\Assert\ParameterTypeException"

What should have happened instead?:
Edit mode should load

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
1.37.0-wmf.20 (rMW0bc4a587abe5)

Other notes
Only possible duplicate I found is T287619: Wikimedia\Assert\ParameterTypeException: Bad value for parameter $target: must be a MediaWiki\Linker\LinkTarget|MediaWiki\Page\PageReference, but to me that seems unlikely to be the same issue. I’m on vacation, so I can’t look up the exception details in Logstash – someone else please do that :)

Event Timeline

LucasWerkmeister claimed this task.

Eh, now it seems to have fixed itself. I’ll try a few more times this evening and reopen if it happens again.

Hasn’t happened again. Maybe it was caused by this deployment – the fix turned an array into a string, which could plausibly have shown up as a ParameterTypeException.