I got the following fatal error after enabling the google_analytics_views module and creating a new View using the "Google Analytics" Query type.
PHP Fatal error: Call to undefined function google_analytics_api_report_data() in /Users/jonathan/Sites/fearnet/drupal/sites/all/modules/contrib/google_analytics_reports/google_analytics_views/plugins/google_analytics_plugin_query_google_analytics.inc on line 225, referer: http://fearnet.jojonaloha.mtmdevel.com/admin/structure/views/view/profil...
I had enabled to module from drush:
"$ drush pm-enable google_analytics_views
The following extensions will be enabled: google_analytics_views
Do you really want to continue? (y/n): y
google_analytics_views was enabled successfully."
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | google_analytics_views-google_analytics_api_dependency-1593088-1.patch | 554 bytes | jojonaloha |
Comments
Comment #1
jojonaloha commentedAttached is a patch which adds a dependency to google_analytics_api to resolve the fatal error.
Comment #2
jojonaloha commentedComment #3
jojonaloha commented