Support » Plugin: Media File Renamer - Auto & Manual Rename » 4.6.2 PHP warning, undefined index

  • Resolved rogerlos

    (@rogerlos)


    Version 4.6.2 seems to have introduced a PHP warning:

    Notice: Undefined index: 'page' in C:\..\media-file-renamer\common\admin.php on line 26

    This warning is present throughout admin unless you are on the “meowapps-main-menu” page.

    Suggested fix (or something like it):

    if ( ! empty( $_GET['page'] ) && $_GET['page'] === 'meowapps-main-menu' ) ...

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rogerlos

    (@rogerlos)

    When I say “throughout” I mean “where ‘page’ is not defined, like the plugins screen. Precision in bug descriptions is apparently not my forte…

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Indeed, I didn’t notice this “notice” when I was updating the plugin. This is fixed now, and I released a new version. Thanks 🙂

    Plugin Author Jordy Meow

    (@tigroumeow)

    Wait… PHP 4.6.2? Are you really using this version of PHP? 🙂

    Thread Starter rogerlos

    (@rogerlos)

    No sorry, just laziness here. I’m on 7.3

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘4.6.2 PHP warning, undefined index’ is closed to new replies.