• Author
    Posts
  • #40446

    deejayp
    Participant

    I’m having a problem with the item listed above.

    as you will see from the screenshot, even if I enter a product ID or the name of the product the system searches but finds nothing, giving the error below… I don’t understand why

    Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method Vc_Vendor_Woocommerce::productIdAutocompleteSuggester() cannot be called statically in /home/domain/public_html/wp-includes/class-wp-hook.php:326
    Stack trace:
    #0 /home/domain/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘1299’, Array)
    #1 /home/domain/public_html/wp-content/plugins/js_composer/include/params/autocomplete/autocomplete.php(110): apply_filters(‘vc_autocomplete…’, ‘1299’, ‘sns_hot_deals’, ‘ids’)
    #2 /home/domain/public_html/wp-content/plugins/js_composer/include/params/autocomplete/autocomplete.php(97): vc_render_suggestion(‘1299’, ‘sns_hot_deals’, ‘ids’)
    #3 /home/domain/public_html/wp-includes/class-wp-hook.php(324): vc_get_autocomplete_suggestion(”)
    #4 /home/domain/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #5 /home/domain/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /home/domain/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_vc_get_…’)
    #7 {main}
    thrown in /home/domain/public_html/wp-includes/class-wp-hook.php on line 326

    with the consequent writing that will be seen on the site (front end) see screenshot

    Attachments:
    1. Immagine4.jpg

    2. Immagine3.jpg

You must be logged in to reply to this topic. Click here to login or register