We’re Open! 1.43

Does We’re Open! work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/opening-hours/
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=opening-hours%2Fopening-hours.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=opening-hours%2Fopening-hours.php&plugin_status=all&paged=1&s&_wpnonce=7cc49bbe0a
Aspect after-activation
HTTP status 200
Load time 0.475 s
Memory usage 2.99 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.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP71.5%7,7121046
CSS14.0%1,51122
JavaScript13.9%1,49632
SVG0.6%6601
Total 10,785 109 11

PHP Code Analysis | More results »

Lines of code 6,010
Total complexity 2,662
Median class complexity 1,331.0
Median method complexity 8.0
Most complex class we_are_open
Most complex function we_are_open::wp_display_text()
Classes 2
Methods 67
Functions 0

Additions

No data available.

PHP Error Log 16 lines

[29-Dec-2022 15:37:55 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_kses(), 1 passed in /wp-content/plugins/opening-hours/index.php on line 5662 and at least 2 expected in /wp-includes/kses.php:713
Stack trace:
#0 /wp-content/plugins/opening-hours/index.php(5662): wp_kses()
#1 /wp-content/plugins/opening-hours/index.php(3845): we_are_open->sanitize_input()
#2 /wp-includes/class-wp-hook.php(310): we_are_open->sanitize_array()
#3 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#4 /wp-includes/formatting.php(5000): apply_filters()
#5 /wp-includes/option.php(448): sanitize_option()
#6 /wp-content/plugins/opening-hours/index.php(366): update_option()
#7 /wp-includes/class-wp-hook.php(308): we_are_open::activate()
#8 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#9 /wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /wp-admin/includes/plugin.php(691): do_action()
#11 /wp-admin/plugins.php(58): activate_plugin()
#12 {main}
  thrown in /wp-includes/kses.php on line 713
See also: All tests for this plugin, How to Hide We’re Open! Admin Menus