Libnamic / Omeka-S-GoogleAnalytics

Includes simple support for Google Analytics in Omeka S
https://digitalhumanities.libnamic.com
MIT License
3 stars 4 forks source link

additional_snippet error #9

Open tdombos opened 9 months ago

tdombos commented 9 months ago

The section where 'additional_snippet' is set in the config form is commented out, but the setting value is referenced on line 316 and 322 in the Module.php leading to the following error message:

Undefined index: additional_snippet in (...) /modules/GoogleAnalytics/Module.php on line 316 Undefined index: additional_snippet in (...) /modules/GoogleAnalytics/Module.php on line 322

jsedgwickcpl commented 9 months ago

Our site's error log also has thousands of similar errors - "PHP Warning: Undefined array key "additional_snippet" in /home/chattlib/collections.chattlibrary.org/modules/GoogleAnalytics/Module.php on line 313"

kerri-hicks commented 8 months ago

Same here...looks like they're being fired off every few minutes. Omeka S, latest production build.

Undefined array key "additional_snippet" in .../modules/GoogleAnalytics/Module.php"

jmm0177 commented 8 months ago

I'm having the same issue.