Title: Undefined variable $type
Last modified: January 19, 2026

---

# Undefined variable $type

 *  Resolved [martje65](https://wordpress.org/support/users/martje65/)
 * (@martje65)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/undefined-variable-type/)
 * If you remove an IP adress from the Whitelist you get the nex error in your logfile.
   
   Backend log: PHP Warning: Undefined variable $type in /home/domains/public_html/
   wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-action-handler.
   php on line 318\n, referer: [https://www.XXXXX.com/wp-admin/admin.php?page=advaipbl_settings_page&tab=ip_management&sub-tab=whitelist](https://www.XXXXX.com/wp-admin/admin.php?page=advaipbl_settings_page&tab=ip_management&sub-tab=whitelist)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [IniLerm](https://wordpress.org/support/users/inilerm/)
 * (@inilerm)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/undefined-variable-type/#post-18790633)
 * Hi [@martje65](https://wordpress.org/support/users/martje65/),
 * Thank you very much for reporting this.
 * We have reviewed your log and can confirm this is a minor PHP Warning related
   to the notification display logic in the admin area.
 * Is this dangerous? Absolutely not. This is strictly a cosmetic notice that occurs
   after a whitelist action and does not affect the security functionality, the 
   blocking engine, or the integrity of your site in any way.
 * Resolution: We have already patched this in our development version. Since it
   is a low-severity notice (not an error), we will include the fix in our next 
   scheduled maintenance release (v8.7.2), which we expect to deploy within the 
   next 24-48 hours.
 * We appreciate you helping us keep the plugin clear of warnings!
 * Best regards,
 * Advanced IP Blocker Team
 *  Thread Starter [martje65](https://wordpress.org/support/users/martje65/)
 * (@martje65)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/undefined-variable-type/#post-18790641)
 * Thanks for the update [@inilerm](https://wordpress.org/support/users/inilerm/)
   and thanks for the great plugin an great support.
 *  Plugin Author [IniLerm](https://wordpress.org/support/users/inilerm/)
 * (@inilerm)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/undefined-variable-type/#post-18791224)
 * Hi @martje65,
 * Version 8.7.2 is now available and fixed.
 * Thank you.
 *  Thread Starter [martje65](https://wordpress.org/support/users/martje65/)
 * (@martje65)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/undefined-variable-type/#post-18791718)
 * The problem is fixst, thanks [@inilerm](https://wordpress.org/support/users/inilerm/)

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-type%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/advanced-ip-blocker/assets/icon-256x256.png?rev=3320247)
 * [Advanced IP Blocker](https://wordpress.org/plugins/advanced-ip-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-ip-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-ip-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-ip-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-ip-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-ip-blocker/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [martje65](https://wordpress.org/support/users/martje65/)
 * Last activity: [4 months, 2 weeks ago](https://wordpress.org/support/topic/undefined-variable-type/#post-18791718)
 * Status: resolved