Closed pestevez closed 5 years ago
The fields expected in the Analytics configuration (and) may not be present. We should ensure they exist before trying to access them:
and
https://github.com/facebook/facebook-instant-articles-sdk-php/blob/master/src/Facebook/InstantArticles/Transformer/Transformer.php#L620
We are already validating the existence of the fields for the Ads Settings, so we should do the same for Analytics.
The fields expected in the Analytics configuration (
and
) may not be present. We should ensure they exist before trying to access them:https://github.com/facebook/facebook-instant-articles-sdk-php/blob/master/src/Facebook/InstantArticles/Transformer/Transformer.php#L620
We are already validating the existence of the fields for the Ads Settings, so we should do the same for Analytics.