• Resolved speakoutenglish

    (@speakoutenglish)


    On April 4th I started getting a lot of errors in Woocommerce Fatal Error Log. It is only generated with some keywords. The search spinner just continues to spin. Other keywords are fine and no errors are generated. I have only search results displayed in the drop down, not the search page and I use a snippet to prevent the user from pressing enter in the search box. But as it is only a problem with some keywords I cant imagine where to look. An example of a keyword that fails to show results is “2020”.

    Here is the log:

    2020-04-04T04:37:18+00:00 CRITICAL Uncaught Error: Call to a member function get_name() on bool in /home/********/public_html/wp-content/plugins/ajax-search-for-woocommerce/includes/Product.php:75
    Stack trace:
    #0 /home/********/public_html/wp-content/plugins/ajax-search-for-woocommerce/includes/Engines/WordPressNative/Search.php(198): DgoraWcas\Product->getName()
    #1 /home/********/public_html/wp-includes/class-wp-hook.php(288): DgoraWcas\Engines\WordPressNative\Search->getSearchResults(”)
    #2 /home/********/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #3 /home/********/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/wishlistjapan/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(87): do_action(‘wc_ajax_dgwt_wc…’)
    #5 /home/********/public_html/wp-includes/class-wp-hook.php(288): WC_AJAX::do_wc_ajax(”)
    #6 /home/********/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(false, Array)
    #7 /home/******** in /home/********/public_html/wp-content/plugins/ajax-search-for-woocommerce/includes/Product.php on line 75

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CRITICAL Uncaught Error’ is closed to new replies.