Free Downloads WooCommerce 3.5.8.3

Does Free Downloads WooCommerce work with WordPress 6.7.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 274.34 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/download-now-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=download-now-for-woocommerce%2Fsom-woocommerce-download-now.php&plugin_status=all&paged=1&s&_wpnonce=798743a237
Aspect after-activation
HTTP status 200
Load time 0.261 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.116 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.301 s0.259 s-0.042 s3.48 MiB3.75 MiB+ 276.81 KiB
/wp-admin/edit.php0.186 s0.174 s-0.012 s3.54 MiB3.81 MiB+ 276.4 KiB
/wp-admin/post-new.php0.706 s0.609 s-0.097 s5.93 MiB6.21 MiB+ 287.96 KiB
/wp-admin/upload.php0.536 s0.626 s+0.090 s3.5 MiB3.75 MiB+ 264.13 KiB
/wp-admin/options-writing.php0.200 s0.194 s-0.006 s3.47 MiB3.74 MiB+ 268.12 KiB
/wp-admin/media-new.php0.247 s0.237 s-0.010 s3.46 MiB3.73 MiB+ 276.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.204 s+0.012 s3.48 MiB3.75 MiB+ 281.48 KiB
/wp-admin/post-new.php?post_type=page0.549 s0.532 s-0.017 s5.92 MiB6.2 MiB+ 283.48 KiB
/wp-admin/options-discussion.php0.244 s0.250 s+0.006 s3.48 MiB3.73 MiB+ 264.62 KiB
/wp-admin/edit-comments.php0.380 s0.207 s-0.173 s3.5 MiB3.75 MiB+ 264.12 KiB
/0.287 s0.139 s-0.148 s3.41 MiB
Average 0.348 s0.312 s-0.036 s3.92 MiB4.24 MiB+ 274.34 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
PO File
CSS
Language % Lines of code Comment lines Files
PHP61.2%6,2061,14347
PO File25.4%2,5761,0444
CSS11.3%1,140353
JavaScript1.5%154432
JSON0.6%5701
Total 10,133 2,265 57

PHP Code Analysis | More results »

Lines of code 6,126
Total complexity 1,257
Median class complexity 7.0
Median method complexity 1.0
Most complex class SOM\FreeDownloads\Lib\Requirements\Requirements
Most complex function somdn_product_page()
Classes 15
Methods 84
Functions 296

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.

Meta Boxes

{
    "product": {
        "download_now-download-now": {
            "title": "Free Downloads",
            "context": "side"
        }
    }
}

PHP Error Log 40 lines

[13-Feb-2025 00:31:47 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): somdn_is_single_product_woo()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-content/plugins/download-now-for-woocommerce/Includes/Legacy/somdn-functions.php(144): apply_filters()
#3 /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-compatibility.php(466): somdn_is_single_product()
#4 /wp-includes/class-wp-hook.php(324): somdn_purchasable_compat_head()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3064): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php on line 96
[13-Feb-2025 00:31:54 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): somdn_is_single_product_woo()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-content/plugins/download-now-for-woocommerce/Includes/Legacy/somdn-functions.php(144): apply_filters()
#3 /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-compatibility.php(466): somdn_is_single_product()
#4 /wp-includes/class-wp-hook.php(324): somdn_purchasable_compat_head()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3064): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/download-now-for-woocommerce/woo-files/somdn-woo-functions.php on line 96
See also: All tests for this plugin