Resolve PHP notices.