- πΊπΈUnited States japerry KVUO
This part of the code is unfortunately a bit brittle. However, it was fixed/improved in the latest Google tag (2.0.3) module.
When clicking the 'Add another ID' button in the settings form, an AJAX error is reported: 'Undefined variable: accounts in /(...)/google_analytics/src/Form/GoogleAnalyticsAdminSettingsForm.php on line 145'.
Attached patch assigns $accounts variable outside the $id_count === NULL check. Also, using the (string) cast for $accounts[$i] if it's not set reports an 'Undefined offset' notice if $accounts is empty (but $id_count is force-set to 1) - even with the null coalescing operator. Patch expands this usage to include an isset() check.
Closed: won't fix
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This part of the code is unfortunately a bit brittle. However, it was fixed/improved in the latest Google tag (2.0.3) module.