• Resolved Allyson

    (@allysonsouza)


    Hi @huynhmaianhkiet, great plugin!

    It’s just with a small error, in line 99 of HMAK-Replace-Broken-Images.php, you can verify if $_GET[‘page’] index is set before you compare their value, like that:

    if( !empty( $_GET['page'] ) && $_GET['page'] == 'hmak-replace-broken-images-panel' ){

    It’ll prevent your plugin to display an error if WP_DEBUG is activated.

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fix – Undefined index error’ is closed to new replies.