Hide Category by User Role for WooCommerce 2.0.0

Does "Hide Category by User Role for WooCommerce" work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/hide-category-by-user-role-for-woocommerce/
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=hide-category-by-user-role-for-woocommerce%2Fthemesupport-wchc.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=hide-category-by-user-role-for-woocommerce%2Fthemesupport-wchc.php&plugin_status=all&paged=1&s&_wpnonce=e02ef30fa5
Aspect after-activation
HTTP status 200
Load time 0.339 s
Memory usage 2.76 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
PHP52.3%73021112
CSS27.5%38301
JavaScript20.1%281171
SVG0.1%101
Total 1,395 228 15

PHP Code Analysis | More results »

Lines of code 805
Total complexity 121
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function tswchc_redirect_product_pages()
Classes 0
Methods 0
Functions 32

Additions

No data available.

PHP Error Log 25 lines

[12-Oct-2023 17:14:57 UTC] PHP Warning:  require_once(/wp-content/plugins/hide-category-by-user-role-for-woocommerce/admin/template-parts/get-settings-tab.php): Failed to open stream: No such file or directory in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php on line 27
[12-Oct-2023 17:14:57 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/wp-content/plugins/hide-category-by-user-role-for-woocommerce/admin/template-parts/get-settings-tab.php' (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php:27
Stack trace:
#0 /wp-content/plugins/hide-category-by-user-role-for-woocommerce/themesupport-wchc.php(61): require_once()
#1 /wp-admin/includes/plugin.php(2318): include_once('...')
#2 /wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
#3 /wp-admin/plugins.php(58): activate_plugin()
#4 {main}
  thrown in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php on line 27
[12-Oct-2023 17:14:57 UTC] PHP Warning:  require_once(/wp-content/plugins/hide-category-by-user-role-for-woocommerce/admin/template-parts/get-settings-tab.php): Failed to open stream: No such file or directory in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php on line 27
[12-Oct-2023 17:14:57 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/wp-content/plugins/hide-category-by-user-role-for-woocommerce/admin/template-parts/get-settings-tab.php' (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php:27
Stack trace:
#0 /wp-content/plugins/hide-category-by-user-role-for-woocommerce/themesupport-wchc.php(61): require_once()
#1 /wp-admin/includes/plugin.php(2318): include_once('...')
#2 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#3 {main}
  thrown in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php on line 27
[12-Oct-2023 17:14:58 UTC] PHP Warning:  require_once(/wp-content/plugins/hide-category-by-user-role-for-woocommerce/admin/template-parts/get-settings-tab.php): Failed to open stream: No such file or directory in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php on line 27
[12-Oct-2023 17:14:58 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/wp-content/plugins/hide-category-by-user-role-for-woocommerce/admin/template-parts/get-settings-tab.php' (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php:27
Stack trace:
#0 /wp-content/plugins/hide-category-by-user-role-for-woocommerce/themesupport-wchc.php(61): require_once()
#1 /wp-admin/includes/plugin.php(2318): include_once('...')
#2 /wp-admin/plugins.php(192): plugin_sandbox_scrape()
#3 {main}
  thrown in /wp-content/plugins/hide-category-by-user-role-for-woocommerce/loader.php on line 27
See also: All tests for this plugin