Predictive Search for WooCommerce 5.5.1

Does "Predictive Search for WooCommerce" work with WordPress 6.0.3 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: 922.32 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0.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=546670c361
Aspect after-activation
HTTP status 200
Load time 0.995 s
Memory usage 6.08 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.099 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.786 s
Memory usage 6.43 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.383 s0.385 s+0.002 s3.73 MiB4.61 MiB+ 901.23 KiB
/wp-admin/edit.php0.204 s0.383 s+0.179 s3.76 MiB4.66 MiB+ 921.54 KiB
/wp-admin/post-new.php1.013 s1.742 s+0.729 s5.55 MiB6.46 MiB+ 926.13 KiB
/wp-admin/upload.php0.472 s0.423 s-0.049 s3.69 MiB4.57 MiB+ 899.91 KiB
/wp-admin/options-writing.php0.159 s0.200 s+0.041 s3.62 MiB4.54 MiB+ 943.79 KiB
/wp-admin/media-new.php0.547 s0.267 s-0.280 s3.67 MiB4.55 MiB+ 900.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.221 s+0.005 s3.69 MiB4.59 MiB+ 920.99 KiB
/wp-admin/post-new.php?post_type=page0.936 s0.805 s-0.131 s5.55 MiB6.45 MiB+ 924.98 KiB
/wp-admin/options-discussion.php0.228 s0.368 s+0.140 s3.6 MiB4.54 MiB+ 964.68 KiB
/wp-admin/edit-comments.php0.228 s0.258 s+0.030 s3.7 MiB4.6 MiB+ 919.87 KiB
Average 0.439 s0.505 s+0.067 s4.06 MiB4.96 MiB+ 922.32 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,8082,93360
JSON26.9%13,20301
JavaScript24.4%11,9771,42716
PO File9.3%4,5693,6515
CSS6.5%3,17010714
SVG1.4%70204
LESS1.3%642265
HTML0.1%2901
Total 49,100 8,144 106

PHP Code Analysis | More results »

Lines of code 13,789
Total complexity 3,101
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

Sidebar Widgets 1

ID Name
products_predictive_searchWooCommerce Predictive Search

PHP Error Log 110 lines

[19-Oct-2022 20:53:53 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54: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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:06 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:06 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:06 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:06 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:06 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:06 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:07 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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
[19-Oct-2022 20:54:07 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(307): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): 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