Title: The plugin generates errors
Last modified: August 20, 2016

---

# The plugin generates errors

 *  [jfoulquier](https://wordpress.org/support/users/jfoulquier/)
 * (@jfoulquier)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/the-plugin-generates-errors/)
 * I’m using the 4.1 version of the plugin. But it does generates errors. See below:
 * Error: [2048] Non-static method GA_Filter::ga_get_domain() should not be called
   statically
    File: /home/myserver/www/wp-content/plugins/google-analytics-for-
   wordpress/googleanalytics.php Line: 1066
 * Type d’erreur inconnu : [2048] Non-static method GA_Filter::ga_get_domain() should
   not be called statically

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [christogeretz](https://wordpress.org/support/users/christogeretz/)
 * (@christogeretz)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/the-plugin-generates-errors/#post-2155153)
 * Where did you put the tracking code?
 *  Thread Starter [jfoulquier](https://wordpress.org/support/users/jfoulquier/)
 * (@jfoulquier)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/the-plugin-generates-errors/#post-2155227)
 * Nowhere 🙂
    I just catch PHP errors with the set_error_handler function ([http://fr2.php.net/manual/fr/function.set-error-handler.php](http://fr2.php.net/manual/fr/function.set-error-handler.php)).
   Then I write each error on a log file.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘The plugin generates errors’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [jfoulquier](https://wordpress.org/support/users/jfoulquier/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/the-plugin-generates-errors/#post-2155227)
 * Status: not resolved