4.7.31 CiviVolunteer Issue
This was reported recently, but I haven't had a moment to get into it. It should be a trivial fix, but you could also resolve this by turning down your PHP error reporting. See this relevant PHP documentation. It is inadvisable to run production sites with display_errors enabled.