Does "Automatically add product to cart" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .
16 | PHP fatal errors |
No JavaScript exceptions | |
1 | Page failed to load
|
No resource errors |
Memory usage: 7.28 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.
WordPress version | 6.8.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 20+ |
WordPress.org page | https://wordpress.org/plugins/automatically-add-product-to-cart/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=automatically-add-product-to-cart%2Fautomatically-add-product-to-cart.php&plugin_status=all&paged=1&s&_wpnonce=5cfc183f3e |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.287 s |
Memory usage | 3.54 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 500 |
Load time | 0.054 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.339 s | 0.259 s | -0.080 s | 3.51 MiB | 3.52 MiB | + 13.88 KiB |
/wp-admin/edit.php | 0.191 s | 0.301 s | +0.110 s | 3.57 MiB | 3.59 MiB | + 13.34 KiB |
/wp-admin/post-new.php | 0.764 s | 0.659 s | -0.105 s | 6.06 MiB | 6.08 MiB | + 17.47 KiB |
/wp-admin/upload.php | 0.566 s | 0.463 s | -0.103 s | 3.52 MiB | 3.52 MiB | - 4.06 KiB |
/wp-admin/options-writing.php | 0.217 s | 0.300 s | +0.083 s | 3.5 MiB | 3.5 MiB | - 72 bytes |
/wp-admin/media-new.php | 0.273 s | 0.274 s | +0.001 s | 3.49 MiB | 3.5 MiB | + 8.13 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.277 s | 0.215 s | -0.062 s | 3.5 MiB | 3.52 MiB | + 18.8 KiB |
/wp-admin/post-new.php?post_type=page | 0.594 s | 0.648 s | +0.054 s | 6.05 MiB | 6.06 MiB | + 12.98 KiB |
/wp-admin/options-discussion.php | 0.261 s | 0.298 s | +0.037 s | 3.5 MiB | 3.5 MiB | - 3.57 KiB |
/wp-admin/edit-comments.php | 0.414 s | 0.225 s | -0.189 s | 3.52 MiB | 3.52 MiB | - 4.07 KiB |
Average | 0.390 s | 0.364 s | -0.025 s | 4.02 MiB | 4.03 MiB | + 7.28 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 100.0% | 152 | 45 | 4 | |
Total | 152 | 45 | 4 |
Lines of code | 140 |
---|---|
Total complexity | 31 |
Median class complexity | 15.5 |
Median method complexity | 1.0 |
Most complex class | WC_Cmetric_Aptc |
Most complex function | WP_Class_Cmetric_Aptc_Settings::cmetric_aptc_add_product_to_cart() |
Classes | 2 |
---|---|
Methods | 14 |
Functions | 0 |
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.
[22-Jul-2025 19:31:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:38 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:38 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:38 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
[22-Jul-2025 19:31:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WP_Class_Cmetric_Aptc_Settings->cmetric_aptc_add_product_to_cart()
#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/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
thrown in /wp-content/plugins/automatically-add-product-to-cart/includes/cmetric_aptc_settings_functions.php on line 100
(+60 more lines)