WooCommerce Smart COD 1.6.1

Does WooCommerce Smart COD work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
14PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/wc-smart-cod/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=wc-smart-cod%2Fwc-smart-cod.php&plugin_status=all&paged=1&s&_wpnonce=96f60b822a
Aspect after-activation
HTTP status 200
Load time 0.330 s
Memory usage N/A
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.231 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.290 s0.134 s-0.156 s3.07 MiB
/wp-admin/edit.php0.181 s0.114 s-0.067 s3.1 MiB
/wp-admin/post-new.php0.746 s0.274 s-0.472 s5.02 MiB
/wp-admin/upload.php0.543 s0.183 s-0.360 s3.02 MiB
/wp-admin/options-writing.php0.172 s0.107 s-0.065 s3.01 MiB
/wp-admin/media-new.php0.301 s0.182 s-0.119 s2.99 MiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.108 s-0.095 s3.01 MiB
/wp-admin/post-new.php?post_type=page0.590 s0.220 s-0.370 s5.01 MiB
/wp-admin/options-discussion.php0.224 s0.118 s-0.106 s3 MiB
/wp-admin/edit-comments.php0.205 s0.108 s-0.097 s3.03 MiB
/0.296 s0.168 s-0.128 s2.97 MiB2.98 MiB+ 12.73 KiB
Average 0.341 s0.156 s-0.185 s3.38 MiB2.98 MiB+ 12.73 KiB

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
Language % Lines of code Comment lines Files
PHP91.0%1,95257012
CSS8.3%17844
JavaScript0.7%1501
Total 2,145 574 17

PHP Code Analysis | More results »

Lines of code 1,914
Total complexity 468
Median class complexity 7.0
Median method complexity 3.0
Most complex class Wc_Smart_Cod_Public
Most complex function Wc_Smart_Cod_Admin::get_prepared_fields()
Classes 7
Methods 88
Functions 3

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.

No new entries found.

PHP Error Log 128 lines

[20-May-2023 14:37:35 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/plugins.php(605): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:36 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/index.php(137): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/index.php(137): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/edit.php(407): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/edit-form-blocks.php(309): require_once('...')
#5 /wp-admin/post-new.php(72): require('...')
#6 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/upload.php(167): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/options-writing.php(57): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:38 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/media-new.php(65): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:38 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/edit-tags.php(319): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:38 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/edit-form-blocks.php(309): require_once('...')
#5 /wp-admin/post-new.php(72): require('...')
#6 {main}
  thrown in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php on line 132
[20-May-2023 14:37:38 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_screen_ids() in /wp-content/plugins/wc-smart-cod/includes/class-wc-smart-cod.php:132
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Wc_Smart_Cod->show_wsc_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/options-discussion.php(36): require_once('...')
#5 {main}

(+28 more lines)
See also: All tests for this plugin