I am using MediaWiki 1.35-rc3. Opening MediaWiki for the first time after a longer period of not using it, MediaWiki always gives me two PHP Warnings:
PHP Warning: Illegal string offset 'value' in includes/registration/ExtensionProcessor.php on line 686 and PHP Warning: Illegal string offset 'providedby' in includes/registration/ExtensionProcessor.php on line 701
The error originates from function extractConfig2(), which assumes that the array keys $data['value'] and $data['providedby'] = $info['name']; would be set. However, they obviously are not; at least not in my case.
Maybe all it needs is a check, whether $data['value'] and $data['providedby'] are actually set, before they are used.
The complete error log is below.
PHP Warning: Illegal string offset 'value' in includes/registration/ExtensionProcessor.php on line 686
PHP Stack trace:
PHP 1. {main}() index.php:0
PHP 2. require() index.php:44
PHP 3. require_once() includes/WebStart.php:89
PHP 4. ExtensionRegistry->loadFromQueue() includes/Setup.php:161
PHP 5. ExtensionRegistry->readFromQueue() includes/registration/ExtensionRegistry.php:229
PHP 6. ExtensionProcessor->extractInfo() includes/registration/ExtensionRegistry.php:394
PHP 7. ExtensionProcessor->extractConfig2() includes/registration/ExtensionProcessor.php:227
PHP Warning: Illegal string offset 'providedby' in includes/registration/ExtensionProcessor.php on line 701
PHP Stack trace:
PHP 1. {main}() index.php:0
PHP 2. require() index.php:44
PHP 3. require_once() includes/WebStart.php:89
PHP 4. ExtensionRegistry->loadFromQueue() includes/Setup.php:161
PHP 5. ExtensionRegistry->readFromQueue() includes/registration/ExtensionRegistry.php:229
PHP 6. ExtensionProcessor->extractInfo() includes/registration/ExtensionRegistry.php:394
PHP 7. ExtensionProcessor->extractConfig2() includes/registration/ExtensionProcessor.php:227
PHP Warning: session_name(): Cannot change session name when headers already sent in includes/Setup.php on line 713
(...)