Openpay Cards Plugin 2.3.0

Does Openpay Cards Plugin work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 4.78 KiB
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 version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/openpay-cards/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=openpay-cards%2Fopenpay_cards.php&plugin_status=all&paged=1&s&_wpnonce=037158d799
Aspect after-activation
HTTP status 200
Load time 0.289 s
Memory usage 2.72 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.060 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.310 s0.303 s-0.007 s2.82 MiB2.83 MiB+ 9.26 KiB
/wp-admin/edit.php0.217 s0.263 s+0.046 s2.86 MiB2.87 MiB+ 9.26 KiB
/wp-admin/post-new.php1.080 s1.277 s+0.197 s5.02 MiB5.04 MiB+ 21.62 KiB
/wp-admin/upload.php0.550 s0.327 s-0.223 s2.7 MiB2.7 MiB+ 4.13 KiB
/wp-admin/options-writing.php0.179 s0.159 s-0.020 s2.71 MiB2.68 MiB- 27.9 KiB
/wp-admin/media-new.php0.391 s0.289 s-0.102 s2.67 MiB2.68 MiB+ 4.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.202 s-0.026 s2.77 MiB2.78 MiB+ 5.2 KiB
/wp-admin/post-new.php?post_type=page1.310 s1.292 s-0.018 s5.01 MiB5.02 MiB+ 13.2 KiB
/wp-admin/options-discussion.php0.320 s0.330 s+0.010 s2.67 MiB2.68 MiB+ 4.61 KiB
/wp-admin/edit-comments.php0.320 s0.255 s-0.065 s2.78 MiB2.78 MiB+ 4.11 KiB
Average 0.490 s0.470 s-0.021 s3.2 MiB3.21 MiB+ 4.78 KiB

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
JavaScript
Markdown
Language % Lines of code Comment lines Files
PHP57.4%2,00029726
JavaScript22.3%778143
Markdown19.3%67201
JSON0.9%3301
Total 3,483 311 31

PHP Code Analysis | More results »

Lines of code 1,840
Total complexity 437
Median class complexity 1.0
Median method complexity 2.0
Most complex class Openpay_Cards
Most complex function OpenpayApiConnector::handleRequestError()
Classes 37
Methods 130
Functions 6

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

[11-Mar-2021 13:05:15 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/openpay-cards/openpay_cards.php:78
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): wc_custom_redirect_after_purchase()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('/opt/bitnami/ap...')
#5 /index.php(17): require('/opt/bitnami/ap...')
#6 {main}
  thrown in /wp-content/plugins/openpay-cards/openpay_cards.php on line 78
[11-Mar-2021 13:05:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/openpay-cards/openpay_cards.php:78
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): wc_custom_redirect_after_purchase()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('/opt/bitnami/ap...')
#5 /index.php(17): require('/opt/bitnami/ap...')
#6 {main}
  thrown in /wp-content/plugins/openpay-cards/openpay_cards.php on line 78
See also: All tests for this plugin