Skip to content

Error when a use a WPCli command #71

@CotswoldPhoto

Description

@CotswoldPhoto

This ticket refers:

https://secure.helpscout.net/conversation/1703928923/4328/

Error message:

PHP Fatal error: Uncaught Error: Call to undefined function wc_get_product() in /webs/ccooweb/www.ccoo.cat/wp-content/plugins/search-filter-pro/includes/class-search-filter-third-party.php:526
Stack trace:
#0 /webs/ccooweb/www.ccoo.cat/wp-includes/class-wp-hook.php(303): Search_Filter_Third_Party->sf_woo_post_cache_insert_data()
#1 /webs/ccooweb/www.ccoo.cat/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /webs/ccooweb/www.ccoo.cat/wp-content/plugins/search-filter-pro/includes/class-search-filter-post-cache.php(1415): apply_filters()
#3 /webs/ccooweb/www.ccoo.cat/wp-content/plugins/search-filter-pro/includes/class-search-filter-post-cache.php(1517): Search_Filter_Post_Cache->set_cache_current_values()
#4 /webs/ccooweb/www.ccoo.cat/wp-content/plugins/search-filter-pro/includes/class-search-filter-post-cache.php(124): Search_Filter_Post_Cache->update_post_cache()
#5 /webs/ccooweb/www.ccoo.cat/wp-includes/class-wp-hook.php(303): Search_Filter_Post_Cache->update_cache_action()
#6 /webs/ccooweb/www.ccoo.cat/wp-includes/cl in /webs/ccooweb/www.ccoo.cat/wp-content/plugins/search-filter-pro/includes/class-search-filter-third-party.php on line 526

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions