• Hey,

    First off, I want to say, great plugin! This is definitely valuable for site owners.

    I just want to report a minor issue, some PHP Notices show up in the debug.log when WP_DEBUG is on. We use WP_DEBUG with logging on all our test sites 24/7 and we run all new plugins through it to find errors before we implement them on any live sites. (We test on PHP 5.3, 5.4 and 5.5)

    PHP Notice: Undefined index: slug in /XXXXXXXX/wp-content/plugins/plugins-speed-test/plugins-speed-test.php on line 54
    PHP Notice: Undefined index: slug in /XXXXXXXX/wp-content/plugins/plugins-speed-test/plugins-speed-test.php on line 55
    PHP Notice: Undefined index: slug in /XXXXXXXX/wp-content/plugins/plugins-speed-test/plugins-speed-test.php on line 56
    PHP Notice: Undefined index: slug in /XXXXXXXX/wp-content/plugins/plugins-speed-test/plugins-speed-test.php on line 57
    PHP Notice: Undefined index: slug in /XXXXXXXX/wp-content/plugins/plugins-speed-test/plugins-speed-test.php on line 59

    I did a quick check of your code…if you add a line of code before line 50 that gives $plugin_data['slug'] a default value of ” if it’s empty, then it will fix the error altogether. (You know your code better than I do so there may be a better way to do it.)

    Thanks! Looking forward to using this plugin.

    – Scott

    https://www.ads-software.com/plugins/plugins-speed-test/

  • The topic ‘Minor Issue: PHP Notices’ is closed to new replies.