AfterPay Nordics for WooCommerce 1.0.4

Does "AfterPay Nordics for WooCommerce" work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
18PHP warnings
2PHP notices
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

No data available.

Environment
WordPress version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/afterpay-nordics-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=afterpay-nordics-for-woocommerce%2Fafterpay-nordics-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=3b7f377834
Aspect after-activation
HTTP status 500
Load time 0.138 s
Memory usage N/A
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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP73.8%2,40890223
PO File13.6%4431692
JavaScript11.1%361671
CSS1.4%4601
HTML0.2%501
Total 3,263 1,138 28

PHP Code Analysis | More results »

Lines of code 2,375
Total complexity 395
Median class complexity 7.0
Median method complexity 2.5
Most complex class WC_Gateway_AfterPay_Factory
Most complex function init_wc_gateway_afterpay_factory_class()
Classes 21
Methods 98
Functions 11

Additions

No data available.

PHP Error Log 32 lines

[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 25
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 30
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 33
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 34
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-cancel-reservation.php on line 28
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-invoice-fee.php on line 25
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-capture.php on line 25
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-capture.php on line 26
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-capture.php on line 27
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 25
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 30
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 33
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-pre-check-customer.php on line 34
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-cancel-reservation.php on line 28
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-invoice-fee.php on line 25
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-capture.php on line 25
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-capture.php on line 26
[06-Feb-2024 17:19:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/class-capture.php on line 27
[06-Feb-2024 17:19:26 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Payment_Gateway" not found in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/gateways/class-wc-gateway-afterpay-factory.php:25
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): init_wc_gateway_afterpay_factory_class()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(506): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/plugins.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/afterpay-nordics-for-woocommerce/includes/gateways/class-wc-gateway-afterpay-factory.php on line 25
[06-Feb-2024 17:19:26 UTC] PHP Notice:  Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6031
[06-Feb-2024 17:19:26 UTC] PHP Notice:  Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6031
See also: All tests for this plugin