HostBlocker WordPress Plugin fix for Warning: eregi() [function.eregi]: REG_EMPTY

The issue with this plugin is the PHP function ‘eregi’ which has been deprecated, if you open the plguin file blocker.php, go to line 61, and change ‘eregi’ to ‘stristr’ this will fix the issue.

see http://php.net/manual/en/function.eregi.php

Leave a Reply