Title: Debug errors
Last modified: August 21, 2016

---

# Debug errors

 *  [Mayeenul Islam](https://wordpress.org/support/users/wzislam/)
 * (@wzislam)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/debug-errors-6/)
 * I, as a WP Developer, [with WP_DEBUG true] activated the plugin and the first
   notice appeared:
 * > Notice: Constant PLUGINDIR already defined in …\wp-content\plugins\pricing-
   > table**\pricing-table.php on line 22**
 * I clicked on the “Pricing Table” post type collection, notice appeared:
 * > Notice: Trying to get property of non-object in …\wp-content\plugins\pricing-
   > table**\pricing-table.php on line 154**
 * I clicked on the “Add New” sub menu, notice appeared:
 * > Notice: Undefined index: features in …\wp-content\plugins\pricing-table**\modules\
   > metabox.php on line 40**
 * and
 * > Notice: Undefined index: features in …\wp-content\plugins\pricing-table**\modules\
   > metabox.php on line 42**
 * In new post addition page, in Packages/Features metabox:
 * > Notice: Uninitialized string offset: 0 in …\wp-content\plugins\pricing-table**\
   > tpls\metabox-feature-options.php on line 94**
 * ————————-
 * I din’t find any usage of the constant `PLUGINDIR` in your plugin, and I think
   it’s conflicting with any other built-in constant of WordPress.
 * And as you are running a premium version of the plugin, you may need to concern
   about it. Thank you.
 * [https://wordpress.org/plugins/pricing-table/](https://wordpress.org/plugins/pricing-table/)

The topic ‘Debug errors’ is closed to new replies.

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

## Tags

 * [debug errors](https://wordpress.org/support/topic-tag/debug-errors/)

 * 0 replies
 * 1 participant
 * Last reply from: [Mayeenul Islam](https://wordpress.org/support/users/wzislam/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/debug-errors-6/)
 * Status: not resolved