Parts of my website are in ERROR

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1821731

    Gite en Vendée Marais Poitevin

    the accomodations pages of my website, build with Elementor and “Hotel Booking & Elementor Integration”get an error

    when I deactivate the “Hotel Booking & Elementor Integration”, everythings works fine but ,off course, without the informations given by the plug-in

    WordPress version 6.9fr
    Thème actif : Booklium Child (version 0.0.1)
    Hotel Booking (version 5.3.0)
    Hotel Booking & Elementor Integration (Version 1.2.1)
    PHP version 8.4

    Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 124 du fichier /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/template-functions.php. Message d’erreur : Uncaught Error: Call to a member function getTotalCapacity() on null in /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/template-functions.php:124
    Stack trace:
    #0 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/templates/loop-room-type/attributes/total-capacity.php(9): mphb_tmpl_get_room_type_total_capacity()
    #1 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/functions.php(36): require(‘/homepages/39/d…’)
    #2 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/functions.php(28): mphb_load_template()
    #3 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/includes/views/room-type-view.php(71): mphb_get_template_part()
    #4 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(324): MPHB\Views\RoomTypeView::renderTotalCapacity()
    #5 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #6 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/plugin.php(517): WP_Hook->do_action()
    #7 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/themes/booklium/hotel-booking/shortcodes/room/room-content.php(70): do_action()
    #8 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/functions.php(36): require(‘/homepages/39/d…’)
    #9 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/functions.php(28): mphb_load_template()
    #10 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/includes/shortcodes/room-shortcode.php(123): mphb_get_template_part()
    #11 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/includes/shortcodes/room-shortcode.php(88): MPHB\Shortcodes\RoomShortcode->renderRoom()
    #12 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/motopress-hotel-booking/includes/shortcodes/room-shortcode.php(67): MPHB\Shortcodes\RoomShortcode->mainLoop()
    #13 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/mphb-elementor/widgets/room-widget.php(164): MPHB\Shortcodes\RoomShortcode->render()
    #14 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): mphbe\widgets\RoomWidget->render()
    #15 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()
    #16 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/includes/base/widget-base.php(757): Elementor\Widget_Base->render_content()
    #17 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/includes/base/element-base.php(629): Elementor\Widget_Base->get_raw_data()
    #18 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/core/base/document.php(1087): Elementor\Element_Base->get_raw_data()
    #19 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/core/base/document.php(735): Elementor\Core\Base\Document->get_elements_raw_data()
    #20 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/includes/base/controls-stack.php(1071): Elementor\Core\Base\Document->get_initial_config()
    #21 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(40): Elementor\Controls_Stack->get_config()
    #22 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(171): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()
    #23 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/core/editor/editor.php(355): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->enqueue_scripts()
    #24 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts()
    #25 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #26 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/plugin.php(517): WP_Hook->do_action()
    #27 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/script-loader.php(2299): do_action()
    #28 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
    #29 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #30 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/plugin.php(517): WP_Hook->do_action()
    #31 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/general-template.php(3192): do_action()
    #32 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(35): wp_head()
    #33 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(221): include(‘/homepages/39/d…’)
    #34 /homepages/39/d296665496/htdocs/lacroixliaud/wp-content/plugins/elementor/core/editor/editor.php(160): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->print_root_template()
    #35 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init()
    #36 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #37 /homepages/39/d296665496/htdocs/lacroixliaud/wp-includes/plugin.php(517): WP_Hook->do_action()
    #38 /homepages/39/d296665496/htdocs/lacroixliaud/wp-admin/admin.php(420): do_action()
    #39 /homepages/39/d296665496/htdocs/lacroixliaud/wp-admin/post.php(12): require_once(‘/homepages/39/d…’)
    #40 {main}
    thrown

    #1821769

    I am also receiving errors and can’t edit my properties with Elementor edit:
    WordPress has 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,
    Hotel Booking & Elementor Integration.

    I think the widget needs to be looked at since the latest Hotel Booking update

    #1821860

    in my case, the Hotel Booking update (Version 5.3.3) seems to solve the problem

    #1821883

    Yes, the issue should be fixed by updating to the 5.3.3 version. Let me know if you still have any issues with the current latest version

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.