We currently use the Google Analytics Reports API in a custom module. I just updated to the latest release of the API and Reports modules to resolve issues with OAuth v1 being disabled by Google. We do not plan to use the Views sub-module yet the Reports API calls a function which is part of that module.

Error: Call to undefined function google_analytics_reports_views_get_fields() in sites/all/modules/google_analytics_reports/google_analytics_reports_api/google_analytics_reports_api.lib.inc, line 466

If the Reports API needs to call functions from another module it should check to see if the module is enabled first. For now I will enable the Views sub-module to get things working.

Comments

Plazik’s picture

Status: Active » Fixed

Thank you for report.
Fixed in #2488754: OAuth & Charts, Integration.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.