Solution for Undefined index: tco_google_analytics_code

Hi there,

I just discovered this issue today, and after some Googling, i came to those 2 forum posts (https://theme.co/apex/forum/t/issue-with-google-analytics-extension/40756) & (https://theme.co/apex/forum/t/themeco-google-analytics-plugin-error/45432) about the same issue.
The only solution you provide is to disable WP_DEBUG.

There is a difference between WP_DEBUG & php notices & errors.
And just hiding the issue does not solve it.

So i decided to do some digging and found that the issue is in your’e plugin on rule 50, just like the php notice says.

You asking for a key from the options array that does not exists.

Could you please fix this?
Before you answer the default “please update” & “read here how to update”, we have the latests version installed allways.

Hi Matth,

Thanks for writing in! We really understand your concerns and I have informed this again to our issue tracker.

In the meantime, please check the following post (https://theme.co/apex/forum/t/themeco-google-analytics-error/49771/2?u=mldarshana) to see more information about the PHP notices.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.