• Resolved Jay

    (@jay2000)


    Hi,

    I have errors such as

    Undefined index: page in wp-content/plugins/easy-age-verifier/easy-age-verifier.php on line 159

    due to a missing test whether the key page does exist in the following function:

    function redirect_to_customizer(){
      global $_GET;
      if($_GET['page'] == 'eav-options'){
        wp_redirect(admin_url().'customize.php?autofocus[section]=eav_section');
        die;
      }
    }

    Please add an isset($_GET['page']) or something else. Thanks!

    Best regards,
    Jay

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alexstandiford

    (@alexstandiford)

    Hey Jay,

    Judging by your other issue submitted earlier, I am guessing this is a multisite install?

    Thanks for the bug submission – I’ve added it to my list of bugs to fix in the next release. Feel free to manually update the code to work for you, and I’ll make sure this bug is resolved in the next update.

    Cheers!

    Thread Starter Jay

    (@jay2000)

    Hi,
    thanks for your fast reply. Yes, it is a multisite installation.

    Regards,
    Jay

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Bug] Non-existence of key in $_GET’ is closed to new replies.