CommonsBooking 2.6.5

Does Commons Booking work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
1PHP notices
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

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

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

Environment
WordPress version5.9
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/commonsbooking/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 22

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=commonsbooking%2Fcommonsbooking.php&plugin_status=all&paged=1&s&_wpnonce=f1030f3861
Aspect after-activation
HTTP status 500
Load time 1.793 s
Memory usage N/A
JS errors None
Resource errors None

Settings → CommonsBooking

Page screenshot: Settings → CommonsBooking
URL /wp-admin/options-general.php?page=commonsbooking_options
Aspect menu-item
HTTP status 200
Load time 0.209 s
Memory usage 4.54 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → General

Page screenshot: Settings → CommonsBooking → General
URL /wp-admin/admin.php?page=commonsbooking_options_general
Aspect menu-item-tab
HTTP status 200
Load time 0.319 s
Memory usage 4.32 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Booking Codes

Page screenshot: Settings → CommonsBooking → Booking Codes
URL /wp-admin/admin.php?page=commonsbooking_options_bookingcodes
Aspect menu-item-tab
HTTP status 200
Load time 0.182 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Templates

Page screenshot: Settings → CommonsBooking → Templates
URL /wp-admin/admin.php?page=commonsbooking_options_templates
Aspect menu-item-tab
HTTP status 200
Load time 0.191 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Restrictions

Page screenshot: Settings → CommonsBooking → Restrictions
URL /wp-admin/admin.php?page=commonsbooking_options_restrictions
Aspect menu-item-tab
HTTP status 200
Load time 0.219 s
Memory usage 4.29 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Reminder

Page screenshot: Settings → CommonsBooking → Reminder
URL /wp-admin/admin.php?page=commonsbooking_options_reminder
Aspect menu-item-tab
HTTP status 200
Load time 0.231 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Migration

Page screenshot: Settings → CommonsBooking → Migration
URL /wp-admin/admin.php?page=commonsbooking_options_migration
Aspect menu-item-tab
HTTP status 200
Load time 0.224 s
Memory usage 4.29 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Export

Page screenshot: Settings → CommonsBooking → Export
URL /wp-admin/admin.php?page=commonsbooking_options_export
Aspect menu-item-tab
HTTP status 200
Load time 0.212 s
Memory usage 4.43 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → API

Page screenshot: Settings → CommonsBooking → API
URL /wp-admin/admin.php?page=commonsbooking_options_api
Aspect menu-item-tab
HTTP status 200
Load time 0.236 s
Memory usage 4.29 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Meta Data-Sets

Page screenshot: Settings → CommonsBooking → Meta Data-Sets
URL /wp-admin/admin.php?page=commonsbooking_options_metadata
Aspect menu-item-tab
HTTP status 200
Load time 0.181 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Commons Booking

Page screenshot: Commons Booking
URL /wp-admin/admin.php?page=cb-dashboard
Aspect menu-item
HTTP status 200
Load time 0.231 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Commons Booking → Timeframes

Page screenshot: Commons Booking → Timeframes
URL /wp-admin/edit.php?post_type=cb_timeframe
Aspect menu-item
HTTP status 200
Load time 0.252 s
Memory usage 4.31 MiB
JS errors None
Resource errors None

Commons Booking → Items

Page screenshot: Commons Booking → Items
URL /wp-admin/edit.php?post_type=cb_item
Aspect menu-item
HTTP status 200
Load time 0.249 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Commons Booking → Locations

Page screenshot: Commons Booking → Locations
URL /wp-admin/edit.php?post_type=cb_location
Aspect menu-item
HTTP status 200
Load time 0.189 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Commons Booking → Bookings

Page screenshot: Commons Booking → Bookings
URL /wp-admin/edit.php?post_type=cb_booking
Aspect menu-item
HTTP status 200
Load time 0.192 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Commons Booking → Maps

Page screenshot: Commons Booking → Maps
URL /wp-admin/edit.php?post_type=cb_map
Aspect menu-item
HTTP status 200
Load time 0.198 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Commons Booking → Restrictions

Page screenshot: Commons Booking → Restrictions
URL /wp-admin/edit.php?post_type=cb_restriction
Aspect menu-item
HTTP status 200
Load time 0.274 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Commons Booking → Item Categories

Page screenshot: Commons Booking → Item Categories
URL /wp-admin/edit-tags.php?taxonomy=cb_items_category
Aspect menu-item
HTTP status 200
Load time 0.229 s
Memory usage 4.16 MiB
JS errors None
Resource errors None

Commons Booking → Location Categories

Page screenshot: Commons Booking → Location Categories
URL /wp-admin/edit-tags.php?taxonomy=cb_locations_category
Aspect menu-item
HTTP status 200
Load time 0.200 s
Memory usage 4.16 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.517 s
Memory usage 3.87 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 1.662 s
Memory usage 6.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.412 s+0.083 s3.36 MiB4.27 MiB+ 930.59 KiB
/wp-admin/edit.php0.182 s0.259 s+0.077 s3.39 MiB4.34 MiB+ 964.09 KiB
/wp-admin/post-new.php1.037 s1.211 s+0.174 s6.14 MiB8.21 MiB+ 2.06 MiB
/wp-admin/upload.php0.379 s0.424 s+0.045 s3.24 MiB4.16 MiB+ 942.97 KiB
/wp-admin/options-writing.php0.310 s0.182 s-0.128 s3.24 MiB4.14 MiB+ 929.27 KiB
/wp-admin/media-new.php0.233 s0.231 s-0.002 s3.22 MiB4.14 MiB+ 944.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.227 s+0.036 s3.25 MiB4.17 MiB+ 945.04 KiB
/wp-admin/post-new.php?post_type=page0.952 s1.205 s+0.253 s6.14 MiB8.2 MiB+ 2.06 MiB
/wp-admin/options-discussion.php0.227 s0.357 s+0.130 s3.22 MiB4.14 MiB+ 945.9 KiB
/wp-admin/edit-comments.php0.214 s0.234 s+0.020 s3.26 MiB4.24 MiB+ 999.75 KiB
/0.275 s0.385 s+0.110 s3.35 MiB3.88 MiB+ 536.81 KiB
Average 0.394 s0.466 s+0.073 s3.8 MiB4.9 MiB+ 1.1 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.

JavaScript
PHP
CSS
Sass
Language % Lines of code Comment lines Files
JavaScript41.2%23,5458,09026
PHP22.7%12,9824,161113
CSS19.5%11,1161,42516
Sass12.2%6,9931331
PO File3.9%2,2411,1881
Markdown0.3%15103
JSON0.1%6302
SVG0.0%2622
Total 57,117 14,879 194

PHP Code Analysis | More results »

Lines of code 9,840
Total complexity 1,781
Median class complexity 13.0
Median method complexity 2.0
Most complex class CommonsBooking\Model\Timeframe
Most complex function CommonsBooking\Map\MapAdmin::validate_options()
Classes 79
Methods 527
Functions 20

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 1

Options wp_options 9

Custom Post Types 6

ID Name
cb_itemItems
cb_locationLocations
cb_timeframeTimeframes
cb_mapMaps
cb_bookingBookings
cb_restrictionRestrictions

Sidebar Widgets 1

ID Name
commonsbooking-user-widgetCommonsBooking User Widget

Meta Boxes

{
    "cb_item": {
        "_cb_item_info": {
            "title": "Item Info",
            "context": "normal"
        }
    },
    "cb_location": {
        "_cb_location_adress": {
            "title": "Address",
            "context": "normal"
        },
        "_cb_location_info": {
            "title": "General Location information",
            "context": "normal"
        }
    },
    "cb_timeframe": {
        "cb_timeframe-custom-fields": {
            "title": "Timeframe",
            "context": "normal"
        }
    },
    "cb_booking": {
        "cb_booking-custom-fields": {
            "title": "Booking",
            "context": "normal"
        }
    },
    "cb_restriction": {
        "cb_restriction-custom-fields": {
            "title": "Restriction",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
cb_managerCommonsBooking Manager

Capabilities 85

PHP Error Log 12 lines

[13-Feb-2022 01:08:19 UTC] PHP Fatal error:  Uncaught Error: Call to private method CommonsBooking\Repository\Timeframe::getPostIdsByType() from context 'CommonsBooking\Migration\Booking' in /wp-content/plugins/commonsbooking/src/Migration/Booking.php:14
Stack trace:
#0 /wp-content/plugins/commonsbooking/src/Plugin.php(259): CommonsBooking\Migration\Booking::migrate()
#1 /wp-content/plugins/commonsbooking/src/Plugin.php(219): CommonsBooking\Plugin::runTasksAfterUpdate()
#2 /wp-includes/class-wp-hook.php(307): CommonsBooking\Plugin::admin_init()
#3 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(474): WP_Hook->do_action()
#5 /wp-admin/admin.php(175): do_action()
#6 /wp-admin/plugins.php(10): require_once('/opt/bitnami/ap...')
#7 {main}
  thrown in /wp-content/plugins/commonsbooking/src/Migration/Booking.php on line 14
[13-Feb-2022 01:08:30 UTC] PHP Notice:  Undefined index: post_type in /wp-content/plugins/commonsbooking/src/Wordpress/CustomPostType/Booking.php on line 634
See also: All tests for this plugin, How to Hide Commons Booking Admin Menus and Meta Boxes