Title: [Plugin: Post Types Order] Undefined Variables
Last modified: August 20, 2016

---

# [Plugin: Post Types Order] Undefined Variables

 *  Resolved [Justin Korn](https://wordpress.org/support/users/themonko/)
 * (@themonko)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-post-types-order-undefined-variables/)
 * Have used this plugin on a few sites and really like the ease of use.
 * On the last site I installed it, I had WP_DEBUG enabled and noticed this plugin
   was spitting out a bunch of undefined errors:
 *     ```
       Notice: Undefined variable: in_same_cat in ...\wp-content\plugins\post-types-order\post-types-order.php on line 155
   
       Notice: Undefined variable: posts_in_ex_cats_sql in ...\wp-content\plugins\post-types-order\post-types-order.php on line 203
   
       Notice: Undefined variable: in_same_cat in ...\wp-content\plugins\post-types-order\post-types-order.php on line 229
   
       Notice: Undefined variable: posts_in_ex_cats_sql in ...\wp-content\plugins\post-types-order\post-types-order.php on line 278
       ```
   
 * Thought I’d bring it up as I do often use WP_DEBUG while developing to ensure
   clean deployments. Anything with errors eventually gets replaced and/or fixed.
 * Let me know if you’d like me to test anything. Thanks for the great plugin!
 * [http://wordpress.org/extend/plugins/post-types-order/](http://wordpress.org/extend/plugins/post-types-order/)

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

 *  [ksnyde](https://wordpress.org/support/users/ksnyde/)
 * (@ksnyde)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-types-order-undefined-variables/#post-2611796)
 * I am getting the same thing. Have you gotten any response Justin?
 *  Thread Starter [Justin Korn](https://wordpress.org/support/users/themonko/)
 * (@themonko)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-types-order-undefined-variables/#post-2611797)
 * No, nothing. Time to find another alternative (or dig in and fix it).
 *  Plugin Author [nsp-code](https://wordpress.org/support/users/nsp-code/)
 * (@nsp-code)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-types-order-undefined-variables/#post-2611798)
 * Sorry guys, I’ll try to make the fix and release an update in the next week or
   maybe sooner.

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

The topic ‘[Plugin: Post Types Order] Undefined Variables’ is closed to new replies.

 * ![](https://ps.w.org/post-types-order/assets/icon-128x128.png?rev=1226428)
 * [Post Types Order](https://wordpress.org/plugins/post-types-order/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-types-order/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-types-order/)
 * [Active Topics](https://wordpress.org/support/plugin/post-types-order/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-types-order/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-types-order/reviews/)

## Tags

 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 3 replies
 * 3 participants
 * Last reply from: [nsp-code](https://wordpress.org/support/users/nsp-code/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-types-order-undefined-variables/#post-2611798)
 * Status: resolved