Ajax Search doesn’t work
-
YITH WooCommerce Ajax Search plugin stopped working with new WordPress and WooCommerce version. I checked this on several themes, and on default theme (Twenty Seventeen) as well. The Premium version works correctly, but the free one doesn’t show any results.
Please let me know when there will be the fix for this problem?Thank you in advance.
-
After deeper investigation it appeared that the YITH WooCommerce Ajax Search plugin stop working only when other YITH WooCommerce plugins are activated (like YITH WooCommerce Compare or YITH WooCommerce Wishlist). When it is the only YITH plugin activated it works correctly. So it is incompatible with the other YITH addons.
Waiting for your reply. Thank you!
Hi @juliarrr,
could you activate the WordPress debug by adding these lines to the wp-config.php file and let me know if in the file wp-content/debug.log appears some error message?define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false);
Hi, thanks for your reply!
These errors can be seen on the default WordPress theme like Twenty Seventeen.
debug.log
[25-Jun-2018 08:12:28 UTC] PHP Warning: include_once(plugin-fw/lib/yit-pointers.php): failed to open stream: No such file or directory in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php on line 228
[25-Jun-2018 08:12:28 UTC] PHP Warning: include_once(): Failed opening ‘plugin-fw/lib/yit-pointers.php’ for inclusion (include_path=’.;w:/modules/php/PHP-7.1-x64;w:/modules/php/PHP-7.1-x64/PEAR/pear’) in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php on line 228
[25-Jun-2018 08:12:28 UTC] PHP Fatal error: Uncaught Error: Call to undefined function YIT_Pointers() in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php:248
Stack trace:
#0 W:\domains\site.com\wp-includes\class-wp-hook.php(286): YITH_YWZM_Plugin_FW_Loader->register_pointer(”)
#1 W:\domains\site.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 W:\domains\site.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 W:\domains\site.com\wp-admin\admin-ajax.php(44): do_action(‘admin_init’)
#4 {main}
thrown in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php on line 248
[25-Jun-2018 08:12:28 UTC] PHP Warning: include_once(plugin-fw/lib/yit-pointers.php): failed to open stream: No such file or directory in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php on line 228
[25-Jun-2018 08:12:28 UTC] PHP Warning: include_once(): Failed opening ‘plugin-fw/lib/yit-pointers.php’ for inclusion (include_path=’.;w:/modules/php/PHP-7.1-x64;w:/modules/php/PHP-7.1-x64/PEAR/pear’) in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php on line 228
[25-Jun-2018 08:12:28 UTC] PHP Fatal error: Uncaught Error: Call to undefined function YIT_Pointers() in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php:248
Stack trace:
#0 W:\domains\site.com\wp-includes\class-wp-hook.php(286): YITH_YWZM_Plugin_FW_Loader->register_pointer(”)
#1 W:\domains\site.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 W:\domains\site.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 W:\domains\site.com\wp-admin\admin-ajax.php(44): do_action(‘admin_init’)
#4 {main}
thrown in W:\domains\site.com\wp-content\plugins\yith-woocommerce-zoom-magnifier\lib\class.yith-ywzm-plugin-fw-loader.php on line 248
[25-Jun-2018 08:14:52 UTC] PHP Warning: include_once(plugin-fw/lib/yit-pointers.php): failed to open stream: No such file or directory in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php on line 1548
[25-Jun-2018 08:14:52 UTC] PHP Warning: include_once(): Failed opening ‘plugin-fw/lib/yit-pointers.php’ for inclusion (include_path=’.;w:/modules/php/PHP-7.1-x64;w:/modules/php/PHP-7.1-x64/PEAR/pear’) in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php on line 1548
[25-Jun-2018 08:14:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined function YIT_Pointers() in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php:1575
Stack trace:
#0 W:\domains\site.com\wp-includes\class-wp-hook.php(286): YITH_WCWL_Admin_Init->register_pointer(”)
#1 W:\domains\site.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 W:\domains\site.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 W:\domains\site.com\wp-admin\admin-ajax.php(44): do_action(‘admin_init’)
#4 {main}
thrown in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php on line 1575
[25-Jun-2018 08:15:07 UTC] PHP Warning: include_once(plugin-fw/lib/yit-pointers.php): failed to open stream: No such file or directory in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php on line 1548
[25-Jun-2018 08:15:07 UTC] PHP Warning: include_once(): Failed opening ‘plugin-fw/lib/yit-pointers.php’ for inclusion (include_path=’.;w:/modules/php/PHP-7.1-x64;w:/modules/php/PHP-7.1-x64/PEAR/pear’) in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php on line 1548
[25-Jun-2018 08:15:07 UTC] PHP Fatal error: Uncaught Error: Call to undefined function YIT_Pointers() in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php:1575
Stack trace:
#0 W:\domains\site.com\wp-includes\class-wp-hook.php(286): YITH_WCWL_Admin_Init->register_pointer(”)
#1 W:\domains\site.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 W:\domains\site.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 W:\domains\site.com\wp-admin\admin-ajax.php(44): do_action(‘admin_init’)
#4 {main}
thrown in W:\domains\site.com\wp-content\plugins\yith-woocommerce-wishlist\includes\class.yith-wcwl-admin-init.php on line 1575
[25-Jun-2018 08:15:23 UTC] PHP Warning: include_once(plugin-fw/lib/yit-pointers.php): failed to open stream: No such file or directory in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 229
[25-Jun-2018 08:15:23 UTC] PHP Warning: include_once(): Failed opening ‘plugin-fw/lib/yit-pointers.php’ for inclusion (include_path=’.;w:/modules/php/PHP-7.1-x64;w:/modules/php/PHP-7.1-x64/PEAR/pear’) in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 229
[25-Jun-2018 08:15:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function YIT_Pointers() in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php:256
Stack trace:
#0 W:\domains\site.com\wp-includes\class-wp-hook.php(286): YITH_Woocompare_Admin->register_pointer(”)
#1 W:\domains\site.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 W:\domains\site.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 W:\domains\site.com\wp-admin\admin-ajax.php(44): do_action(‘admin_init’)
#4 {main}
thrown in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 256
[25-Jun-2018 08:15:25 UTC] PHP Warning: include_once(plugin-fw/lib/yit-pointers.php): failed to open stream: No such file or directory in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 229
[25-Jun-2018 08:15:25 UTC] PHP Warning: include_once(): Failed opening ‘plugin-fw/lib/yit-pointers.php’ for inclusion (include_path=’.;w:/modules/php/PHP-7.1-x64;w:/modules/php/PHP-7.1-x64/PEAR/pear’) in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 229
[25-Jun-2018 08:15:25 UTC] PHP Fatal error: Uncaught Error: Call to undefined function YIT_Pointers() in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php:256
Stack trace:
#0 W:\domains\site.com\wp-includes\class-wp-hook.php(286): YITH_Woocompare_Admin->register_pointer(”)
#1 W:\domains\site.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 W:\domains\site.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 W:\domains\site.com\wp-admin\admin-ajax.php(44): do_action(‘admin_init’)
#4 {main}
thrown in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 256
[25-Jun-2018 08:17:30 UTC] PHP Warning: include_once(plugin-fw/lib/yit-pointers.php): failed to open stream: No such file or directory in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 229
[25-Jun-2018 08:17:30 UTC] PHP Warning: include_once(): Failed opening ‘plugin-fw/lib/yit-pointers.php’ for inclusion (include_path=’.;w:/modules/php/PHP-7.1-x64;w:/modules/php/PHP-7.1-x64/PEAR/pear’) in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 229
[25-Jun-2018 08:17:30 UTC] PHP Fatal error: Uncaught Error: Call to undefined function YIT_Pointers() in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php:256
Stack trace:
#0 W:\domains\site.com\wp-includes\class-wp-hook.php(286): YITH_Woocompare_Admin->register_pointer(”)
#1 W:\domains\site.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 W:\domains\site.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 W:\domains\site.com\wp-admin\admin-ajax.php(44): do_action(‘admin_init’)
#4 {main}
thrown in W:\domains\site.com\wp-content\plugins\yith-woocommerce-compare\includes\class.yith-woocompare-admin.php on line 256Hi @juliarrr,
all other YITH plugin are updated to the latest versions?Hi again,
Sure, we use the latest plugins versions, please see the screenshots:
As I wrote before, you can see this problem on the default WordPress theme. Did you check it?
Looking forward your reply.-
This reply was modified 6 years, 9 months ago by
juliarrr.
Hi @juliarrr,
yes we have tested it but we have no issues. On a fresh WP installation the issue persists?Yes, I’ve tested it on several sites, and have also cleared the database and made the fresh WP installation – it still doesn’t work. Premium version works correctly, the problem is only in the free version and when any other YITH WooCommerce addon is activated.
Here is a screenshot from the console:
Hi @juliarrr,
we have found and fixed the issue. We are sending an update of the plugin with this fix.
Thanks for your patience and cooperation. -
This reply was modified 6 years, 9 months ago by
- The topic ‘Ajax Search doesn’t work’ is closed to new replies.