• Resolved ariamehr

    (@ariamehr)


    Code Snippets (2.14.3)
    PHP 7.4.28

    Error Log
    ===================
    An error of type E_ERROR On line 6 of the file /home/setmen/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code Occurred. Error message: Uncaught Error: Call to undefined function is_woocommerce() in /home/setmen/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code:6
    Stack trace:
    #0 /home/setmen/public_html/wp-includes/class-wp-hook.php(309): order_by_stock_status(Array)
    #1 /home/setmen/public_html/wp-includes/plugin.php(233): WP_Hook->apply_filters(Array, Array)
    #2 /home/setmen/public_html/wp-includes/class-wp-query.php(2846): apply_filters_ref_array(‘posts_clauses’, Array)
    #3 /home/setmen/public_html/wp-includes/class-wp-query.php(3542): WP_Query->get_posts()
    #4 /home/setmen/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php(87): WP_Query->query(Array)
    #5 /home/setmen/public_html/wp-content/plugins/contact-form-7/includes/block-editor/block-editor.php(58): WPCF7_ContactForm::find(Array)
    #6 /home/setmen/public_html/wp-includes/class-wp-hook.php(305): wpcf7_init_block_editor_assets()
    #7 /home/setmen/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #8 /home

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This is an error coming from one of your snippets. You’re trying to use the is_woocommerce() function when it doesn’t exist.

Viewing 1 replies (of 1 total)

The topic ‘Updating WooCommerce error’ is closed to new replies.