Title: Plugin throws errors when WP_DEBUG set to true
Last modified: June 19, 2018

---

# Plugin throws errors when WP_DEBUG set to true

 *  Resolved [Mike Schinkel](https://wordpress.org/support/users/mikeschinkel/)
 * (@mikeschinkel)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-throws-errors-when-wp_debug-set-to-true-2/)
 * I downloaded your plugin to evaluate and found that it throws many errors when`
   WP_DEBUG` is set to true. Then diving in to fix the errors I found that there
   are some issues with your architecture that are not compatible with later versions
   of PHP such as using the same name as both static and instance variable. You 
   are also still using `&$this`, which is deprecated and should be just `$this`.
 * I am updating the code to fix these issues. Are you interested in a patch to 
   fix these? If yes please join our Slack so we can discuss as I’d rather not post
   my email address: [https://launchpass.com/wplib](https://launchpass.com/wplib)
   Or reach out to me on Twitter as [@mikeschinkel](https://wordpress.org/support/users/mikeschinkel/).

The topic ‘Plugin throws errors when WP_DEBUG set to true’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rentpress_868695.svg)
 * [RentPress](https://wordpress.org/plugins/rentpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rentpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rentpress/)
 * [Active Topics](https://wordpress.org/support/plugin/rentpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rentpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rentpress/reviews/)

## Tags

 * [bugs](https://wordpress.org/support/topic-tag/bugs/)
 * [code quality](https://wordpress.org/support/topic-tag/code-quality/)
 * [wp_debug](https://wordpress.org/support/topic-tag/wp_debug/)

 * 0 replies
 * 1 participant
 * Last reply from: [Mike Schinkel](https://wordpress.org/support/users/mikeschinkel/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/plugin-throws-errors-when-wp_debug-set-to-true-2/)
 * Status: resolved