Predictive Search for WooCommerce 5.5.3

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

Summary

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

Memory usage: 942.48 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 version6.1.1
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=6b08ace30e
Aspect after-activation
HTTP status 200
Load time 0.808 s
Memory usage 5.9 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.072 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 2.979 s
Memory usage 6.35 MiB
JS errors
[
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.296 s-0.008 s3.54 MiB4.45 MiB+ 927.04 KiB
/wp-admin/edit.php0.177 s0.195 s+0.018 s3.57 MiB4.48 MiB+ 927.34 KiB
/wp-admin/post-new.php1.027 s1.255 s+0.228 s5.46 MiB6.37 MiB+ 931.79 KiB
/wp-admin/upload.php0.696 s0.308 s-0.388 s3.41 MiB4.37 MiB+ 989.69 KiB
/wp-admin/options-writing.php0.180 s0.148 s-0.032 s3.4 MiB4.29 MiB+ 908.13 KiB
/wp-admin/media-new.php0.243 s0.196 s-0.047 s3.39 MiB4.35 MiB+ 989.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.188 s-0.003 s3.48 MiB4.4 MiB+ 946.77 KiB
/wp-admin/post-new.php?post_type=page0.894 s1.105 s+0.211 s5.46 MiB6.37 MiB+ 930.6 KiB
/wp-admin/options-discussion.php0.205 s0.259 s+0.054 s3.38 MiB4.29 MiB+ 927.95 KiB
/wp-admin/edit-comments.php0.214 s0.223 s+0.009 s3.48 MiB4.4 MiB+ 945.64 KiB
Average 0.413 s0.417 s+0.004 s3.86 MiB4.78 MiB+ 942.48 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.2%14,8222,93360
JSON26.9%13,20301
JavaScript24.4%11,9771,42716
PO File9.3%4,5693,6515
CSS6.5%3,17210714
SVG1.4%70204
LESS1.3%642265
HTML0.1%2901
Total 49,116 8,144 106

PHP Code Analysis | More results »

Lines of code 13,803
Total complexity 3,105
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 555
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

User Metadata wp_usermeta 1

Sidebar Widgets 1

ID Name
products_predictive_searchWooCommerce Predictive Search

PHP Error Log 110 lines

[17-Nov-2022 16:34:47 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34: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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:58 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:58 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:59 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:59 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:59 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:59 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:59 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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
[17-Nov-2022 16:34:59 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(308): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2180): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): 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

(+10 more lines)
See also: All tests for this plugin