Woobookings and calendar issue errors

Hi there,
I have been having some issues again (also last year) with my bookings calendar not showing for some users. woobookings support have gotten back to me suggesting possible theme conflict.
details below from support. would be great if you could have a look please.

thank you!

woobookings support message as follows…

I did some poking around in the admin dashboard and decided to look at the site’s logs at WooCommerce > Status > Logs . When I did, I noticed that there are several fatal errors on the site related to the theme:

2022-03-21T07:25:49+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Booking::get_items() in /home/kingdomwaves/public_html/wp-content/themes/pro-child/functions.php:30 Stack trace: #0 /home/kingdomwaves/public_html/wp-includes/class-wp-hook.php(307): product_title_in_subject(‘Banna Beach Sum…’, Object(WC_Email_New_Booking)) #1 /home/kingdomwaves/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘Banna Beach Sum…’, Array) #2 /home/kingdomwaves/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(310): apply_filters(‘woocommerce_ema…’, ‘Banna Beach Sum…’, Object(WC_Email_New_Booking)) #3 /home/kingdomwaves/public_html/wp-content/plugins/woocommerce-bookings/includes/emails/class-wc-email-new-booking.php(167): WC_Email->format_string(’{product_title}…’) #4 /home/kingdomwaves/public_html/wp-content/plugins/woocommerce-bookings/includes/emails/class-wc-email-new-booking.php(116): WC_Email_New_Booking->get_subject() #5 /home/kingdomwaves/public_html/wp-includes/class-wp-hook.php(307): WC_Em in /home/kingdomwaves/public_html/wp-content/themes/pro-child/functions.php on line 30

the releavant product link is
https://kingdomwaves.com/product/summer-surf-camp-banna-beach/

Hey @tomleen,

Based on the error message, the issue comes from the Child Theme and not the Parent Theme. Please first switch to the parent theme and check if the issue will persist.

If the issue is fixed using the parent theme, check the codes you’ve inserted in your child theme’s functions.php. If you’re not a developer and want to receive direction as to what exactly is causing the issue, check out our One premium support.

If the issue persists, copy your live site to a staging server and detail how we can replicate the issue. We’ll then post the case in our issue tracker so it will be queued to be investigated by our development team.

Please just note that we cannot guarantee a resolution for plugin conflicts. That said, it’s best that you have an alternative plugin to use.

Thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.