Title: PHP error when activating WooCommerce settings
Last modified: October 22, 2018

---

# PHP error when activating WooCommerce settings

 *  [irado](https://wordpress.org/support/users/irado/)
 * (@irado)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-error-when-activating-woocommerce-settings/)
 * Hi,
 * After activating WooCommerce option in the settings, I get php errors (see screenshot).
   
   Both WP HotelBooking (1.9.7.5) and WooCommerce (3.4.7) are up to date. Just out
   of curiosity, I’ve tried with an older version of WPHB (1.9.4) and it’s working
   fine (However with this version, no room package/option is showing when booking
   a room)
 * Any idea what’s causing the php error?
 * Many thanks in advance,
    john
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-when-activating-woocommerce-settings%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘PHP error when activating WooCommerce settings’ is closed to new replies.

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

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [irado](https://wordpress.org/support/users/irado/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/php-error-when-activating-woocommerce-settings/)
 * Status: not resolved