WP Widget Cache
Enabling WP_DEBUG Undefined index 'notice' (1 post)

  1. Kojichan
    Posted 3 years ago #

    I had enabled WP_DEBUG to sniff out a problem with a different plug-in, and I got a PHP "Notice" log message from your plug-in.

    Notice: Undefined index: vmenuwidget-2 in /home/user/folder/wp-content/plugins/wp-widget-cache/widget-cache.php on line 509

    Line 509 looks like this:

    It just needs an ISSET() before like this:

    if ( isset( $wc_options[$id] ) )
    		} else { $wc_value = 0; }

    Just a quick fix for you. :)


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic