Wphotel booking causing critical error,
Tagged: Thankyou
-
AuthorPosts
-
-
March 7, 2022 at 8:26 PM #8191653riversParticipant
Purchase code 1810630f-dd0c-453a-8ae6-9af38e50514c
Hi.
Having trouble with WP-hotel booking plugin at woocommerce checkout page.
If the woocommerce shopping cart includes rooms booked through the wp-hotel-booking plugin then the checkout has an error with an exclamation and does not process payment. however it does record the reservation on hold.If cart only has products from woo commerce products then the checkout works fine.
Each time the hotel plugin is used the website critical error occurs.I started getting a critical error screen and received a critical error email from WordPress. Saying the wp-hotel-booking plugin has a problem.
Can you help me fix this please
Below is the WordPress critical error email.
Hi! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, WP Hotel Booking. First, visit your website (https://www.3riversdominica.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.3riversdominica.com/wp-login.php) and check for any visible issues. Please contact your host for assistance with investigating this issue further. If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further. https://www.3riversdominica.com/wp-login.php?action=enter_recovery_mode&rm_token=6wRzX3S0AKpx2OvguUesJ2&rm_key=NjAIzFa1q2pieFrgK6Msup To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.9 Current theme: Hotel WP (version 2.0.0) Current plugin: WP Hotel Booking (version 1.10.5) PHP version 8.0.15 Error Details ============= An error of type E_ERROR was caused in line 87 of the file /home4/jemwinst/public_html/hotelsite/wp-content/plugins/wp-hotel-booking/includes/products/class-wphb-product-room.php. Error message: Uncaught TypeError: Illegal offset type in /home4/jemwinst/public_html/hotelsite/wp-content/plugins/wp-hotel-booking/includes/products/class-wphb-product-room.php:87 Stack trace: #0 /home4/jemwinst/public_html/hotelsite/wp-content/plugins/wp-hotel-booking/includes/room/class-wphb-room.php(58): WPHB_Product_Room_Base->set_data(Object(stdClass)) #1 /home4/jemwinst/public_html/hotelsite/wp-content/plugins/wp-hotel-booking/includes/wphb-core-functions.php(146): WPHB_Room->__construct(3815, Object(stdClass)) #2 /home4/jemwinst/public_html/hotelsite/wp-content/plugins/wp-hotel-booking/includes/cart/class-wphb-cart.php(133): hotel_booking_get_product_class(3815, Object(stdClass)) #3 /home4/jemwinst/public_html/hotelsite/wp-content/plugins/wp-hotel-booking/includes/cart/class-wphb-cart.php(490): WPHB_Cart->get_cart_contents() #4 /home4/jemwinst/public_html/hotelsite/wp-content/plugins/wp-hotel-booking/includes/cart/class-wphb-cart.php(74): WPHB_Cart->refresh() #5 /home4/jemwinst/public_html/hotelsite/wp-includes/class-wp-hook.php(307): WPHB_Cart->wp_loaded(”) #6 /home4/jemwinst/public_html/hotelsite/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #7 /home4/jemwinst/public_html/hotelsite/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #8 /home4/jemwinst/public_html/hotelsite/wp-settings.php(609): do_action(‘wp_loaded’) #9 /home4/jemwinst/public_html/hotelsite/wp-config.php(87): require_once(‘/home4/jemwinst…’) #10 /home4/jemwinst/public_html/hotelsite/wp-load.php(50): require_once(‘/home4/jemwinst…’) #11 /home4/jemwinst/public_html/hotelsite/wp-login.php(12): require(‘/home4/jemwinst…’) #12 {main} thrown
-
Due to Privacy&Security matters, Replies to this topic are hidden and can only be seen by our supporters or the topic owner.
Please create a new support topic for your issues.
You can check how to Create an account and Create a Support topic here
-
-
AuthorPosts
You must be logged in to reply to this topic. You can click here