WooCommerce Multiple Free Gift 1.2.3

Does WooCommerce Multiple Free Gift work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 39.72 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.8.3
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/woocommerce-multiple-free-gift/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=woocommerce-multiple-free-gift%2Fwoocommerce-multiple-free-gift.php&plugin_status=all&paged=1&s&_wpnonce=eecfa58fbe
Aspect after-activation
HTTP status 200
Load time 0.479 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Woo Free Gift

Page screenshot: Woo Free Gift
URL /wp-admin/admin.php?page=woocommerce-multiple-free-gift
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage N/A
JS errors None
Resource errors None

Woo Free Gift → Gift Criteria

Page screenshot: Woo Free Gift → Gift Criteria
URL /wp-admin/admin.php?page=woocommerce-multiple-free-gift-criteria
Aspect menu-item
HTTP status 200
Load time 0.172 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Woo Free Gift → General Settings

Page screenshot: Woo Free Gift → General Settings
URL /wp-admin/admin.php?page=woocommerce-multiple-free-gift-settings
Aspect menu-item
HTTP status 200
Load time 0.168 s
Memory usage 3.53 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.155 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.360 s0.295 s-0.065 s3.51 MiB3.55 MiB+ 47.93 KiB
/wp-admin/edit.php0.216 s0.242 s+0.026 s3.57 MiB3.62 MiB+ 45.95 KiB
/wp-admin/post-new.php0.898 s0.787 s-0.111 s6.06 MiB6.11 MiB+ 48.2 KiB
/wp-admin/upload.php0.852 s0.821 s-0.031 s3.52 MiB3.55 MiB+ 28.54 KiB
/wp-admin/options-writing.php0.263 s0.300 s+0.037 s3.5 MiB3.53 MiB+ 32.53 KiB
/wp-admin/media-new.php0.307 s0.342 s+0.035 s3.49 MiB3.53 MiB+ 40.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.243 s+0.016 s3.5 MiB3.55 MiB+ 51.4 KiB
/wp-admin/post-new.php?post_type=page0.807 s0.735 s-0.072 s6.05 MiB6.09 MiB+ 43.72 KiB
/wp-admin/options-discussion.php0.323 s0.312 s-0.011 s3.5 MiB3.53 MiB+ 29.66 KiB
/wp-admin/edit-comments.php0.512 s0.539 s+0.027 s3.52 MiB3.55 MiB+ 28.53 KiB
/0.353 s0.164 s-0.189 s3.43 MiB
Average 0.465 s0.435 s-0.031 s3.97 MiB4.06 MiB+ 39.72 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
Language % Lines of code Comment lines Files
PHP57.5%1,41771014
CSS35.5%874404
PO File3.4%8501
JavaScript3.3%82232
SVG0.2%611
Total 2,464 774 22

PHP Code Analysis | More results »

Lines of code 1,003
Total complexity 221
Median class complexity 18.0
Median method complexity 3.0
Most complex class WFG_Frontend
Most complex function WFG_Admin::wfg_general_settings()
Classes 8
Methods 66
Functions 0

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.

Options wp_options 5

PHP Error Log 41 lines

[02-Oct-2025 06:15:31 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function woocommerce_get_page_id() in /wp-content/plugins/woocommerce-multiple-free-gift/lib/admin/pages/main_menu_page.php:116
Stack trace:
#0 /wp-content/plugins/woocommerce-multiple-free-gift/lib/admin/WFG_Admin.class.php(180): include()
#1 /wp-includes/class-wp-hook.php(324): WFG_Admin->main_menu_template()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin.php(260): do_action()
#5 {main}
  thrown in /wp-content/plugins/woocommerce-multiple-free-gift/lib/admin/pages/main_menu_page.php on line 116
[02-Oct-2025 06:15:33 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-multiple-free-gift/lib/WFG_Frontend.class.php:279
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WFG_Frontend->validate_gifts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3192): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/woocommerce-multiple-free-gift/lib/WFG_Frontend.class.php on line 279
[02-Oct-2025 06:15:42 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-multiple-free-gift/lib/WFG_Frontend.class.php:279
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WFG_Frontend->validate_gifts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3192): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/woocommerce-multiple-free-gift/lib/WFG_Frontend.class.php on line 279
See also: All tests for this plugin