Title: Undefined Index PHP Error
Last modified: October 10, 2021

---

# Undefined Index PHP Error

 *  Resolved [michaelbroughton](https://wordpress.org/support/users/michaelbroughton/)
 * (@michaelbroughton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-php-error-2/)
 * Hi,
    Great plugin – really love it. Just letting you know that I am getting the
   following php error if you could take a look into it. Thanks!
 * PHP Notice: Undefined index: post_type in /sites/site/files/wp-content/plugins/
   woo-order-splitter/inc/functions.php on line 4703

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

 *  [jonathan972](https://wordpress.org/support/users/jonathan972/)
 * (@jonathan972)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-php-error-2/#post-14954775)
 * Hi,
 * We will resolve it in upcoming versions if found.
 * Thanks
    -  This reply was modified 4 years, 7 months ago by [jonathan972](https://wordpress.org/support/users/jonathan972/).
 *  [jonathan972](https://wordpress.org/support/users/jonathan972/)
 * (@jonathan972)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-php-error-2/#post-14954780)
 * Please mention the version you are using, we could not find this.
 *  Thread Starter [michaelbroughton](https://wordpress.org/support/users/michaelbroughton/)
 * (@michaelbroughton)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-php-error-2/#post-14956301)
 * Thanks for the prompt response. I am using the following versions:
    Wordpress
   5.8.1 WooCommerce 5.7.1 Order Splitter 4.2.2
 * Many thanks in advance, and let me know if you need anything else!
 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-php-error-2/#post-14957713)
 * [@michaelbroughton](https://wordpress.org/support/users/michaelbroughton/) please
   update the version and let us know if line number changed for this warning? Actually
   post_type related code is not found on the line number you mentioned. Kindly 
   give it another try.

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

The topic ‘Undefined Index PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/woo-order-splitter/assets/icon-256x256.png?rev=2640211)
 * [Order Splitter for WooCommerce](https://wordpress.org/plugins/woo-order-splitter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-order-splitter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-order-splitter/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-order-splitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-order-splitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-order-splitter/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-php-error-2/#post-14957713)
 * Status: resolved