$config->get('codesnippet.create') is null after installation

Created on 5 February 2020, almost 5 years ago
Updated 6 July 2023, over 1 year ago

I just installed and enabled the module and cleared the cached. When I enter /admin/config/system/google-analytics, I get following error:

The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\google_analytics\Form\GoogleAnalyticsAdminSettingsForm::getNameValueString() must be of the type array, null given, called in /var/www/html/modules/contrib/google_analytics/src/Form/GoogleAnalyticsAdminSettingsForm.php on line 542 in Drupal\google_analytics\Form\GoogleAnalyticsAdminSettingsForm->getNameValueString() (line 965 of modules/contrib/google_analytics/src/Form/GoogleAnalyticsAdminSettingsForm.php).

Drupal\google_analytics\Form\GoogleAnalyticsAdminSettingsForm->getNameValueString(NULL) (Line: 542)

Do I miss something?

πŸ› Bug report
Status

Closed: outdated

Version

2.4

Component

Code

Created by

πŸ‡©πŸ‡°Denmark nicklasmf

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States japerry KVUO

    With the sunset of legacy google analytics, the 8.x-2.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.

Production build 0.71.5 2024