PostNL for WooCommerce 5.2.2

Does PostNL for WooCommerce 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: 8.2 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 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=c1003da363
Aspect after-activation
HTTP status 200
Load time 0.198 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 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.280 s0.122 s-0.158 s3.07 MiB
/wp-admin/edit.php0.178 s0.123 s-0.055 s3.1 MiB
/wp-admin/post-new.php0.742 s0.255 s-0.487 s5.02 MiB
/wp-admin/upload.php0.532 s0.175 s-0.357 s3.02 MiB
/wp-admin/options-writing.php0.174 s0.107 s-0.067 s3.01 MiB
/wp-admin/media-new.php0.256 s0.172 s-0.084 s2.99 MiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.103 s-0.138 s3.01 MiB
/wp-admin/post-new.php?post_type=page0.584 s0.208 s-0.376 s5.01 MiB
/wp-admin/options-discussion.php0.206 s0.104 s-0.102 s3 MiB
/wp-admin/edit-comments.php0.209 s0.104 s-0.105 s3.03 MiB
/0.290 s0.169 s-0.121 s2.97 MiB2.98 MiB+ 8.2 KiB
Average 0.336 s0.149 s-0.186 s3.38 MiB2.98 MiB+ 8.2 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
PHP84.5%6,1702,95839
PO File7.6%5572391
JavaScript4.1%300105
CSS2.9%21403
Markdown0.8%5701
Total 7,298 3,207 49

PHP Code Analysis | More results »

Lines of code 6,052
Total complexity 1,006
Median class complexity 19.0
Median method complexity 1.0
Most complex class PostNLWooCommerce\Order\Base
Most complex function PostNLWooCommerce\Library\CustomizedPDFMerger::merge()
Classes 33
Methods 372
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

[30-May-2023 11:27:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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(605): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 94
[30-May-2023 11:27:03 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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 94
[30-May-2023 11:27:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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 94
[30-May-2023 11:27:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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(407): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 94
[30-May-2023 11:27:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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(309): require_once('...')
#7 /wp-admin/post-new.php(72): require('...')
#8 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 94
[30-May-2023 11:27:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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(167): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 94
[30-May-2023 11:27:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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(57): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/woo-postnl/src/Utils.php on line 94
[30-May-2023 11:27:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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 94
[30-May-2023 11:27:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PostNLWooCommerce\wc_get_base_location() in /wp-content/plugins/woo-postnl/src/Utils.php:94
Stack trace:
#0 /wp-content/plugins/woo-postnl/src/Utils.php(131): PostNLWooCommerce\Utils::get_base_country()
#1 /wp-content/plugins/woo-postnl/src/Main.php(306): PostNLWooCommerce\Utils::use_available_country()
#2 /wp-includes/class-wp-hook.php(308): PostNLWooCommerce\Main->notice_nl_be_required()
#3 /wp-includes/class-wp-hook.php(332): 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 94

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