Support » Plugin: Bowe Codes » Receiving Undefined index notice on line 63?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I figured it out. Here’s what you have in /bowes-codes.php on line 63:

    if($_GET[‘page’]==”bcodes-admin”) wp_enqueue_style(‘bowe-codes-css’, BOWE_CODES_PLUGIN_URL.’/css/admin.css’);

    To get rid of the Notice: Undefined index error, change line 63 to this:

    if( isset($_GET[‘page’]) && $_GET[‘page’]==”bcodes-admin”) wp_enqueue_style(‘bowe-codes-css’, BOWE_CODES_PLUGIN_URL.’/css/admin.css’);

    Let me know if I’ve made any errors here but I think this could be added to the next plugin update.

    Thanks,
    NG

    Hi Nathan.

    Great catch. I’ll make sure to include your fix on next upgrade.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Receiving Undefined index notice on line 63?’ is closed to new replies.