Add views_php module.
Remove the custom block since we can use views php field instead.