Page MenuHomePhabricator

ErrorException from line 351 of "ApiVisualEditor.php": PHP Warning: Illegal string offset 'revid'
Closed, DuplicatePublic

Description

Setup

  • MediaWiki 1.31.0-rc.0 (a3335f4) 07:55, 23. Mai 2018
  • PHP 7.0.27-0+deb9u1 (apache2handler)
  • MariaDB 10.1.26-MariaDB-0+deb9u1
  • VisualEditor 0.1.0 (2d2c8fc) 22:25, 17. Apr. 2018

Issue

2018-05-25 07:33:18 phalaris 0210020150926-02100_: [d7cc97679601ea9697499073] /w/api.php?action=visualeditor&format=json&paction=wikitext&page=Mod%C3%A8le%3ATelephone&uselang=de   ErrorException from line 351 of /../w/extensions/VisualEditor/includes/ApiVisualEditor.php: PHP Warning: Illegal string offset 'revid'

I believe that I get this for every edit. Currently this is floating the error log. However I cannot tell if this was an issue with MW 1.30 and the corresponding revision of VisualEditor.

Stack trace

#0 /../w/extensions/VisualEditor/includes/ApiVisualEditor.php(351): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /../w/includes/api/ApiMain.php(1579): ApiVisualEditor->execute()
#2 /../w/includes/api/ApiMain.php(535): ApiMain->executeAction()
#3 /../w/includes/api/ApiMain.php(506): ApiMain->executeActionWithErrorHandling()
#4 /../w/api.php(94): ApiMain->execute()
#5 {main}

Event Timeline

Indeed looks like it. Let's hope for a fix. Cheers

Vvjjkkii renamed this task from ErrorException from line 351 of "ApiVisualEditor.php": PHP Warning: Illegal string offset 'revid' to 99baaaaaaa.Jul 1 2018, 1:08 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 99baaaaaaa to ErrorException from line 351 of "ApiVisualEditor.php": PHP Warning: Illegal string offset 'revid'.Jul 2 2018, 3:46 PM
CommunityTechBot closed this task as a duplicate.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.