Predictive Search for WooCommerce 4.4.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: 907.52 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.029 seconds
The average page load time increased by this amount after activating the plugin.

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=df5f9fcc46
Aspect after-activation
HTTP status 200
Load time 0.962 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.125 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.046 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.390 s0.237 s-0.153 s3.6 MiB4.45 MiB+ 870.05 KiB
/wp-admin/edit.php0.257 s0.328 s+0.071 s3.63 MiB4.48 MiB+ 871.07 KiB
/wp-admin/post-new.php1.097 s1.015 s-0.082 s5.27 MiB6.19 MiB+ 945.77 KiB
/wp-admin/upload.php0.654 s0.808 s+0.154 s3.46 MiB4.37 MiB+ 932.98 KiB
/wp-admin/options-writing.php0.196 s0.278 s+0.082 s3.55 MiB4.37 MiB+ 839.58 KiB
/wp-admin/media-new.php0.262 s0.286 s+0.024 s3.45 MiB4.36 MiB+ 933.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.232 s0.314 s+0.082 s3.48 MiB4.4 MiB+ 934.05 KiB
/wp-admin/post-new.php?post_type=page0.997 s0.995 s-0.002 s5.25 MiB6.17 MiB+ 945.77 KiB
/wp-admin/options-discussion.php0.529 s0.657 s+0.128 s3.45 MiB4.36 MiB+ 933.77 KiB
/wp-admin/edit-comments.php0.230 s0.216 s-0.014 s3.55 MiB4.4 MiB+ 868.96 KiB
Average 0.484 s0.513 s+0.029 s3.87 MiB4.76 MiB+ 907.52 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 32

Sidebar Widgets 1

ID Name
products_predictive_searchWooCommerce Predictive Search

PHP Error Log 18 lines

[14-Aug-2019 06:06:53 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
[14-Aug-2019 06:06:58 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