Direct Payments for WooCommerce 1.0.6

Does "Direct Payments for WooCommerce" work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
16PHP fatal errors
120PHP deprecation warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 126.92 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.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800+
WordPress.org page https://wordpress.org/plugins/direct-payments-for-woocommerce/
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=direct-payments-for-woocommerce%2Fdigages.php&plugin_status=all&paged=1&s&_wpnonce=eaeb96c665
Aspect after-activation
HTTP status 200
Load time 0.379 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.058 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.385 s0.277 s-0.108 s3.48 MiB3.61 MiB+ 129.09 KiB
/wp-admin/post-new.php0.872 s0.669 s-0.203 s5.92 MiB6.07 MiB+ 153.2 KiB
/wp-admin/upload.php0.804 s0.378 s-0.426 s3.49 MiB3.6 MiB+ 111.9 KiB
/wp-admin/options-writing.php0.242 s0.230 s-0.012 s3.47 MiB3.58 MiB+ 115.89 KiB
/wp-admin/media-new.php0.289 s0.459 s+0.170 s3.46 MiB3.58 MiB+ 124.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.208 s+0.011 s3.48 MiB3.61 MiB+ 134.76 KiB
/wp-admin/post-new.php?post_type=page0.725 s0.672 s-0.053 s5.92 MiB6.06 MiB+ 148.73 KiB
/wp-admin/options-discussion.php0.313 s0.327 s+0.014 s3.47 MiB3.58 MiB+ 112.7 KiB
/wp-admin/edit-comments.php0.237 s0.244 s+0.007 s3.49 MiB3.6 MiB+ 111.89 KiB
Average 0.452 s0.385 s-0.067 s4.02 MiB4.15 MiB+ 126.92 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP49.8%3,48038461
CSS26.6%1,859471
JavaScript23.1%1,61223618
SVG0.5%37010
Total 6,988 667 90

PHP Code Analysis | More results »

Lines of code 1,889
Total complexity 270
Median class complexity 12.5
Median method complexity 1.0
Most complex class Digages_Gateway_Direct_Pay
Most complex function digages_fetch_payment_methods()
Classes 2
Methods 11
Functions 61

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

[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:18 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:19 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[27-Nov-2024 16:55:19 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/direct-payments-for-woocommerce/others.php:225
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_check_and_populate_cart()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(830): do_action_ref_array()
#4 /wp-includes/functions.php(1336): WP->main()
#5 /wp-blog-header.php(16): wp()
#6 /index.php(17): require('...')
#7 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/others.php on line 225
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:19 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/direct-payments-for-woocommerce/others.php:225
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_check_and_populate_cart()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(830): do_action_ref_array()
#4 /wp-includes/functions.php(1336): WP->main()
#5 /wp-admin/includes/post.php(1306): wp()
#6 /wp-admin/includes/class-wp-posts-list-table.php(165): wp_edit_posts_query()
#7 /wp-admin/edit.php(235): WP_Posts_List_Table->prepare_items()
#8 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/others.php on line 225
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:21 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[27-Nov-2024 16:55:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[27-Nov-2024 16:55:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[27-Nov-2024 16:55:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329

(+158 more lines)
See also: All tests for this plugin