Change local environment to error_reporting() level E_All; and fix the errors that popped after this change.