Warning sur oembed_formulaire_charger array offset on value of type null
PHP8 SPIP4.2.6
Warning: Trying to access array offset on value of type null in plugins/auto/oembed/v3.0.3/oembed_pipelines.php on line 51
https://git.spip.net/spip-contrib-extensions/oembed/src/branch/master/oembed_pipelines.php#L51
function oembed_formulaire_charger($flux) {
- if ($flux['args']['form'] == 'editer_document') {
+ if (in_array('args',$flux) && $flux['args']['form'] == 'editer_document') {