• Resolved janh2

    (@janh2)


    pmpro-discord-add-on/includes/classes/class-pmpro-discord-admin-setting.php line 243 is $curr_level_id = $_GET['level']; which does not check if level was provided via GET and thus generates warnings.

    Please add a check or use a null-coalescing operator (depending on the PHP version you need to support).

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘class-pmpro-discord-admin-setting.php throws E_WARNING’ is closed to new replies.