• Resolved mcmurry

    (@mcmurry)


    Hello,

    I am receiving the following notice with Easy Marijuana Age Verify Premium:

    Notice: Undefined variable: color in /var/www/pom420.com/public_html/wp-content/plugins/easy-marijuana-age-verify-premium/includes/functions.php on line 450

    Notice: Undefined offset: 1 in /var/www/pom420.com/public_html/wp-content/plugins/easy-marijuana-age-verify-premium/includes/class-easy-marijuana-age-verify.php on line 289

    Notice: Undefined offset: 2 in /var/www/pom420.com/public_html/wp-content/plugins/easy-marijuana-age-verify-premium/includes/class-easy-marijuana-age-verify.php on line 290

    Here’s my current php debug settings:
    define( ‘WP_DEBUG’, false );
    define( ‘WP_DEBUG_LOG’, true );
    define(‘WP_DEBUG_DISPLAY’, false);

    I’ve been able to suppress the notice from being displayed by setting WP_DEBUG_DISPLAY to false but this appears to be a bug in the plugin’s code.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author 5 Star Plugins

    (@5starplugins)

    Hi @mcmurry PHP notices are not errors and should not affect the web site functionality, and WP_DEBUG_DISPLAY should be set to false for all live sites.

    That said, we will make a note of these notices and see if we can address them so that the variables and offsets are not undefined when using the plugin, it may be a certain combination of options that is causing that to happen.

    Thanks for sending those in, and look for an update to the plugin that resolves those notices from being shown with DEBUG is set to display on the site.

Viewing 1 replies (of 1 total)
  • The topic ‘[NSFW] Undefined variable’ is closed to new replies.