Predictive Search for WooCommerce 4.3.0

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

Summary

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

Memory usage: 902.17 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.2.2
PHP version7.2.16
MySQL version8.0.15
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=d6ec84d659
Aspect after-activation
HTTP status 200
Load time 1.195 s
Memory usage 5.48 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.136 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.098 s
Memory usage 4.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.303 s0.221 s-0.082 s3.6 MiB4.44 MiB+ 864.7 KiB
/wp-admin/edit.php0.251 s0.346 s+0.095 s3.63 MiB4.48 MiB+ 865.72 KiB
/wp-admin/post-new.php1.118 s1.061 s-0.057 s5.27 MiB6.19 MiB+ 940.42 KiB
/wp-admin/upload.php0.651 s0.805 s+0.154 s3.46 MiB4.37 MiB+ 927.63 KiB
/wp-admin/options-writing.php0.196 s0.363 s+0.167 s3.55 MiB4.36 MiB+ 834.23 KiB
/wp-admin/media-new.php0.268 s0.282 s+0.014 s3.45 MiB4.35 MiB+ 927.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.243 s0.301 s+0.058 s3.48 MiB4.39 MiB+ 928.7 KiB
/wp-admin/post-new.php?post_type=page1.059 s1.013 s-0.046 s5.25 MiB6.17 MiB+ 940.42 KiB
/wp-admin/options-discussion.php0.603 s0.255 s-0.348 s3.45 MiB4.36 MiB+ 928.42 KiB
/wp-admin/edit-comments.php0.293 s0.354 s+0.061 s3.55 MiB4.4 MiB+ 863.61 KiB
Average 0.498 s0.500 s+0.002 s3.87 MiB4.75 MiB+ 902.17 KiB

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 30

Sidebar Widgets 1

ID Name
products_predictive_searchWooCommerce Predictive Search

PHP Error Log 18 lines

[03-Aug-2019 05:24:31 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:25
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(94): WC_Predictive_Search_Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(286): WC_Predictive_Search_Hook_Backbone->register_plugin_scripts('')
#2 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 /wp-includes/script-loader.php(2537): do_action('wp_enqueue_scri...')
#5 /wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
#6 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, A in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 25
[03-Aug-2019 05:24:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:25
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(94): WC_Predictive_Search_Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(286): WC_Predictive_Search_Hook_Backbone->register_plugin_scripts('')
#2 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 /wp-includes/script-loader.php(2537): do_action('wp_enqueue_scri...')
#5 /wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
#6 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, A in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 25
See also: All tests for this plugin