Topic Resolution: Resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7306
    AvatarMahewa
    Supported

    Hi Lee,

    After you did your changes, all were working fine, and I could change some images and also add some new Extra Room Features. Suddenly after a while, I just got a new “Fatal Error” on whatever I tried to do. See image…

    Fatal Error

    #7307
    AvatarMahewa
    Supported

    Error

    Fatal error: Uncaught TypeError: Illegal offset type in /var/www/wp-content/plugins/wp-hotel-booking/includes/products/class-wphb-product-room.php:87 Stack trace: #0 /var/www/wp-content/plugins/wp-hotel-booking/includes/room/class-wphb-room.php(58): WPHB_Product_Room_Base->set_data(Object(stdClass)) #1 /var/www/wp-content/plugins/wp-hotel-booking/includes/wphb-core-functions.php(145): WPHB_Room->__construct(9057, Object(stdClass)) #2 /var/www/wp-content/plugins/wp-hotel-booking/includes/cart/class-wphb-cart.php(133): hotel_booking_get_product_class(9057, Object(stdClass)) #3 /var/www/wp-content/plugins/wp-hotel-booking/includes/cart/class-wphb-cart.php(490): WPHB_Cart->get_cart_contents() #4 /var/www/wp-content/plugins/wp-hotel-booking/includes/cart/class-wphb-cart.php(74): WPHB_Cart->refresh() #5 /var/www/wp-includes/class-wp-hook.php(307): WPHB_Cart->wp_loaded(”) #6 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #7 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #8 /var/www/wp-settings.php(620): do_action(‘wp_loaded’) #9 /var/www/wp-config.php(92): require_once(‘/var/www/wp-set…’) #10 /var/www/wp-load.php(50): require_once(‘/var/www/wp-con…’) #11 /var/www/wp-blog-header.php(13): require_once(‘/var/www/wp-loa…’) #12 /var/www/index.php(17): require(‘/var/www/wp-blo…’) #13 {main} thrown in /var/www/wp-content/plugins/wp-hotel-booking/includes/products/class-wphb-product-room.php on line 87
    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

    #7319

    Hi,

    Please tell me where this error occurs, I can’t find it on your website

    #7329
    AvatarMahewa
    Supported

    Thanks Lee,

    Everything works fine today. Yesterday, I couldn’t go to any page without that Error Message showing.
    I think you made some magic…

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.