Afterpay Gateway for WooCommerce 3.7.0

Does "Afterpay Gateway for WooCommerce" work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
16PHP fatal errors
No JavaScript exceptions
2Pages failed to load
  • 2 500 Internal Server Error
No resource errors
Performance

Memory usage: 0 bytes
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.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/afterpay-gateway-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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-gateway-for-woocommerce%2Fafterpay-gateway-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=0d93d29643
Aspect after-activation
HTTP status 500
Load time 0.157 s
Memory usage N/A
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.049 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
Language % Lines of code Comment lines Files
PHP96.8%2,44293014
JSON1.9%4702
CSS1.1%2861
JavaScript0.2%606
Total 2,523 936 23

PHP Code Analysis | More results »

Lines of code 2,106
Total complexity 523
Median class complexity 49.0
Median method complexity 3.0
Most complex class WC_Gateway_Afterpay
Most complex function Afterpay_Plugin_Cron::update_payment_limits()
Classes 4
Methods 106
Functions 0

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

[09-Nov-2023 15:09:30 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')
#7 /wp-admin/admin.php(34): require_once('...')
#8 /wp-admin/plugins.php(10): require_once('...')
#9 {main}
  thrown in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php on line 256
[09-Nov-2023 15:09:30 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')
#7 /wp-admin/admin.php(34): require_once('...')
#8 /wp-admin/index.php(10): require_once('...')
#9 {main}
  thrown in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php on line 256
[09-Nov-2023 15:09:31 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')
#7 /wp-blog-header.php(13): require_once('...')
#8 /index.php(17): require('...')
#9 {main}
  thrown in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php on line 256
[09-Nov-2023 15:09:31 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')
#7 /wp-admin/admin.php(34): require_once('...')
#8 /wp-admin/index.php(10): require_once('...')
#9 {main}
  thrown in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php on line 256
[09-Nov-2023 15:09:31 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')
#7 /wp-admin/admin.php(34): require_once('...')
#8 /wp-admin/edit.php(10): require_once('...')
#9 {main}
  thrown in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php on line 256
[09-Nov-2023 15:09:31 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')
#7 /wp-admin/admin.php(34): require_once('...')
#8 /wp-admin/post-new.php(10): require_once('...')
#9 {main}
  thrown in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php on line 256
[09-Nov-2023 15:09:31 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')
#7 /wp-admin/admin.php(34): require_once('...')
#8 /wp-admin/upload.php(10): require_once('...')
#9 {main}
  thrown in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php on line 256
[09-Nov-2023 15:09:31 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Gateway_Afterpay" not found in /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:256
Stack trace:
#0 /wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(453): Afterpay_Plugin::register_js_lib()
#1 /wp-includes/class-wp-hook.php(324): Afterpay_Plugin::register_blocks()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-settings.php(643): do_action()
#5 /wp-config.php(191): require_once('...')
#6 /wp-load.php(50): require_once('...')

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