CodesWholesale for WooCommerce 2.6.6

Does CodesWholesale for WooCommerce work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.8.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/codeswholesale-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=codeswholesale-for-woocommerce%2Fcodeswholesale.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=codeswholesale-for-woocommerce%2Fcodeswholesale.php&plugin_status=all&paged=1&s&_wpnonce=b59beac0b7
Aspect after-activation
HTTP status 200
Load time 0.308 s
Memory usage 3.52 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
Language % Lines of code Comment lines Files
PHP99.0%5,0631,15982
CSS0.8%4301
JSON0.1%601
Total 5,112 1,159 84

PHP Code Analysis | More results »

Lines of code 4,222
Total complexity 641
Median class complexity 5.0
Median method complexity 1.0
Most complex class CW_Product_Action_Abstract
Most complex function CW_Admin_Product::output_custom_fields()
Classes 71
Methods 333
Functions 3

Additions

No data available.

PHP Error Log 11 lines

[04-May-2025 15:45:05 UTC] PHP Deprecated:  Optional parameter $fields declared before required parameter $conditions is implicitly treated as a required parameter in /wp-content/plugins/codeswholesale-for-woocommerce/includes/managers/wp-db-manager.php on line 84
[04-May-2025 15:45:05 UTC] PHP Deprecated:  Optional parameter $fields declared before required parameter $conditions is implicitly treated as a required parameter in /wp-content/plugins/codeswholesale-for-woocommerce/vendor/codeswholesale/cw-extension-framework/src/Database/Interfaces/DbManagerInterface.php on line 19
[04-May-2025 15:45:05 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "FILE" in /wp-content/plugins/codeswholesale-for-woocommerce/codeswholesale.php:127
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): CodesWholesale::codeswholesale_install()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(703): do_action()
#4 /wp-admin/plugins.php(60): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/codeswholesale-for-woocommerce/codeswholesale.php on line 127
See also: All tests for this plugin