• John Clause

    (@johnclause)


    Thank you for excellent plugin.

    When WP_DEBUG is on, I get this annoying message on the screen and in error_log:

    PHP Notice: Undefined index: action in /wp-content/plugins/wp-filemanager/wp-filemanager.php on line 65

    I did not have time to investigate the conditions which cause it, I guess, you can get rid of it in any case. Thanks a lot.

    https://wordpress.org/plugins/wp-filemanager/

Viewing 1 replies (of 1 total)
  • John –

    I’ll log another support thread to try to get the attention of the developer, but you just need to add isset before it’s used.

    FILE: wp-filemanager.php
    LINE: 65

    FROM:

    if ($_GET['action'] == 'edit')

    TO:

    if (isset($_GET['action']) && $_GET['action'] == 'edit')

    The developer correctly did this in other areas of the plugin and must have just forgotten for this line.

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