Predictive Search for WooCommerce 5.3.15

Does "Predictive Search for WooCommerce" work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 914.14 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-predictive-search/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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-predictive-search%2Fwc-predictive-search.php&plugin_status=all&paged=1&s&_wpnonce=63dc1ab982
Aspect after-activation
HTTP status 200
Load time 0.900 s
Memory usage 5.42 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 500
Load time 0.141 s
Memory usage N/A
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.426 s
Memory usage 5.34 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.311 s0.236 s-0.075 s3.08 MiB3.97 MiB+ 909.25 KiB
/wp-admin/edit.php0.176 s0.189 s+0.013 s3.11 MiB4.06 MiB+ 974.27 KiB
/wp-admin/post-new.php1.062 s1.416 s+0.354 s5.27 MiB6.16 MiB+ 911.96 KiB
/wp-admin/upload.php0.405 s0.320 s-0.085 s3.03 MiB3.92 MiB+ 908.2 KiB
/wp-admin/options-writing.php0.274 s0.129 s-0.145 s3.02 MiB3.9 MiB+ 892.15 KiB
/wp-admin/media-new.php0.287 s0.184 s-0.103 s3.01 MiB3.89 MiB+ 908.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.172 s+0.008 s3.04 MiB3.93 MiB+ 909.25 KiB
/wp-admin/post-new.php?post_type=page0.936 s0.773 s-0.163 s5.26 MiB6.15 MiB+ 910.8 KiB
/wp-admin/options-discussion.php0.214 s0.328 s+0.114 s3 MiB3.89 MiB+ 908.97 KiB
/wp-admin/edit-comments.php0.199 s0.232 s+0.033 s3.04 MiB3.93 MiB+ 908.16 KiB
Average 0.403 s0.398 s-0.005 s3.49 MiB4.38 MiB+ 914.14 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
JSON
JavaScript
PO File
Language % Lines of code Comment lines Files
PHP30.0%14,6602,91960
JSON27.0%13,20301
JavaScript24.4%11,9481,42516
PO File9.3%4,5693,6515
CSS6.5%3,15810714
SVG1.4%70204
LESS1.3%642265
HTML0.1%2901
Total 48,911 8,128 106

PHP Code Analysis | More results »

Lines of code 13,641
Total complexity 3,067
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 548
Functions 35

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 4

Options wp_options 33

Sidebar Widgets 1

ID Name
products_predictive_searchWooCommerce Predictive Search

PHP Error Log 80 lines

[12-Nov-2021 10:22:44 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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[12-Nov-2021 10:22:50 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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[12-Nov-2021 10:22:54 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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[12-Nov-2021 10:22:54 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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[12-Nov-2021 10:22:54 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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[12-Nov-2021 10:22: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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[12-Nov-2021 10:22: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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[12-Nov-2021 10:22: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(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(303): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
See also: All tests for this plugin