Product Custom Options(Free) 1.0.1

Does Product Custom Options(Free) work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 10.87 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/fma-product-custom-options/
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?charsout=43&plugin=fma-product-custom-options%2Ffmeaddon-product-custom-options.php&plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=fma-product-custom-options%2Ffmeaddon-product-custom-options.php&plugin_status=all&paged=1&s&_wpnonce=9ee83f5565
Aspect after-activation
HTTP status 200
Load time 0.307 s
Memory usage 3.54 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.210 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.287 s-0.045 s3.51 MiB3.52 MiB+ 17.61 KiB
/wp-admin/edit.php0.194 s0.237 s+0.043 s3.57 MiB3.59 MiB+ 17.65 KiB
/wp-admin/upload.php0.555 s0.274 s-0.281 s3.52 MiB3.52 MiB+ 344 bytes
/wp-admin/options-writing.php0.217 s0.197 s-0.020 s3.5 MiB3.51 MiB+ 4.33 KiB
/wp-admin/media-new.php0.267 s0.237 s-0.030 s3.49 MiB3.5 MiB+ 12.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.270 s+0.081 s3.5 MiB3.53 MiB+ 23.2 KiB
/wp-admin/options-discussion.php0.483 s0.248 s-0.235 s3.5 MiB3.5 MiB+ 848 bytes
/wp-admin/edit-comments.php0.225 s0.234 s+0.009 s3.52 MiB3.52 MiB+ 336 bytes
/0.295 s0.242 s-0.053 s3.43 MiB3.45 MiB+ 21.02 KiB
Average 0.306 s0.247 s-0.059 s3.51 MiB3.52 MiB+ 10.87 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
PHP85.2%1,372355
CSS14.8%23902
Total 1,611 35 7

PHP Code Analysis | More results »

Lines of code 822
Total complexity 132
Median class complexity 46.0
Median method complexity 1.0
Most complex class FME_Product_Custom_Options_Front
Most complex function FME_Product_Custom_Options_Admin::fme_save_product_meta()
Classes 3
Methods 44
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.

Database Tables 3

PHP Error Log 24 lines

[02-May-2025 19:18:07 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 19:18:07 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 6121
[02-May-2025 19:18:10 UTC] PHP Warning:  Undefined array key "product_option" in /wp-content/plugins/fma-product-custom-options/admin/class-fme-product-custom-options-admin.php on line 61
[02-May-2025 19:18:10 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/fma-product-custom-options/admin/class-fme-product-custom-options-admin.php:61
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): FME_Product_Custom_Options_Admin->fme_save_product_meta()
#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/post.php(5110): do_action()
#4 /wp-admin/includes/post.php(772): wp_insert_post()
#5 /wp-admin/post-new.php(66): get_default_post_to_edit()
#6 {main}
  thrown in /wp-content/plugins/fma-product-custom-options/admin/class-fme-product-custom-options-admin.php on line 61
[02-May-2025 19:18:11 UTC] PHP Warning:  Undefined array key "product_option" in /wp-content/plugins/fma-product-custom-options/admin/class-fme-product-custom-options-admin.php on line 61
[02-May-2025 19:18:11 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/fma-product-custom-options/admin/class-fme-product-custom-options-admin.php:61
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): FME_Product_Custom_Options_Admin->fme_save_product_meta()
#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/post.php(5110): do_action()
#4 /wp-admin/includes/post.php(772): wp_insert_post()
#5 /wp-admin/post-new.php(66): get_default_post_to_edit()
#6 {main}
  thrown in /wp-content/plugins/fma-product-custom-options/admin/class-fme-product-custom-options-admin.php on line 61
See also: All tests for this plugin