Accessory

Archived
Forum
(read-only)

CP Analytics

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Derek Hogue

     

PHP error, cp_analytics_model.php line 56

Support (Resolved)

adlur
adlur

Good morning, I have recently updated to version 2.2.1. I removed all cp_analytic folders, cleared the cache data, then installed. The module settings and authorization worked fine, but now I receive the following error when loading a page which has been assigned to show the analytics:

Fatal error: Call to undefined function ee() in [removed]/expressionengine/third_party/cp_analytics/models/cp_analytics_model.php on line 56

Please advise—

Thanks!

Derek Hogue
# 1
Developer
Derek Hogue

Ah, you must be running an old version of EE (pre-2.6). Looks like I let some ee() super objects slip in there.

This is fixed in version 2.2.2.

adlur
# 2
adlur

Thanks!!