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!)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tirdadc’s picture

Status: Active » Needs review
FileSize
774 bytes

Also getting these errors during installation if it's included in the profile. Here's a quick patch.

Robin Millette’s picture

Instead of if (!$enabled[$k]) ... or if (!isset($enabled[$k]) || ...) a simple if (empty($enabled[$k])) ... should do the trick.

twohlix’s picture

Status: Needs review » Fixed

Commited tirdadc's patch. Thanks. commit 9226788

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.