Predictive Search for WooCommerce 5.3.16

Does "Predictive Search for WooCommerce" work with WordPress 5.8.3 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.3
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=134ee8edab
Aspect after-activation
HTTP status 200
Load time 0.961 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.058 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.374 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.280 s0.255 s-0.025 s3.08 MiB3.97 MiB+ 909.25 KiB
/wp-admin/edit.php0.175 s0.190 s+0.015 s3.11 MiB4.06 MiB+ 974.27 KiB
/wp-admin/post-new.php0.742 s0.856 s+0.114 s5.27 MiB6.16 MiB+ 911.96 KiB
/wp-admin/upload.php0.488 s0.311 s-0.177 s3.03 MiB3.92 MiB+ 908.2 KiB
/wp-admin/options-writing.php0.136 s0.160 s+0.024 s3.02 MiB3.9 MiB+ 892.15 KiB
/wp-admin/media-new.php0.416 s0.185 s-0.231 s3.01 MiB3.89 MiB+ 908.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.171 s0.176 s+0.005 s3.04 MiB3.93 MiB+ 909.25 KiB
/wp-admin/post-new.php?post_type=page0.894 s0.685 s-0.209 s5.26 MiB6.15 MiB+ 910.8 KiB
/wp-admin/options-discussion.php0.228 s0.293 s+0.065 s3 MiB3.89 MiB+ 908.97 KiB
/wp-admin/edit-comments.php0.189 s0.216 s+0.027 s3.04 MiB3.93 MiB+ 908.16 KiB
Average 0.372 s0.333 s-0.039 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

[08-Jan-2022 12:36:35 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
[08-Jan-2022 12:36:40 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
[08-Jan-2022 12:36: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
[08-Jan-2022 12:36: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
[08-Jan-2022 12:36: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
[08-Jan-2022 12:36:45 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
[08-Jan-2022 12:36:45 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
[08-Jan-2022 12:36:45 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