Page MenuHomePhabricator

TypeError: Argument 5 passed to MediaWiki\Extension\VisualEditor\ApiVisualEditor::transformWikitext() must be of the type boolean, null given, called in /srv/mediawiki/php-1.39.0-wmf.6/extensions/VisualEditor/includes/ApiVisualEditor.php on line 242
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   TypeError: Argument 5 passed to MediaWiki\Extension\VisualEditor\ApiVisualEditor::transformWikitext() must be of the type boolean, null given, called in /srv/mediawiki/php-1.39.0-wmf.6/extensions/VisualEditor/includes/ApiVisual
exception.trace
from /srv/mediawiki/php-1.39.0-wmf.6/extensions/VisualEditor/includes/ApiParsoidTrait.php(290)
#0 /srv/mediawiki/php-1.39.0-wmf.6/extensions/VisualEditor/includes/ApiVisualEditor.php(242): MediaWiki\Extension\VisualEditor\ApiVisualEditor->transformWikitext(Title, string, boolean, integer, NULL)
#1 /srv/mediawiki/php-1.39.0-wmf.6/includes/api/ApiMain.php(1898): MediaWiki\Extension\VisualEditor\ApiVisualEditor->execute()
#2 /srv/mediawiki/php-1.39.0-wmf.6/includes/api/ApiMain.php(871): ApiMain->executeAction()
#3 /srv/mediawiki/php-1.39.0-wmf.6/includes/api/ApiMain.php(842): ApiMain->executeActionWithErrorHandling()
#4 /srv/mediawiki/php-1.39.0-wmf.6/api.php(90): ApiMain->execute()
#5 /srv/mediawiki/php-1.39.0-wmf.6/api.php(45): wfApiMain()
#6 /srv/mediawiki/w/api.php(3): require(string)
#7 {main}
Impact
Notes

Details

Event Timeline

Change 784314 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/VisualEditor@master] ApiVisualEditor: Fix 'stash' param validation (it's a boolean)

https://gerrit.wikimedia.org/r/784314

Change 784314 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] ApiVisualEditor: Fix 'stash' param validation (it's a boolean)

https://gerrit.wikimedia.org/r/784314