Yoco Payments 3.3.0

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

Summary

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

No data available.

Environment
WordPress version6.3.2
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 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=yoco-payment-gateway%2Fyoco_wc_payment_gateway.php&plugin_status=all&paged=1&s&_wpnonce=3eb6b57189
Aspect after-activation
HTTP status 500
Load time 0.115 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
PHP89.6%2,77713874
PO File5.7%178691
Markdown1.9%5901
JavaScript1.6%5001
SVG0.8%2602
CSS0.3%1001
Total 3,100 207 80

PHP Code Analysis | More results »

Lines of code 2,736
Total complexity 538
Median class complexity 6.0
Median method complexity 1.0
Most complex class Yoco\Telemetry\Models\TelemetryObject
Most complex function Yoco\Core\Setup::deactivateOnIncompatibileEnv()
Classes 67
Methods 286
Functions 4

Additions

No data available.

PHP Error Log 20 lines

[02-Nov-2023 09:14:24 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Payment_Gateway" not found in /wp-content/plugins/yoco-payment-gateway/src/Gateway/Gateway.php:14
Stack trace:
#0 /wp-content/plugins/yoco-payment-gateway/inc/autoload.php(24): include_once()
#1 /wp-content/plugins/yoco-payment-gateway/src/Init.php(104): {closure}()
#2 /wp-content/plugins/yoco-payment-gateway/src/Init.php(85): Yoco\Init->bindPublic()
#3 /wp-content/plugins/yoco-payment-gateway/src/Core/Singleton.php(15): Yoco\Init->__construct()
#4 /wp-content/plugins/yoco-payment-gateway/inc/helpers.php(13): Yoco\Core\Singleton::get()
#5 /wp-content/plugins/yoco-payment-gateway/yoco_wc_payment_gateway.php(46): Yoco\yoco_load()
#6 /wp-includes/class-wp-hook.php(310): {closure}()
#7 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#8 /wp-includes/plugin.php(517): WP_Hook->do_action()
#9 /wp-settings.php(495): do_action()
#10 /wp-config.php(191): require_once('...')
#11 /wp-load.php(50): require_once('...')
#12 /wp-admin/admin.php(34): require_once('...')
#13 /wp-admin/plugins.php(10): require_once('...')
#14 {main}
  thrown in /wp-content/plugins/yoco-payment-gateway/src/Gateway/Gateway.php on line 14
[02-Nov-2023 09:14:24 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5905
[02-Nov-2023 09:14:24 UTC] PHP Notice:  Function is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5905
See also: All tests for this plugin