Peach Payments Gateway 3.0.1

Does "WooCommerce Peach Payments Gateway" work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
3PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/wc-peach-payments-gateway/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=wc-peach-payments-gateway%2Fwoocommerce-gateway-peach-payments.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=wc-peach-payments-gateway%2Fwoocommerce-gateway-peach-payments.php&plugin_status=all&paged=1&s&_wpnonce=88d0743569
Aspect after-activation
HTTP status 200
Load time 0.586 s
Memory usage 3.69 MiB
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
CSS
Language % Lines of code Comment lines Files
PHP84.8%4,7781,21111
CSS8.7%49244
JavaScript3.8%2133614
Bourne Shell2.2%123111
SVG0.3%1622
Markdown0.2%1101
Total 5,633 1,264 33

PHP Code Analysis | More results »

Lines of code 4,920
Total complexity 788
Median class complexity 20.0
Median method complexity 3.0
Most complex class WC_Peach_Payments
Most complex function woocommerce_gateway_peach()
Classes 12
Methods 159
Functions 22

Additions

No data available.

PHP Error Log 3 lines

[07-Jul-2022 13:13:42 UTC] PHP Parse error:  syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /wp-content/plugins/wc-peach-payments-gateway/woocommerce-gateway-peach-payments.php on line 1602
[07-Jul-2022 13:13:42 UTC] PHP Parse error:  syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /wp-content/plugins/wc-peach-payments-gateway/woocommerce-gateway-peach-payments.php on line 1602
[07-Jul-2022 13:13:43 UTC] PHP Parse error:  syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /wp-content/plugins/wc-peach-payments-gateway/woocommerce-gateway-peach-payments.php on line 1602
See also: All tests for this plugin