If Google Analytics for Ubercart is used (with "Latest" tracking code, not "Legacy") without the Taxonomy module, a fatal error is generated. The code does not check on line 137 for the existence of Taxonomy before calling it (as happens correctly on line 106).

Fatal error: Call to undefined function taxonomy_node_get_terms() in /all/modules/ubercart/uc_googleanalytics/uc_googleanalytics.module on line 137

CommentFileSizeAuthor
#1 uc_googleanalytics.patch1.05 KBrszrama

Comments

rszrama’s picture

Assigned: Unassigned » rszrama
Status: Active » Fixed
StatusFileSize
new1.05 KB

Thanks for the report. I fixed this in the 1.x and 2.x versions. It will be in the next release.

I've attached the patch for the 1.x fix.

bweichel’s picture

Impressive turnaround time. Thanks!

Status: Fixed » Closed (fixed)

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