Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
When you go into Views and you haven't configured an APIKey, ga_stats throws a ton of "Undefined index" errors.
Example Screenshot:
http://www.cl.ly/08263L3b1g3c2I0R3r2h
(thanks for the awesome module jec006!)
Comment | File | Size | Author |
---|---|---|---|
#1 | 1185006-error-when-no-apikey-configured.patch | 774 bytes | tirdadc |
Screen shot 2011-06-10 at 1.58.55 PM.png | 125.32 KB | twohlix |
Comments
Comment #1
tirdadc CreditAttribution: tirdadc commentedAlso getting these errors during installation if it's included in the profile. Here's a quick patch.
Comment #2
Robin Millette CreditAttribution: Robin Millette commentedInstead of
if (!$enabled[$k]) ...
orif (!isset($enabled[$k]) || ...)
a simpleif (empty($enabled[$k])) ...
should do the trick.Comment #3
twohlix CreditAttribution: twohlix commentedCommited tirdadc's patch. Thanks. commit 9226788