A fix to address the compatibility issue between the WordPress plugin Smallerik and PHP 5.4. I am in no way associated with the plugin owner and am not responsible for issues arising from the use of this code.