Query Monitor found an error and I fixed it – where can I report it?
-
So, basically it is a deprecated error.
This was in my console in the Admin on the Plugins List page:
PHP Errors in Ajax Response query-monitor.js?ver=3.15.0:403 {key: 'b77656ccfaf69d994ebd43e69ec61d0a', type: 'deprecated', message: 'Use of "self" in callables is deprecated', file: 'files/plugins/better-wp-security/core/lib/class-itsec-lib-ip-tools.php', line: 200, …} component : "Plugin: better-wp-security" file : "files/plugins/better-wp-security/core/lib/class-itsec-lib-ip-tools.php" key : "b77656ccfaf69d994ebd43e69ec61d0a" line : 200 message : "Use of \"self\" in callables is deprecated" stack
I changed the line from:
return call_user_func( array( 'self', $bin2mask_method ), $bin_mask );
to:
return call_user_func( array( 'ITSEC_Lib_IP_Tools', $bin2mask_method ), $bin_mask );
Now my Console is clean again.
Thanks for your Plugin!
Best Regards
Mikke
- The topic ‘Query Monitor found an error and I fixed it – where can I report it?’ is closed to new replies.