When inserting an image in the editor, the plugin will cause a notice in the
root_relative_media_urls()method. It’s trying to parse the URL of the selected image to find its scheme and host. But it seems that the scheme and host are already stripped from the URL. When the method tries to do
$p['scheme']it causes an undefined index notice.
Version of plugin: 1.7
- The topic ‘Undefined index notice when inserting image in editor’ is closed to new replies.