Yoco Payments 3.1.0

Does Yoco Payments work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 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.3.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/yoco-payment-gateway/
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=yoco-payment-gateway%2Fyoco_wc_payment_gateway.php&plugin_status=all&paged=1&s&_wpnonce=5158c3b8fc
Aspect after-activation
HTTP status 500
Load time 0.130 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.203 s
Memory usage 3.07 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
Language % Lines of code Comment lines Files
PHP88.6%2,65311774
PO File5.9%178691
Markdown2.0%5901
JavaScript1.7%5001
CSS1.0%2902
SVG0.9%2602
Total 2,995 186 81

PHP Code Analysis | More results »

Lines of code 2,573
Total complexity 508
Median class complexity 6.0
Median method complexity 1.0
Most complex class Yoco\Telemetry\Models\TelemetryObject
Most complex function Yoco\Gateway\Processors\PaymentProcessor::process()
Classes 67
Methods 277
Functions 3

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

[27-Sep-2023 13:40:45 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Log_Levels" not found in /wp-content/plugins/yoco-payment-gateway/src/Helpers/Logger.php:29
Stack trace:
#0 /wp-content/plugins/yoco-payment-gateway/src/Core/Setup.php(56): Yoco\Helpers\Logger->logError()
#1 /wp-content/plugins/yoco-payment-gateway/src/Core/Setup.php(25): Yoco\Core\Setup->deactivateAsIncompatibileEnv()
#2 /wp-includes/class-wp-hook.php(310): Yoco\Core\Setup->deactivateOnIncompatibileEnv()
#3 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin.php(175): do_action()
#6 /wp-admin/plugins.php(10): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/yoco-payment-gateway/src/Helpers/Logger.php on line 29
See also: All tests for this plugin