Home
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 2022-12-29 15:37:43 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.1.1 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 1 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.
Language
%
Lines of code
Comment lines
Files
PHP 71.5% 7,712 104 6 CSS 14.0% 1,511 2 2 JavaScript 13.9% 1,496 3 2 SVG 0.6% 66 0 1
Total
10,785
109
11
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