Getting the error mentioned in the Topic when trying to edit anything on mediawiki.
Upgraded Wiki from 1.32 to 1.35 (sequential upgrade). This is a private Wiki.
Followed the steps as per the Visualeditor extension page. I have read other users thread who are having similar issues.
Following is the setup in localsettings.php
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";
$wgVisualEditorParsoidAutoConfig = true;
#Added this based on reading a few threads as VE requests as an anonymus user
if (in_array($_SERVER['REMOTE_ADDR'],
[
$_SERVER['SERVER_ADDR'],
'127.0.0.1',
'localhost',
'<public IP>',
'<IPv6>',
'::1']
)) {
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['write'] = true;
$wgGroupPermissions['*']['writeapi'] = true;
}
Appreciate if any one could help me with this