Removing print_r call from page template, throwing error