Title: Undefined Index errors
Last modified: May 7, 2024

---

# Undefined Index errors

 *  Resolved [slewisma](https://wordpress.org/support/users/slewisma/)
 * (@slewisma)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-index-errors-26/)
 * Getting lots of the following error in log files when logging is enabled:
 * [07-May-2024 18:03:27 UTC] PHP Notice: Undefined index: api_type in /home/sitename/
   public_html/wp-content/plugins/flexible-shipping-ups/vendor_prefixed/wpdesk/wp-
   ups-shipping-method/src/WooCommerceShipping/Ups/XmlApiNotice.php on line 21
 * Any idea what could be causing this and how to fix it?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-index-errors-26%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Grzegorz Rola](https://wordpress.org/support/users/grola/)
 * (@grola)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-index-errors-26/#post-17739466)
 * Hi [@slewisma](https://wordpress.org/support/users/slewisma/),
 * thanks for reporting. We will fix this in future releases.
 * Best regards
    Grzegorz
    -  This reply was modified 2 years, 1 month ago by [Grzegorz Rola](https://wordpress.org/support/users/grola/).
 *  Plugin Author [Grzegorz Rola](https://wordpress.org/support/users/grola/)
 * (@grola)
 * [2 years ago](https://wordpress.org/support/topic/undefined-index-errors-26/#post-17759144)
 * Hi [@slewisma](https://wordpress.org/support/users/slewisma/),
 * fixed in 2.2.9. I am closing this topic as resolved.
 * Best regards
    Grzegorz

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

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

 * ![](https://ps.w.org/flexible-shipping-ups/assets/icon.svg?rev=2738069)
 * [Shipping Live Rates and Access Points for UPS for WooCommerce](https://wordpress.org/plugins/flexible-shipping-ups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-shipping-ups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-shipping-ups/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-shipping-ups/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Grzegorz Rola](https://wordpress.org/support/users/grola/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/undefined-index-errors-26/#post-17759144)
 * Status: resolved