Support » Plugin: WordPress File Monitor Plus » Undefined index: is_admin_alert Error notice

  • Ran into another problem notice.

    Undefined index: is_admin_alert Error notice line 190 in wpfmp.settings.class.php

    and

    line 604 of wpfmp.class.php

    Fixed with…

    if( 1 != (isset($options['is_admin_alert'])) || 1 != $options['display_admin_alert'] || ! current_user_can( SC_WPFMP_ADMIN_ALERT_PERMISSION ) )

    instead of…

    if( 1 != $options['is_admin_alert'] || 1 != $options['display_admin_alert'] || ! current_user_can( SC_WPFMP_ADMIN_ALERT_PERMISSION ) )

    Thanks,
    TJ

    http://wordpress.org/plugins/wordpress-file-monitor-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nope.

    Now the error message won’t clear.

    I’m probably doing it wrong.

    Put line 604 of wpfmp.class.php back to original state and it works. Left the line 190 in wpfmp.settings.class.php with the new isset.

    Perhaps once it is declared then all is well. I don’t havethe time to go into details.

    -TJ

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index: is_admin_alert Error notice’ is closed to new replies.