Home
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 2021-11-12 06:17:07 UTC .
Summary
Errors
3 PHP 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 version 5.8.2 PHP version 7.4.8 MySQL version 8.0.21 PHP memory limit 256M
Pages 14 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
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
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
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
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
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
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
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
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
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
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
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
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
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.php 0.319 s 0.323 s +0.004 s 3.08 MiB 4.08 MiB + 1023.23 KiB /wp-admin/edit.php 0.189 s 0.186 s -0.003 s 3.11 MiB 4.12 MiB + 1 MiB /wp-admin/post-new.php 0.899 s 1.002 s +0.103 s 5.27 MiB 6.28 MiB + 1.02 MiB /wp-admin/upload.php 0.496 s 0.312 s -0.184 s 3.03 MiB 4.02 MiB + 1018.82 KiB /wp-admin/options-writing.php 0.143 s 0.146 s +0.003 s 3.02 MiB 4 MiB + 1002.7 KiB /wp-admin/media-new.php 0.423 s 0.199 s -0.224 s 3.01 MiB 4 MiB + 1018.99 KiB /wp-admin/edit-tags.php?taxonomy=category 0.182 s 0.186 s +0.004 s 3.04 MiB 4.03 MiB + 1019.07 KiB /wp-admin/post-new.php?post_type=page 0.839 s 1.005 s +0.166 s 5.26 MiB 6.27 MiB + 1.01 MiB /wp-admin/options-discussion.php 0.217 s 0.308 s +0.091 s 3 MiB 4 MiB + 1019.21 KiB /wp-admin/edit-comments.php 0.196 s 0.212 s +0.016 s 3.04 MiB 4.04 MiB + 1019.06 KiB / 0.277 s 0.181 s -0.096 s 2.91 MiB
Average
0.380 s 0.369 s -0.011 s 3.43 MiB 4.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.
Language
%
Lines of code
Comment lines
Files
PHP 56.9% 20,320 8,593 280 SVG 24.6% 8,788 12 14 CSS 11.6% 4,148 315 6 JavaScript 3.5% 1,253 52 11 XML 3.3% 1,181 16 1
Total
35,690
8,988
312
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 wp_hotelier_bookings wp_hotelier_reservation_itemmeta wp_hotelier_reservation_items wp_hotelier_rooms_bookings wp_hotelier_sessions Options wp_options
6 hotelier_settings hotelier_version widget_hotelier-widget-booking widget_hotelier-widget-room-search widget_hotelier-widget-rooms widget_hotelier-widget-rooms-filter Custom Post Types 3
ID
Name
room Rooms room_reservation Reservations extra Extras
Sidebar Widgets 4
ID
Name
hotelier-widget-booking Hotelier Booking hotelier-widget-rooms-filter Hotelier Rooms Filter hotelier-widget-room-search Hotelier Room Search hotelier-widget-rooms Hotelier 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_manager Hotel Manager
Capabilities 69 manage_hotelier edit_room read_room delete_room edit_rooms edit_others_rooms publish_rooms read_private_rooms delete_rooms delete_private_rooms delete_published_rooms delete_others_rooms edit_private_rooms edit_published_rooms manage_room_terms edit_room_terms delete_room_terms assign_room_terms edit_room_reservation read_room_reservation delete_room_reservation edit_room_reservations edit_others_room_reservations publish_room_reservations read_private_room_reservations delete_room_reservations delete_private_room_reservations delete_published_room_reservations delete_others_room_reservations edit_private_room_reservations edit_published_room_reservations manage_room_reservation_terms edit_room_reservation_terms delete_room_reservation_terms assign_room_reservation_terms edit_coupon read_coupon delete_coupon edit_coupons edit_others_coupons publish_coupons read_private_coupons delete_coupons delete_private_coupons delete_published_coupons delete_others_coupons edit_private_coupons edit_published_coupons manage_coupon_terms edit_coupon_terms delete_coupon_terms assign_coupon_terms edit_extra read_extra delete_extra edit_extras edit_others_extras publish_extras read_private_extras delete_extras delete_private_extras delete_published_extras delete_others_extras edit_private_extras edit_published_extras manage_extra_terms edit_extra_terms delete_extra_terms assign_extra_terms 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