Direct Payments for WooCommerce 1.0.1

Does "Direct Payments for WooCommerce" work with WordPress 6.6.2 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: 146.61 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.055 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
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=df2e414171
Aspect after-activation
HTTP status 200
Load time 0.364 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.047 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.333 s-0.008 s3.47 MiB3.6 MiB+ 128 KiB
/wp-admin/post-new.php0.797 s1.040 s+0.243 s5.75 MiB5.9 MiB+ 152.17 KiB
/wp-admin/upload.php0.656 s0.490 s-0.166 s3.49 MiB3.6 MiB+ 110.92 KiB
/wp-admin/options-writing.php0.217 s0.380 s+0.163 s3.41 MiB3.58 MiB+ 173.73 KiB
/wp-admin/media-new.php0.253 s0.311 s+0.058 s3.4 MiB3.58 MiB+ 187.11 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.223 s+0.029 s3.47 MiB3.6 MiB+ 133.78 KiB
/wp-admin/post-new.php?post_type=page0.656 s0.720 s+0.064 s5.75 MiB5.89 MiB+ 147.76 KiB
/wp-admin/options-discussion.php0.221 s0.300 s+0.079 s3.41 MiB3.58 MiB+ 175.1 KiB
/wp-admin/edit-comments.php0.237 s0.270 s+0.033 s3.49 MiB3.6 MiB+ 110.91 KiB
Average 0.397 s0.452 s+0.055 s3.96 MiB4.1 MiB+ 146.61 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.2%3,38237061
CSS26.8%1,840471
JavaScript23.4%1,61119517
SVG0.5%37010
Total 6,870 612 89

PHP Code Analysis | More results »

Lines of code 1,780
Total complexity 265
Median class complexity 13.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 58

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

[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:02 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
[06-Nov-2024 17:54:03 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
[06-Nov-2024 17:54:03 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/direct-payments-for-woocommerce/others.php:224
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 224
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/direct-payments-for-woocommerce/others.php:224
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 224
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:04 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
[06-Nov-2024 17:54:05 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
[06-Nov-2024 17:54:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:07 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
[06-Nov-2024 17:54:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[06-Nov-2024 17:54:07 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
[06-Nov-2024 17:54:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300

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