Title: Your Plugin Breaks other Plugin Code
Last modified: August 22, 2016

---

# Your Plugin Breaks other Plugin Code

 *  [webdesignby](https://wordpress.org/support/users/webdesignby/)
 * (@webdesignby)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/your-plugin-breaks-other-plugin-code/)
 * Hi, I am a developer and was troubleshooting a plugin I am developing. I have
   a simple line in my plugin:
 * [code]
    require_once( 'config.php' ); [/code]
 * That wasn’t executing correctly because of the code I found in your Plugin
 * [code]
    // hack around with the include paths a bit so the library 'just works'
   set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path()); [/
   code]
 * Keep in mind this “Hack” affects all other code in WordPress and isn’t limited
   to your plugin. Please address this so your plugin doesn’t break other WordPress
   code.
 * [https://wordpress.org/plugins/google-analytics-for-wordpress/](https://wordpress.org/plugins/google-analytics-for-wordpress/)

The topic ‘Your Plugin Breaks other Plugin Code’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [webdesignby](https://wordpress.org/support/users/webdesignby/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/your-plugin-breaks-other-plugin-code/)
 * Status: not resolved