WP Hotelier 2.6.2

Does WP Hotelier work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
3PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/wp-hotelier/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 14

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=wp-hotelier%2Fhotelier.php&plugin_status=all&paged=1&s&_wpnonce=3c8585e4eb
Aspect after-activation
HTTP status 200
Load time 1.368 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Hotelier

Page screenshot: Hotelier
URL /wp-admin/admin.php?page=hotelier-settings
Aspect menu-item
HTTP status 200
Load time 0.653 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Hotelier → Add Reservation

Page screenshot: Hotelier → Add Reservation
URL /wp-admin/admin.php?page=hotelier-add-reservation
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 4.08 MiB
JS errors None
Resource errors None

Hotelier → Reservations

Page screenshot: Hotelier → Reservations
URL /wp-admin/edit.php?post_type=room_reservation
Aspect menu-item
HTTP status 200
Load time 0.197 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

Hotelier → Extras

Page screenshot: Hotelier → Extras
URL /wp-admin/edit.php?post_type=extra
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 4.08 MiB
JS errors None
Resource errors None

Hotelier → Calendar

Page screenshot: Hotelier → Calendar
URL /wp-admin/admin.php?page=hotelier-calendar
Aspect menu-item
HTTP status 200
Load time 0.199 s
Memory usage 4.08 MiB
JS errors None
Resource errors None

Hotelier → Logs

Page screenshot: Hotelier → Logs
URL /wp-admin/admin.php?page=hotelier-logs
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 4.04 MiB
JS errors None
Resource errors None

Rooms

Page screenshot: Rooms
URL /wp-admin/edit.php?post_type=room
Aspect menu-item
HTTP status 200
Load time 0.220 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

Rooms → Add New

Page screenshot: Rooms → Add New
URL /wp-admin/post-new.php?post_type=room
Aspect menu-item
HTTP status 200
Load time 0.997 s
Memory usage 4.34 MiB
JS errors None
Resource errors None

Rooms → Categories

Page screenshot: Rooms → Categories
URL /wp-admin/edit-tags.php?taxonomy=room_cat&post_type=room
Aspect menu-item
HTTP status 200
Load time 0.212 s
Memory usage 4.02 MiB
JS errors None
Resource errors None

Rooms → Rates

Page screenshot: Rooms → Rates
URL /wp-admin/edit-tags.php?taxonomy=room_rate&post_type=room
Aspect menu-item
HTTP status 200
Load time 0.154 s
Memory usage 4.02 MiB
JS errors None
Resource errors None

Rooms → Facilities

Page screenshot: Rooms → Facilities
URL /wp-admin/edit-tags.php?taxonomy=room_facilities&post_type=room
Aspect menu-item
HTTP status 200
Load time 0.335 s
Memory usage 4.03 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.267 s
Memory usage N/A
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 1.795 s
Memory usage 5.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.319 s0.323 s+0.004 s3.08 MiB4.08 MiB+ 1023.23 KiB
/wp-admin/edit.php0.189 s0.186 s-0.003 s3.11 MiB4.12 MiB+ 1 MiB
/wp-admin/post-new.php0.899 s1.002 s+0.103 s5.27 MiB6.28 MiB+ 1.02 MiB
/wp-admin/upload.php0.496 s0.312 s-0.184 s3.03 MiB4.02 MiB+ 1018.82 KiB
/wp-admin/options-writing.php0.143 s0.146 s+0.003 s3.02 MiB4 MiB+ 1002.7 KiB
/wp-admin/media-new.php0.423 s0.199 s-0.224 s3.01 MiB4 MiB+ 1018.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.186 s+0.004 s3.04 MiB4.03 MiB+ 1019.07 KiB
/wp-admin/post-new.php?post_type=page0.839 s1.005 s+0.166 s5.26 MiB6.27 MiB+ 1.01 MiB
/wp-admin/options-discussion.php0.217 s0.308 s+0.091 s3 MiB4 MiB+ 1019.21 KiB
/wp-admin/edit-comments.php0.196 s0.212 s+0.016 s3.04 MiB4.04 MiB+ 1019.06 KiB
/0.277 s0.181 s-0.096 s2.91 MiB
Average 0.380 s0.369 s-0.011 s3.43 MiB4.49 MiB+ 1022.64 KiB

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.

PHP
SVG
CSS
Language % Lines of code Comment lines Files
PHP56.9%20,3208,593280
SVG24.6%8,7881214
CSS11.6%4,1483156
JavaScript3.5%1,2535211
XML3.3%1,181161
Total 35,690 8,988 312

PHP Code Analysis | More results »

Lines of code 14,275
Total complexity 3,114
Median class complexity 20.0
Median method complexity 2.0
Most complex class HTL_Reservation
Most complex function HTL_Meta_Box_Reservation_Save::change_reservation_totals()
Classes 77
Methods 794
Functions 201

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 5

Options wp_options 6

Custom Post Types 3

ID Name
roomRooms
room_reservationReservations
extraExtras

Sidebar Widgets 4

ID Name
hotelier-widget-bookingHotelier Booking
hotelier-widget-rooms-filterHotelier Rooms Filter
hotelier-widget-room-searchHotelier Room Search
hotelier-widget-roomsHotelier Rooms

Meta Boxes

{
    "room": {
        "hotelier-room-images": {
            "title": "Room Gallery",
            "context": "side"
        },
        "hotelier-room-settings": {
            "title": "Room Settings",
            "context": "normal"
        },
        "postexcerpt": {
            "title": "Room Short Description",
            "context": "normal"
        }
    },
    "room_reservation": {
        "hotelier-reservation-save": {
            "title": "Save Reservation",
            "context": "side"
        },
        "hotelier-reservation-notes": {
            "title": "Reservation Notes",
            "context": "side"
        },
        "hotelier-reservation-data": {
            "title": "Reservation Details",
            "context": "normal"
        },
        "hotelier-reservation-items": {
            "title": "Rooms",
            "context": "normal"
        }
    },
    "coupon": {
        "hotelier-coupon-settings": {
            "title": "Coupon Settings",
            "context": "normal"
        }
    },
    "extra": {
        "hotelier-extra-settings": {
            "title": "Extra Settings",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
hotel_managerHotel Manager

Capabilities 69

PHP Error Log 30 lines

[12-Nov-2021 06:17:29 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_current_screen() in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php:54
Stack trace:
#0 /wp-includes/class-wp-hook.php(305): HTL_Comments::exclude_reservation_comments()
#1 /wp-includes/plugin.php(233): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-comment-query.php(909): apply_filters_ref_array()
#3 /wp-includes/class-wp-comment-query.php(438): WP_Comment_Query->get_comment_ids()
#4 /wp-includes/class-wp-comment-query.php(347): WP_Comment_Query->get_comments()
#5 /wp-includes/comment.php(244): WP_Comment_Query->query()
#6 /wp-includes/widgets/class-wp-widget-recent-comments.php(110): get_comments()
#7 /wp-includes/class-wp-widget.php(393): WP_ in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php on line 54
[12-Nov-2021 06:17:35 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_current_screen() in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php:54
Stack trace:
#0 /wp-includes/class-wp-hook.php(305): HTL_Comments::exclude_reservation_comments()
#1 /wp-includes/plugin.php(233): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-comment-query.php(909): apply_filters_ref_array()
#3 /wp-includes/class-wp-comment-query.php(438): WP_Comment_Query->get_comment_ids()
#4 /wp-includes/class-wp-comment-query.php(347): WP_Comment_Query->get_comments()
#5 /wp-includes/comment.php(244): WP_Comment_Query->query()
#6 /wp-includes/widgets/class-wp-widget-recent-comments.php(110): get_comments()
#7 /wp-includes/class-wp-widget.php(393): WP_ in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php on line 54
[12-Nov-2021 06:17:39 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_current_screen() in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php:54
Stack trace:
#0 /wp-includes/class-wp-hook.php(305): HTL_Comments::exclude_reservation_comments()
#1 /wp-includes/plugin.php(233): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-comment-query.php(909): apply_filters_ref_array()
#3 /wp-includes/class-wp-comment-query.php(438): WP_Comment_Query->get_comment_ids()
#4 /wp-includes/class-wp-comment-query.php(347): WP_Comment_Query->get_comments()
#5 /wp-includes/comment.php(244): WP_Comment_Query->query()
#6 /wp-includes/widgets/class-wp-widget-recent-comments.php(110): get_comments()
#7 /wp-includes/widgets.php(1224): WP_Widget_ in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php on line 54
See also: All tests for this plugin, How to Hide WP Hotelier Admin Menus and Meta Boxes