Hotel Booking Lite 3.9.13

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

Summary

Errors
1PHP notices
4PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 2.56 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.122 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.1
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 33

Plugins ‹ Test site — WordPress

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

Accommodation

Page screenshot: Accommodation
URL /wp-admin/edit.php?post_type=mphb_room_type
Aspect menu-item
HTTP status 200
Load time 0.269 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Accommodation → Add Accommodation Type

Page screenshot: Accommodation → Add Accommodation Type
URL /wp-admin/post-new.php?post_type=mphb_room_type
Aspect menu-item
HTTP status 200
Load time 1.245 s
Memory usage 5.77 MiB
JS errors None
Resource errors None

Accommodation → Categories

Page screenshot: Accommodation → Categories
URL /wp-admin/edit-tags.php?taxonomy=mphb_room_type_category&post_type=mphb_room_type
Aspect menu-item
HTTP status 200
Load time 0.249 s
Memory usage 5.59 MiB
JS errors None
Resource errors None

Accommodation → Tags

Page screenshot: Accommodation → Tags
URL /wp-admin/edit-tags.php?taxonomy=mphb_room_type_tag&post_type=mphb_room_type
Aspect menu-item
HTTP status 200
Load time 0.233 s
Memory usage 5.59 MiB
JS errors None
Resource errors None

Accommodation → Amenities

Page screenshot: Accommodation → Amenities
URL /wp-admin/edit-tags.php?taxonomy=mphb_room_type_facility&post_type=mphb_room_type
Aspect menu-item
HTTP status 200
Load time 0.207 s
Memory usage 5.59 MiB
JS errors None
Resource errors None

Accommodation → Attributes

Page screenshot: Accommodation → Attributes
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_room_attribute
Aspect menu-item
HTTP status 200
Load time 0.195 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Accommodation → Seasons

Page screenshot: Accommodation → Seasons
URL /wp-admin/edit.php?post_type=mphb_season
Aspect menu-item
HTTP status 200
Load time 0.198 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Accommodation → Rates

Page screenshot: Accommodation → Rates
URL /wp-admin/edit.php?post_type=mphb_rate
Aspect menu-item
HTTP status 200
Load time 0.379 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Accommodation → Services

Page screenshot: Accommodation → Services
URL /wp-admin/edit.php?post_type=mphb_room_service
Aspect menu-item
HTTP status 200
Load time 0.213 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Accommodation → Accommodations

Page screenshot: Accommodation → Accommodations
URL /wp-admin/edit.php?post_type=mphb_room
Aspect menu-item
HTTP status 200
Load time 0.196 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Accommodation → Generate Accommodations

Page screenshot: Accommodation → Generate Accommodations
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_rooms_generator
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Accommodation → Settings

Page screenshot: Accommodation → Settings
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_settings
Aspect menu-item
HTTP status 200
Load time 1.471 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Accommodation → Settings → Admin Emails

Page screenshot: Accommodation → Settings → Admin Emails
URL /wp-admin/admin.php?page=mphb_settings&tab=admin_emails
Aspect menu-item-tab
HTTP status 200
Load time 1.072 s
Memory usage 5.65 MiB
JS errors None
Resource errors None

Accommodation → Settings → Customer Emails

Page screenshot: Accommodation → Settings → Customer Emails
URL /wp-admin/admin.php?page=mphb_settings&tab=customer_emails
Aspect menu-item-tab
HTTP status 200
Load time 1.028 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Accommodation → Settings → Email Settings

Page screenshot: Accommodation → Settings → Email Settings
URL /wp-admin/admin.php?page=mphb_settings&tab=global_emails
Aspect menu-item-tab
HTTP status 200
Load time 0.922 s
Memory usage 5.65 MiB
JS errors None
Resource errors None

Accommodation → Settings → Payment Gateways

Page screenshot: Accommodation → Settings → Payment Gateways
URL /wp-admin/admin.php?page=mphb_settings&tab=payments
Aspect menu-item-tab
HTTP status 200
Load time 0.219 s
Memory usage 5.54 MiB
JS errors None
Resource errors None

Accommodation → Settings → Extensions

Page screenshot: Accommodation → Settings → Extensions
URL /wp-admin/admin.php?page=mphb_settings&tab=extensions
Aspect menu-item-tab
HTTP status 200
Load time 0.193 s
Memory usage 5.51 MiB
JS errors None
Resource errors None

Accommodation → Language

Page screenshot: Accommodation → Language
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_language
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Accommodation → Shortcodes

Page screenshot: Accommodation → Shortcodes
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_shortcodes
Aspect menu-item
HTTP status 200
Load time 0.211 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Bookings

Page screenshot: Bookings
URL /wp-admin/edit.php?post_type=mphb_booking
Aspect menu-item
HTTP status 200
Load time 0.362 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Bookings → Payment History

Page screenshot: Bookings → Payment History
URL /wp-admin/edit.php?post_type=mphb_payment
Aspect menu-item
HTTP status 200
Load time 0.194 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Bookings → Calendar

Page screenshot: Bookings → Calendar
URL /wp-admin/admin.php?page=mphb_calendar&mphb_bookings_calendar%5Bperiod%5D=custom
Requested URL /wp-admin/admin.php?page=mphb_calendar
Aspect menu-item
HTTP status 200
Load time 0.317 s
Memory usage 5.58 MiB
JS errors None
Resource errors None

Bookings → Coupons

Page screenshot: Bookings → Coupons
URL /wp-admin/edit.php?post_type=mphb_coupon
Aspect menu-item
HTTP status 200
Load time 0.191 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Bookings → Booking Rules

Page screenshot: Bookings → Booking Rules
URL /wp-admin/admin.php?page=mphb_booking_rules
Aspect menu-item
HTTP status 200
Load time 0.213 s
Memory usage 5.62 MiB
JS errors None
Resource errors None

Bookings → Taxes & Fees

Page screenshot: Bookings → Taxes & Fees
URL /wp-admin/admin.php?page=mphb_taxes_and_fees
Aspect menu-item
HTTP status 200
Load time 0.318 s
Memory usage 5.61 MiB
JS errors None
Resource errors None

Bookings → Sync Calendars

Page screenshot: Bookings → Sync Calendars
URL /wp-admin/admin.php?page=mphb_ical
Aspect menu-item
HTTP status 200
Load time 0.162 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Bookings → Reports

Page screenshot: Bookings → Reports
URL /wp-admin/admin.php?page=mphb_reports
Aspect menu-item
HTTP status 200
Load time 0.294 s
Memory usage 5.87 MiB
JS errors None
Resource errors None

Bookings → Reports → Export

Page screenshot: Bookings → Reports → Export
URL /wp-admin/admin.php?page=mphb_reports&tab=export
Aspect menu-item-tab
HTTP status 200
Load time 0.200 s
Memory usage 5.77 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'replace' of undefined\n    at parseOptions (/wp-content/plugins/motopress-hotel-booking-lite/vendors/jquery-flot/jquery.flot.js?ver=0.8.1:740:74)\n    at new Plot (/wp-content/plugins/motopress-hotel-booking-lite/vendors/jquery-flot/jquery.flot.js?ver=0.8.1:673:9)\n    at Function.$.plot (/wp-content/plugins/motopress-hotel-booking-lite/vendors/jquery-flot/jquery.flot.js?ver=0.8.1:3039:20)\n    at o (/wp-content/plugins/motopress-hotel-booking-lite/assets/js/admin/admin-reports.min.js?ver=3.9.13:1:1573)\n    at Object.plot (/wp-content/plugins/motopress-hotel-booking-lite/assets/js/admin/admin-reports.min.js?ver=3.9.13:1:3040)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/motopress-hotel-booking-lite/assets/js/admin/admin-reports.min.js?ver=3.9.13:1:3113)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Bookings → Extensions

Page screenshot: Bookings →  Extensions
URL /wp-admin/admin.php?page=mphb_extensions
Aspect menu-item
HTTP status 200
Load time 4.574 s
Memory usage 6.37 MiB
JS errors None
Resource errors None

Bookings → Go Premium

Page screenshot: Bookings →  Go Premium
URL /wp-admin/admin.php?page=mphb_premium
Aspect menu-item
HTTP status 200
Load time 0.190 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.427 s
Memory usage 4.9 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.141 s
Memory usage 7.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.470 s+0.133 s3.08 MiB5.64 MiB+ 2.56 MiB
/wp-admin/edit.php0.185 s0.247 s+0.062 s3.11 MiB5.7 MiB+ 2.58 MiB
/wp-admin/post-new.php1.135 s1.505 s+0.370 s5.27 MiB8.21 MiB+ 2.94 MiB
/wp-admin/upload.php0.438 s0.633 s+0.195 s3.03 MiB5.59 MiB+ 2.56 MiB
/wp-admin/options-writing.php0.162 s0.230 s+0.068 s3.02 MiB5.51 MiB+ 2.48 MiB
/wp-admin/media-new.php0.243 s0.260 s+0.017 s3.01 MiB5.57 MiB+ 2.56 MiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.231 s+0.040 s3.04 MiB5.6 MiB+ 2.56 MiB
/wp-admin/post-new.php?post_type=page1.248 s1.664 s+0.416 s5.26 MiB8.19 MiB+ 2.94 MiB
/wp-admin/options-discussion.php0.268 s0.359 s+0.091 s3 MiB5.51 MiB+ 2.5 MiB
/wp-admin/edit-comments.php0.290 s0.240 s-0.050 s3.04 MiB5.61 MiB+ 2.56 MiB
/0.324 s0.329 s+0.005 s2.96 MiB4.9 MiB+ 1.94 MiB
Average 0.438 s0.561 s+0.122 s3.44 MiB6 MiB+ 2.56 MiB

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 File63.8%92,22770,12524
PHP26.6%38,43012,881398
JavaScript5.2%7,4561,2194
CSS4.3%6,19366520
XML0.1%11491
Markdown0.1%10401
JSON0.0%1801
Total 144,542 84,899 449

PHP Code Analysis | More results »

Lines of code 36,278
Total complexity 7,325
Median class complexity 15.0
Median method complexity 1.0
Most complex class MPHB\BookingsCalendar
Most complex function MPHB\Views\BookingView::generatePriceBreakdownArray()
Classes 294
Methods 2,825
Functions 169

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 4

Options wp_options 6

Custom Post Types 10

ID Name
mphb_bookingBookings
mphb_room_typeAccommodation Types
mphb_room_attributeAttributes
mphb_seasonSeasons
mphb_rateRates
mphb_room_serviceServices
mphb_roomAccommodations
mphb_paymentPayment History
mphb_reserved_roomReserved Accommodations
mphb_couponCoupons

Sidebar Widgets 2

ID Name
mphb_rooms_widgetAccommodation Types
mphb_search_availability_widgetSearch Availability

Meta Boxes

{
    "mphb_booking": {
        "submitdiv": {
            "title": "Update Booking",
            "context": "side"
        },
        "logs": {
            "title": "Logs",
            "context": "side"
        },
        "mphb_rooms": {
            "title": "Reserved Accommodations",
            "context": "advanced"
        }
    },
    "mphb_room_type": {
        "rooms": {
            "title": "Generate Accommodations",
            "context": "normal"
        },
        "attributes": {
            "title": "Attributes",
            "context": "side"
        },
        "reviews": {
            "title": "Accommodation Reviews",
            "context": "side"
        }
    },
    "mphb_room_attribute": {
        "submitdiv": {
            "title": "Publish",
            "context": "side"
        },
        "terms": {
            "title": "Terms",
            "context": "normal"
        }
    },
    "mphb_rate": {
        "submitdiv": {
            "title": "Update Rate",
            "context": "side"
        }
    },
    "mphb_payment": {
        "submitdiv": {
            "title": "Update Payment",
            "context": "side"
        },
        "logs": {
            "title": "Logs",
            "context": "side"
        }
    }
}

PHP Error Log 5 lines

[15-Sep-2021 15:00:24 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
[15-Sep-2021 15:00:24 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
[15-Sep-2021 15:00:28 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
[15-Sep-2021 15:00:28 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
[15-Sep-2021 15:00:32 UTC] PHP Notice:  wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5663
See also: All tests for this plugin, How to Hide Hotel Booking Lite Admin Menus and Meta Boxes