Resolved PHP errors in TrackingAdapter