• Resolved Darko A7

    (@darko-a7)


    Hi, I am using latest plugin version (updated), and both on my prod and dev sites see the following notices in WP Admin Dashboard when I enable WP_DEBUG:

    Notice: Undefined index: vi_active in wordpress\wp-content\plugins\youtube-embed-plus\includes\vi\vi_actions.php on line 16
    
    Notice: Undefined index: vi_active in wordpress\wp-content\plugins\youtube-embed-plus\youtube.php on line 4938
    
    Notice: Undefined index: vi_js_posttypes in wordpress\wp-content\plugins\youtube-embed-plus\youtube.php on line 4939

    After visiting plugin’s settings page and re-saving, the notice on line 4938 has gone away, so probably something went wrong when I synced the prod database with the testing one.

    I don’t think they are serious, but can you check this on your end?

    Thanks,
    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Darko A7

    (@darko-a7)

    PHP versions are 7.0.x and 7.2.0

    Plugin Author embedplus

    (@embedplus)

    Hi,
    The notices are innocuous, but shouldn’t occur at all if the plugin was updated through normal means (i.e. via WordPress’s plugin updater, or via unzipping/overwriting existing code with the new code). A normal update would have allowed the plugin to upgrade its database bits on its own, and initialize/define any array indexes, including those in the notices.

    Do you mind sharing the steps you took to update the plugin in each environment (also, from what older version)?

    [ Signature deleted ]

    Thread Starter Darko A7

    (@darko-a7)

    I always use auto-update feature inside WordPress.
    I’ll see why this happens later, it is not really critical, plugin works fine overall.

    Regards

    Thread Starter Darko A7

    (@darko-a7)

    The update was performed from the previously published stable version recently
    (also, I use the plugin for 1.5-2 years now, always auto-updating incrementally).

    Thanks

    Plugin Author embedplus

    (@embedplus)

    We expect the next update to address this issue.

    [ Signature deleted ]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP Debug Notices: Undefined indexes’ is closed to new replies.