Closed (fixed)
Project:
Google Analytics Reports
Version:
8.x-3.0-beta2
Component:
API module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2019 at 16:15 UTC
Updated:
17 Jul 2019 at 15:39 UTC
Jump to comment: Most recent, Most recent file



Comments
Comment #2
mmagas5 commentedI'm having this issue as well.
I installed and enabled the Google Analytics Reports and Google Analytics Reports API modules, created the credentials, and configured the module with the client ID and secret. The configuration page correctly pulls the profiles from my Google Analytics account.
From a related issue raised under the 7.x branch, https://www.drupal.org/project/google_analytics_reports/issues/2968177, I tried the suggestion of clicking the "Import Fields" button, but nothing happens.
My site currently runs Drupal 8.6.
Comment #3
fakir22 commentedSame problem for me. The "Import Fields" button did not worked for me neither.
Still looking for a solution.
Comment #4
KennyHolmes commentedI am having exactly the same problem. I am new to drupal 8 and only have limited web admin experience. Any advice on where to start fault finding will be appreciated.
Comment #5
mmagas5 commentedI was able to find the issue and work around it. All of the Google Analytics Report views are now working properly.
The issue is coming from the following line in the "importFields() function in the file "/src/GoogleAnalyticsReports.php":
Removing this IF statement allows the Import Fields button to work.
Comment #6
rajab natshahThank you Johannes for reporting, and mmagas5 for following up
Not sure if you had a look at
#2932010: Fixed an issue to Not to check Updates or import Fields while the Drupal site MAINTENANCE_MODE is in Install or Update, which generates issues of RuntimeException: Recursive router rebuild detected.
Have you been installing or updating in the time of import of fields?
Comment #7
rajab natshahThank you mmagas5 for the hint
I confirm the issue
the condition should be changed to
Comment #8
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #11
rajab natshahComment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshahComment #16
rajab natshahComment #17
rajab natshahComment #18
rajab natshah