Ajax Single Add to cart for WooCommerce 1.0.0

Does "Ajax Single Add to cart for WooCommerce" work with WordPress 6.7 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

No data available.

Environment
WordPress version6.7
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/ajax-single-add-to-cart-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=ajax-single-add-to-cart-for-woocommerce%2Fgpls-atcfw-single-ajax-add-to-cart.php&plugin_status=all&paged=1&s&_wpnonce=bf6e360e61
Aspect after-activation
HTTP status 500
Load time 0.130 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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
Language % Lines of code Comment lines Files
PHP100.0%67951510
Total 679 515 10

PHP Code Analysis | More results »

Lines of code 676
Total complexity 150
Median class complexity 22.0
Median method complexity 2.0
Most complex class GPLSCore\GPLS_PLUGIN_ATCFW\AddToCart
Most complex function GPLSCore\GPLS_PLUGIN_ATCFW\Settings::save_settings()
Classes 6
Methods 51
Functions 0

Additions

No data available.

PHP Error Log 15 lines

[20-Nov-2024 22:24:30 UTC] PHP Fatal error:  Uncaught Error: Class "WC_Admin_Settings" not found in /wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/includes/Settings.php:163
Stack trace:
#0 /wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/includes/Settings.php(67): GPLSCore\GPLS_PLUGIN_ATCFW\Settings::get_main_settings()
#1 /wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/gpls-atcfw-single-ajax-add-to-cart.php(154): GPLSCore\GPLS_PLUGIN_ATCFW\Settings->__construct()
#2 /wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/gpls-atcfw-single-ajax-add-to-cart.php(89): GPLSCore\GPLS_PLUGIN_ATCFW\GPLS_ATCFW_WOO_Ajax_Add_To_Cart_For_WooCommerce->__construct()
#3 /wp-includes/class-wp-hook.php(324): GPLSCore\GPLS_PLUGIN_ATCFW\GPLS_ATCFW_WOO_Ajax_Add_To_Cart_For_WooCommerce::init()
#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-settings.php(559): do_action()
#7 /wp-config.php(191): require_once('...')
#8 /wp-load.php(50): require_once('...')
#9 /wp-admin/admin.php(34): require_once('...')
#10 /wp-admin/plugins.php(10): require_once('...')
#11 {main}
  thrown in /wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/includes/Settings.php on line 163
See also: All tests for this plugin