Themeco Google Analytics Error

Dear Theme.co Team,

Are you aware that this GA extension included in Theme.co returns errors? I ran a debug and it showed that the plugin options.php line 50 caused an error

Any idea what and how/when this is to be solved?

Our goal is to use the least amount of external plugins so would be neat if this could be resoved.

Cheers Carlo

Hey Carlo,

This is a known concern. But, they’re only PHP Notices and along with PHP Warnings they are not errors. It would of course be nice if all notices and warnings will be eliminated but that won’t be feasible due to the fast improvements in PHP. They only notify and warn developers that this should be addressed for future versions of PHP.

The notices are related to the empty fields of the extension.

Filling them would eliminate the notice.

If you’re in a live site, it’s recommended that you turn debugging off or output the errors in an error log mainly for security reasons. You can follow the Example wp-config.php for Debugging at https://codex.wordpress.org/Debugging_in_WordPress

Thanks.

Thanks Christian,

Yes I am aware that it is just notices, and they disappear when the fields are filled with appropriate information.

But the plugin doesn’t work anyway as when you enter and ID it does not show in the html

Cheers Carlo

You’re welcome, Carlo.

Please try logging out and check if the analytics code is outputted. The Google Analytics extension disables the code output if you’re logged in as admin.

If you’re using a caching plugin, you might need to clear all caches first.

Thanks.

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