Hotel Booking Lite 4.4.3

Does Hotel Booking Lite work with WordPress 6.0.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
3PHP fatal errors
10PHP warnings
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.0.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/motopress-hotel-booking-lite/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=motopress-hotel-booking-lite%2Fmotopress-hotel-booking.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=motopress-hotel-booking-lite%2Fmotopress-hotel-booking.php&plugin_status=all&paged=1&s&_wpnonce=149ee34efe
Aspect after-activation
HTTP status 200
Load time 0.378 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PO File
PHP
Language % Lines of code Comment lines Files
PO File62.1%105,74681,51026
PHP28.7%48,93016,184461
JavaScript5.3%9,1111,4397
CSS3.7%6,27966520
XML0.1%11491
Markdown0.1%10401
JSON0.0%1801
Total 170,302 99,807 517

PHP Code Analysis | More results »

Lines of code 46,355
Total complexity 8,994
Median class complexity 15.5
Median method complexity 1.0
Most complex class MPHB\BookingsCalendar
Most complex function MPHB\Views\BookingView::generatePriceBreakdownArray()
Classes 352
Methods 3,414
Functions 173

Additions

No data available.

PHP Error Log 38 lines

[20-Oct-2022 14:44:09 UTC] PHP Fatal error:  Uncaught Error: Class 'MPHB\Core\CoreAPI' not found in /wp-content/plugins/motopress-hotel-booking-lite/plugin.php:362
Stack trace:
#0 /wp-content/plugins/motopress-hotel-booking-lite/plugin.php(299): HotelBookingPlugin->afterConstruct()
#1 /wp-content/plugins/motopress-hotel-booking-lite/plugin.php(1670): HotelBookingPlugin::getInstance()
#2 /wp-content/plugins/motopress-hotel-booking-lite/motopress-hotel-booking.php(28): require('/opt/bitnami/ap...')
#3 /wp-admin/includes/plugin.php(2313): include_once('/opt/bitnami/ap...')
#4 /wp-admin/includes/plugin.php(661): plugin_sandbox_scrape()
#5 /wp-admin/plugins.php(58): activate_plugin()
#6 {main}
  thrown in /wp-content/plugins/motopress-hotel-booking-lite/plugin.php on line 362
[20-Oct-2022 14:44:09 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 76
[20-Oct-2022 14:44:09 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 127
[20-Oct-2022 14:44:10 UTC] PHP Fatal error:  Uncaught Error: Class 'MPHB\Core\CoreAPI' not found in /wp-content/plugins/motopress-hotel-booking-lite/plugin.php:362
Stack trace:
#0 /wp-content/plugins/motopress-hotel-booking-lite/plugin.php(299): HotelBookingPlugin->afterConstruct()
#1 /wp-content/plugins/motopress-hotel-booking-lite/plugin.php(1670): HotelBookingPlugin::getInstance()
#2 /wp-content/plugins/motopress-hotel-booking-lite/motopress-hotel-booking.php(28): require('/opt/bitnami/ap...')
#3 /wp-admin/includes/plugin.php(2313): include_once('/opt/bitnami/ap...')
#4 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#5 {main}
  thrown in /wp-content/plugins/motopress-hotel-booking-lite/plugin.php on line 362
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 76
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 77
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 127
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/functions.php:5277) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 127
[20-Oct-2022 14:44:10 UTC] PHP Fatal error:  Uncaught Error: Class 'MPHB\Core\CoreAPI' not found in /wp-content/plugins/motopress-hotel-booking-lite/plugin.php:362
Stack trace:
#0 /wp-content/plugins/motopress-hotel-booking-lite/plugin.php(299): HotelBookingPlugin->afterConstruct()
#1 /wp-content/plugins/motopress-hotel-booking-lite/plugin.php(1670): HotelBookingPlugin::getInstance()
#2 /wp-content/plugins/motopress-hotel-booking-lite/motopress-hotel-booking.php(28): require('/opt/bitnami/ap...')
#3 /wp-admin/includes/plugin.php(2313): include_once('/opt/bitnami/ap...')
#4 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#5 {main}
  thrown in /wp-content/plugins/motopress-hotel-booking-lite/plugin.php on line 362
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 76
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 77
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Use of undefined constant WP_SESSION_COOKIE - assumed 'WP_SESSION_COOKIE' (this will throw an Error in a future version of PHP) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 127
[20-Oct-2022 14:44:10 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/functions.php:5277) in /wp-content/plugins/motopress-hotel-booking-lite/includes/libraries/wp-session-manager/class-wp-session.php on line 127
See also: All tests for this plugin, How to Hide Hotel Booking Lite Admin Menus and Meta Boxes