I was running a PHP test development server on localhost and I stumbled across this warning that breaks the site entirely, the error is
PHP Warning: Message: strpos(): Empty needle
and the snippet causing this error is
if ($CI->config->item('csrf_protection') === TRUE AND ! (strpos($action, $CI->config->base_url()) === FALSE OR strpos($form, 'method="get"')))
I tried googling for the error but none gave me a solid answer about it.