Issue with PHP 8+, Memcached and Hotel Booking by MotoPress

Hello, I report that your plugin is causing problems with Hotel Booking from MotoPress.

I recently upgraded PHP to version 8.2.17, and all websites hosted on SiteGround have problems when Memcached is activated where Hotel Booking is installed.
This is an example of an error I repeatedly find on the php_error_log file:

#1 /home/customer/www/mydomain/public_html/wp-content/plugins/motopress-hotel-booking/includes/core/core-api.php(265): MPHB\Core\RoomAvailabilityHelper::getRoomTypeAvailabilityStatus(354, Object(DateTime), false)

I contacted MotoPress support, who informed me that the problem was due to Speed Optimizer and advised me to report it to SiteGround.

I don’t know whether this forum is the right channel for this type of communication; if so, let me know where I should report the bug.

Thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer