TradeSafe Payment Gateway 2.9.1

Does TradeSafe Payment Gateway work with WordPress 6.1.1 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 40+
WordPress.org page https://wordpress.org/plugins/tradesafe-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=tradesafe-payment-gateway%2Ftradesafe-payment-gateway.php&plugin_status=all&paged=1&s&_wpnonce=d51fef291b
Aspect after-activation
HTTP status 500
Load time 0.142 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.6%3,40146913
JavaScript2.6%9322
CSS0.7%2401
SVG0.1%402
Total 3,522 471 18

PHP Code Analysis | More results »

Lines of code 2,971
Total complexity 424
Median class complexity 85.0
Median method complexity 3.0
Most complex class TradeSafe
Most complex function WC_Gateway_TradeSafe::process_payment()
Classes 5
Methods 79
Functions 15

Additions

No data available.

PHP Error Log 14 lines

[12-Dec-2022 13:37:21 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "WC_GATEWAY_TRADESAFE_VERSION" in /wp-content/plugins/tradesafe-payment-gateway/tradesafe-payment-gateway.php:348
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): tradesafe_payment_gateway_update_db_check()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(480): 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/tradesafe-payment-gateway/tradesafe-payment-gateway.php on line 348
[12-Dec-2022 13:37:21 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/support/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 5835
[12-Dec-2022 13:37:21 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/support/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 5835
See also: All tests for this plugin