Support » Plugin: BruteProtect » PHP Notices

  • Resolved Till Krüss

    (@tillkruess)



    The following PHP notices are spamming my logs. Please develop the plugin using WP_DEBUG

    PHP Notice:  Undefined variable: additiional_data in /bruteprotect/admin/mybp-post_processing.php on line 112
    PHP Notice:  Undefined variable: install_url in /bruteprotect/admin/mybp-sections/clef.php on line 18
    PHP Notice:  Undefined variable: install_url in /bruteprotect/admin/mybp-sections/clef.php on line 18
    PHP Notice:  Trying to get property of non-object in /bruteprotect/bruteprotect.php on line 543
Viewing 5 replies - 1 through 5 (of 5 total)
  • Till Krüss

    (@tillkruess)

    And a deprecated warning:

    [11-Aug-2014 10:17:25 UTC] PHP Notice:  wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /bruteprotect/clear_transients.php on line 33
    Plugin Author Jesse Friedman

    (@professor44)

    @till I really appreciate you bringing this to our attention. Finding solutions to problems are always way easier when we rely on the community. If you have any other issues please feel free to email me directly at jesse [at] getparka.com

    Hey Jesse,

    thanks! All notices seem to be resolved in the latest version, except this one:

    PHP Notice:  wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead.

    I got one more:

    PHP Notice: Undefined index: blocked_attempts in /nothing-to-see-here/httpdocs/wp-content/plugins/bruteprotect/bruteprotect.php on line 370

    Plugin Contributor Sam Hotchkiss

    (@samhotchkiss)

    Thanks, guys– we should be pushing version 2.3 within the next week or so, which will take care of these notices

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Notices’ is closed to new replies.