Title: PHP Notices (Undefined Index / Variable)
Last modified: March 2, 2018

---

# PHP Notices (Undefined Index / Variable)

 *  Resolved [awilmsmeier](https://wordpress.org/support/users/awilmsmeier/)
 * (@awilmsmeier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-notices-undefined-index-variable/)
 * Hi,
    Just noticed the following PHP Messages in Version 1.42. I did not notice
   any issues with bookings, just the messages…
 * [02-Mar-2018 19:28:53 UTC] PHP Notice: Undefined index: _bookacti_options in /
   home/andrea47/www/sandbox.peoplesfactory.com/wp-content/plugins/booking-activities/
   controller/controller-woocommerce-frontend.php on line 339
    [02-Mar-2018 19:28:
   53 UTC] PHP Notice: Undefined variable: state in /home/andrea47/www/sandbox.peoplesfactory.
   com/wp-content/plugins/booking-activities/controller/controller-woocommerce-frontend.
   php on line 340
 * Sorry, I can’t remember what I did when these messages showed up.
    Hope this 
   helps, Andreas

Viewing 1 replies (of 1 total)

 *  Plugin Author [Booking Activities Team](https://wordpress.org/support/users/bookingactivities/)
 * (@bookingactivities)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-notices-undefined-index-variable/#post-10036453)
 * Hello Andreas,
 * Thank you very much for this report.
    It was because an order containing a non-
   booking item has been updated.
 * I have fixed it, it will be part of the next release.
 * Regards,
    Yoan Cutillas

Viewing 1 replies (of 1 total)

The topic ‘PHP Notices (Undefined Index / Variable)’ is closed to new replies.

 * ![](https://ps.w.org/booking-activities/assets/icon-256x256.png?rev=1709970)
 * [Booking Activities](https://wordpress.org/plugins/booking-activities/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-activities/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-activities/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-activities/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-activities/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-activities/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)

 * 1 reply
 * 2 participants
 * Last reply from: [Booking Activities Team](https://wordpress.org/support/users/bookingactivities/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php-notices-undefined-index-variable/#post-10036453)
 * Status: resolved