Support » Plugin: Health Check & Troubleshooting » Undefined index: slug

  • Resolved alx359

    (@alx359)


    After the last update (1.2.4), I’m getting the following entry many times in the debug.log and the wp-admin/plugins.php page itself after reload:

    Notice: Undefined index: slug in plugins/health-check/includes/class-health-check.php on line 306

    Had to rollback to 1.2.3 to make the issue gone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hi,

    This is a know problem, and we’ve prepared a fix for the next update, which I hope to have out in not too long.

    I would urge you to not downgrade, as version 1.2.4 addresses a security concern which had gone unnoticed in previous releases.

    toremo

    (@toremo)

    The issue is not at all resolved!
    We just got the same problem here too after just installing it

    alx359

    (@alx359)

    @toremo, the author meant the issue was addressed, and being fixed in the next release.

    In the meantime, I followed the fix suggested in this thread:

    Change plugins\health-check\includes\class-health-check.php line 306 from this:
    '_wpnonce' => wp_create_nonce( 'health-check-troubleshoot-plugin-' . $plugin_data['slug'] ),
    to this:
    '_wpnonce' => wp_create_nonce( 'health-check-troubleshoot-plugin-' . ( isset( $plugin_data['slug'] ) ? $plugin_data['slug'] : sanitize_title( $plugin_data['Name'] ) ) ),

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.