Error “Undefined array key”
-
When updating a record using “wp_post_update,” it shows the error “Undefined array key replace_iframe_tags” in
advanced_iframe.phpon line 1136.The modification is done correctly, but I would still like it not to show the error.
I have modified the
advanced_iframe.phpfile on that line, changing it from:PHP
if ($devOptions['replace_iframe_tags'] !== 'true') { return $content; }to:
PHP
if (!isset($devOptions['replace_iframe_tags']) || $devOptions['replace_iframe_tags'] !== 'true') { return $content; }But when the plugin is updated, this change is removed.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Error “Undefined array key”’ is closed to new replies.