Does "Predictive Search for WooCommerce" work with WordPress 6.6 and PHP 8.1.12? A smoke test was performed on .
13 | PHP fatal errors |
11 | JavaScript exceptions |
1 | Page failed to load
|
No resource errors |
Memory usage: 855.04 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.6 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 1,000+ |
WordPress.org page | https://wordpress.org/plugins/woocommerce-predictive-search/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=woocommerce-predictive-search%2Fwc-predictive-search.php&plugin_status=all&paged=1&s&_wpnonce=895ad78d96 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.552 s |
Memory usage | 5.83 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 500 |
Load time | 0.068 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 2.353 s |
Memory usage | 6.42 MiB |
JS errors |
|
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.364 s | 0.326 s | -0.038 s | 3.47 MiB | 4.29 MiB | + 838.1 KiB |
/wp-admin/edit.php | 0.227 s | 0.240 s | +0.013 s | 3.54 MiB | 4.38 MiB | + 863.45 KiB |
/wp-admin/post-new.php | 0.805 s | 0.621 s | -0.184 s | 5.75 MiB | 6.58 MiB | + 848.64 KiB |
/wp-admin/upload.php | 0.592 s | 0.428 s | -0.164 s | 3.49 MiB | 4.29 MiB | + 821.03 KiB |
/wp-admin/options-writing.php | 0.218 s | 0.211 s | -0.007 s | 3.41 MiB | 4.27 MiB | + 883.84 KiB |
/wp-admin/media-new.php | 0.251 s | 0.477 s | +0.226 s | 3.4 MiB | 4.27 MiB | + 897.22 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.192 s | 0.201 s | +0.009 s | 3.47 MiB | 4.29 MiB | + 843.89 KiB |
/wp-admin/post-new.php?post_type=page | 0.616 s | 0.608 s | -0.008 s | 5.75 MiB | 6.57 MiB | + 847.65 KiB |
/wp-admin/options-discussion.php | 0.258 s | 0.285 s | +0.027 s | 3.41 MiB | 4.27 MiB | + 885.52 KiB |
/wp-admin/edit-comments.php | 0.217 s | 0.235 s | +0.018 s | 3.49 MiB | 4.29 MiB | + 821.02 KiB |
Average | 0.374 s | 0.363 s | -0.011 s | 3.92 MiB | 4.75 MiB | + 855.04 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 | 31.1% | 15,230 | 2,943 | 60 | |
JSON | 27.0% | 13,203 | 0 | 1 | |
JavaScript | 24.5% | 11,981 | 1,428 | 16 | |
PO File | 9.3% | 4,569 | 3,651 | 5 | |
CSS | 6.6% | 3,222 | 109 | 14 | |
LESS | 1.3% | 642 | 26 | 5 | |
SVG | 0.1% | 47 | 0 | 3 | |
HTML | 0.1% | 29 | 0 | 1 | |
Total | 48,923 | 8,157 | 105 |
Lines of code | 14,200 |
---|---|
Total complexity | 3,121 |
Median class complexity | 20.0 |
Median method complexity | 2.0 |
Most complex class | A3Rev\WCPredictiveSearch\FrameWork\Admin_Interface |
Most complex function | A3Rev\WCPredictiveSearch\FrameWork\Admin_Interface::admin_forms() |
Classes | 43 |
---|---|
Methods | 559 |
Functions | 35 |
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.
wp_options
33ID | Name |
---|---|
products_predictive_search | WooCommerce Predictive Search |
[19-Jul-2024 02:34:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(104): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(324): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2263): do_action()
#5 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3065): do_action()
#9 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#10 /wp-includes/template.php(810): require_once('...')
#11 /wp-includes/template.php(745): load_template()
#12 /wp-includes/general-template.php(48): locate_template()
#13 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#14 /wp-includes/template-loader.php(106): include('...')
#15 /wp-blog-header.php(19): require_once('...')
#16 /index.php(17): require('...')
#17 {main}
thrown in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[19-Jul-2024 02:34:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(104): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(324): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2263): do_action()
#5 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3065): do_action()
#9 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#10 /wp-includes/template.php(810): require_once('...')
#11 /wp-includes/template.php(745): load_template()
#12 /wp-includes/general-template.php(48): locate_template()
#13 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#14 /wp-includes/template-loader.php(106): include('...')
#15 /wp-blog-header.php(19): require_once('...')
#16 /index.php(17): require('...')
#17 {main}
thrown in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[19-Jul-2024 02:34:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(104): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(324): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2263): do_action()
#5 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3065): do_action()
#9 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(631): wp_head()
#10 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(603): WP_REST_Widget_Types_Controller->render_legacy_widget_preview_iframe()
#11 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Widget_Types_Controller->render()
#12 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#13 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#14 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#15 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#16 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#17 /wp-includes/plugin.php(565): WP_Hook->do_action()
#18 /wp-includes/class-wp.php(418): do_action_ref_array()
#19 /wp-includes/class-wp.php(813): WP->parse_request()
#20 /wp-includes/functions.php(1336): WP->main()
#21 /wp-blog-header.php(16): wp()
#22 /index.php(17): require('...')
#23 {main}
thrown in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[19-Jul-2024 02:34:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(104): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(324): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2263): do_action()
#5 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3065): do_action()
#9 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(631): wp_head()
#10 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(603): WP_REST_Widget_Types_Controller->render_legacy_widget_preview_iframe()
#11 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Widget_Types_Controller->render()
#12 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#13 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#14 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#15 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#16 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#17 /wp-includes/plugin.php(565): WP_Hook->do_action()
#18 /wp-includes/class-wp.php(418): do_action_ref_array()
#19 /wp-includes/class-wp.php(813): WP->parse_request()
#20 /wp-includes/functions.php(1336): WP->main()
#21 /wp-blog-header.php(16): wp()
#22 /index.php(17): require('...')
#23 {main}
thrown in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[19-Jul-2024 02:34:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(104): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(324): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
(+239 more lines)