• Resolved flx0

    (@flx0)


    Hi,

    A PHP notice is triggered on /my-account/view-license-keys :

    PHP Notice:  Undefined index: license in plugins/license-manager-for-woocommerce/includes/integrations/woocommerce/MyAccount.php on line 49

    This is happening when an ajax query is sent on this page, MyAccount.php is trying to parse license even when the action doesn’t concern it.

    Can be fixed by adding

    && in_array($_POST['action'], ['activate', 'deactivate'])

    On line 48

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index: license’ is closed to new replies.