Predictive Search for WooCommerce 5.3.12

Does "Predictive Search for WooCommerce" work with WordPress 5.7 and PHP 7.4.8? 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: 911.45 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.7
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=a84fec506d
Aspect after-activation
HTTP status 200
Load time 2.369 s
Memory usage 5.16 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.059 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 0.957 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.259 s0.249 s-0.010 s2.82 MiB3.71 MiB+ 913.17 KiB
/wp-admin/edit.php0.179 s0.189 s+0.010 s2.86 MiB3.76 MiB+ 914.19 KiB
/wp-admin/post-new.php0.881 s0.886 s+0.005 s5.02 MiB5.93 MiB+ 926.7 KiB
/wp-admin/upload.php0.507 s0.431 s-0.076 s2.7 MiB3.58 MiB+ 904.16 KiB
/wp-admin/options-writing.php0.255 s0.174 s-0.081 s2.71 MiB3.57 MiB+ 880.11 KiB
/wp-admin/media-new.php0.213 s0.171 s-0.042 s2.67 MiB3.56 MiB+ 912.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.189 s+0.003 s2.77 MiB3.66 MiB+ 913.21 KiB
/wp-admin/post-new.php?post_type=page1.104 s0.658 s-0.446 s5.01 MiB5.91 MiB+ 925.54 KiB
/wp-admin/options-discussion.php0.291 s0.198 s-0.093 s2.68 MiB3.57 MiB+ 912.93 KiB
/wp-admin/edit-comments.php0.249 s0.211 s-0.038 s2.78 MiB3.67 MiB+ 912.12 KiB
Average 0.412 s0.336 s-0.077 s3.2 MiB4.09 MiB+ 911.45 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 20 lines

[11-Mar-2021 14:03:56 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(292): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2027): do_action()
#5 /wp-includes/class-wp-hook.php(292): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(316): 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
[11-Mar-2021 14:04:02 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(292): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2027): do_action()
#5 /wp-includes/class-wp-hook.php(292): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(316): 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