Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Matt

Bug: Conflict with the WooCommerce Cost of Good plugin

Not really an issue with Admin Columns Pro but thought I would mention it if other run into it.

WooCommerce Cost of Goods plugin causes an issue when using the Admin Column Pro export feature causing the request to responded with a 500 error

Fatal error: Uncaught Error: Call to a member function is_type() on bool in localhost.dev/wp-content/plugins/woocommerce-cost-of-goods/src/class-wc-cog-product.php:140
Stack trace: #0 localhost.dev/wp-content/plugins/woocommerce-cost-of-goods/src/admin/class-wc-cog-admin-products.php(711):
WC_COG_Product::get_cost_html() #1 localhost.dev/wp-includes/class-wp-hook.php(309):
WC_COG_Admin_Products->product_list_table_cost_column() #2 localhost.dev/wp-includes/class-wp-hook.php(331):
WP_Hook->apply_filters() #3 localhost.dev/wp-includes/plugin.php(476):
WP_Hook->do_action() #4 localhost.dev/wp-admin/includes/class-wp-posts-list-table.php(1349):
do_action() #5 localhost.dev/wp-content/plugins/admin-columns-pro/admin-columns/classes/ListTable/Post.php(24):
WP_Posts_List_Table->column_default() #6 localhost.dev/wp-content/pl in localhost.dev/wp-content/plugins/woocommerce-cost-of-goods/src/class-wc-cog-product.php on line 140

3 weeks, 5 days ago
Stefan
Developer

Thanks for noticing.
Maybe you can prevent the issue from happening by disabling export for their columns?
I don’t know why, but for some reason, the retrieval of the column value for one of their column does not work during our export call.

3 weeks, 4 days ago

You must be logged in to reply to this topic.