Openpay Cards Plugin 2.4.2

Does Openpay Cards Plugin work with WordPress 5.7.2 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.2
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=e73c5bd4cf
Aspect after-activation
HTTP status 200
Load time 0.234 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.057 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.287 s0.243 s-0.044 s2.82 MiB2.83 MiB+ 9.26 KiB
/wp-admin/edit.php0.184 s0.188 s+0.004 s2.86 MiB2.87 MiB+ 9.26 KiB
/wp-admin/post-new.php1.006 s1.034 s+0.028 s5.02 MiB5.05 MiB+ 21.62 KiB
/wp-admin/upload.php0.530 s0.388 s-0.142 s2.7 MiB2.7 MiB+ 4.13 KiB
/wp-admin/options-writing.php0.152 s0.217 s+0.065 s2.71 MiB2.68 MiB- 27.9 KiB
/wp-admin/media-new.php0.320 s0.186 s-0.134 s2.67 MiB2.68 MiB+ 4.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.179 s-0.031 s2.77 MiB2.78 MiB+ 5.2 KiB
/wp-admin/post-new.php?post_type=page1.272 s0.705 s-0.567 s5.01 MiB5.02 MiB+ 13.2 KiB
/wp-admin/options-discussion.php0.276 s0.194 s-0.082 s2.67 MiB2.68 MiB+ 4.61 KiB
/wp-admin/edit-comments.php0.215 s0.267 s+0.052 s2.78 MiB2.78 MiB+ 4.11 KiB
Average 0.445 s0.360 s-0.085 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
PHP58.2%2,08429726
JavaScript22.1%789143
Markdown18.8%67201
JSON0.9%3301
Total 3,578 311 31

PHP Code Analysis | More results »

Lines of code 1,919
Total complexity 452
Median class complexity 1.0
Median method complexity 2.0
Most complex class Openpay_Cards
Most complex function OpenpayApiConnector::handleRequestError()
Classes 37
Methods 136
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

[23-Jun-2021 16:05:53 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
[23-Jun-2021 16:05:59 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