PostNL for WooCommerce 5.5.0

Does PostNL for WooCommerce work with WordPress 6.6.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: -42.34 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/woo-postnl/
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=woo-postnl%2Fpostnl-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=624d37b0da
Aspect after-activation
HTTP status 200
Load time 0.225 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.215 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.133 s-0.237 s3.47 MiB
/wp-admin/edit.php0.277 s0.120 s-0.157 s3.54 MiB
/wp-admin/post-new.php0.807 s0.220 s-0.587 s5.75 MiB
/wp-admin/upload.php0.657 s0.191 s-0.466 s3.49 MiB
/wp-admin/options-writing.php0.251 s0.132 s-0.119 s3.41 MiB
/wp-admin/media-new.php0.275 s0.180 s-0.095 s3.4 MiB
/wp-admin/edit-tags.php?taxonomy=category0.222 s0.121 s-0.101 s3.47 MiB
/wp-admin/post-new.php?post_type=page0.621 s0.424 s-0.197 s5.75 MiB
/wp-admin/options-discussion.php0.372 s0.119 s-0.253 s3.41 MiB
/wp-admin/edit-comments.php0.279 s0.114 s-0.165 s3.49 MiB
/0.342 s0.192 s-0.150 s3.45 MiB3.41 MiB- 42.34 KiB
Average 0.407 s0.177 s-0.230 s3.88 MiB3.41 MiB- 42.34 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
Language % Lines of code Comment lines Files
PHP83.9%7,0423,29942
PO File7.7%6463051
JavaScript4.0%334105
CSS3.1%26103
Markdown1.3%10801
Total 8,391 3,614 52

PHP Code Analysis | More results »

Lines of code 6,910
Total complexity 1,129
Median class complexity 19.0
Median method complexity 1.0
Most complex class PostNLWooCommerce\Order\Base
Most complex function PostNLWooCommerce\Shipping_Method\Settings::get_setting_fields()
Classes 35
Methods 408
Functions 5

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 156 lines

[12-Sep-2024 10:36:58 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/plugins.php(624): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:36:59 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/index.php(137): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:37:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/index.php(137): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:37:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/edit.php(411): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:37:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/edit-form-blocks.php(312): require_once('...')
#7 /wp-admin/post-new.php(72): require('...')
#8 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:37:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/upload.php(207): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:37:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/options-writing.php(59): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:37:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/media-new.php(65): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106
[12-Sep-2024 10:37:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:106
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(145): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(339): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(324): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-header.php(303): do_action()
#6 /wp-admin/edit-tags.php(319): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 106

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