Openpay Cards Plugin 2.7.8

Does Openpay Cards Plugin work with WordPress 6.2.2 and PHP 8.1.12? 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: 5.2 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 version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=ecb42696e1
Aspect after-activation
HTTP status 200
Load time 0.283 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.072 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.341 s0.283 s-0.058 s3.07 MiB3.08 MiB+ 13.55 KiB
/wp-admin/edit.php0.233 s0.220 s-0.013 s3.1 MiB3.11 MiB+ 13.52 KiB
/wp-admin/post-new.php0.910 s0.691 s-0.219 s5.02 MiB5.04 MiB+ 17.88 KiB
/wp-admin/upload.php0.770 s0.368 s-0.402 s3.02 MiB3.01 MiB- 3.86 KiB
/wp-admin/options-writing.php0.240 s0.171 s-0.069 s3.01 MiB3 MiB- 17.1 KiB
/wp-admin/media-new.php0.349 s0.485 s+0.136 s2.99 MiB3 MiB+ 8.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.246 s0.214 s-0.032 s3.01 MiB3.02 MiB+ 13.47 KiB
/wp-admin/post-new.php?post_type=page0.696 s0.630 s-0.066 s5.01 MiB5.03 MiB+ 13.47 KiB
/wp-admin/options-discussion.php0.269 s0.296 s+0.027 s3 MiB3 MiB- 3.37 KiB
/wp-admin/edit-comments.php0.291 s0.251 s-0.040 s3.03 MiB3.02 MiB- 3.87 KiB
Average 0.434 s0.361 s-0.074 s3.43 MiB3.43 MiB+ 5.2 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
PHP60.0%2,61630828
JavaScript22.9%999354
Markdown15.4%67201
SVG0.8%3703
JSON0.8%3301
Total 4,357 343 37

PHP Code Analysis | More results »

Lines of code 2,300
Total complexity 529
Median class complexity 1.0
Median method complexity 2.0
Most complex class Openpay_Cards
Most complex function Openpay_Cards::processOpenpayCharge()
Classes 38
Methods 148
Functions 13

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

[22-May-2023 12:55:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/openpay-cards/openpay_cards.php:114
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): wc_custom_redirect_after_purchase()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
  thrown in /wp-content/plugins/openpay-cards/openpay_cards.php on line 114
[22-May-2023 12:55:35 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/openpay-cards/openpay_cards.php:114
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): wc_custom_redirect_after_purchase()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
  thrown in /wp-content/plugins/openpay-cards/openpay_cards.php on line 114
See also: All tests for this plugin