PHP Error encountered when running Command Line using CodeIgniter 2.xx
https://github.com/EllisLab/CodeIgniter/issues/1890
Just replace $_SERVER['REMOTE_ADDR'] with $this->server('remote_addr') at the line that generates the notice. - modify /system/core/Input.php line 351