Hi there @softound,
Thank you very much for this!
When I installed and activated the plugin my single product pages wouldn’t work and only the title would show – the description and the meta data etc. disappeared. This happened before entering any data into any of the fields, but as soon as I activated the plugin. I ran it in DEBUG mode and here’s the error message I got:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Woo_Stock_Product::product_summary_on_single_product(), 1 passed in /www/wp-includes/class-wp-hook.php on line 298 and exactly 2 expected in /www/wp-content/plugins/woo-custom-stock-status-1.2/includes/class-wc-stock-product.php:132 Stack trace: #0 /www/wp-includes/class-wp-hook.php(298): Woo_Stock_Product->product_summary_on_single_product('') #1 /www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /www/wp-content/themes/uncode/woocommerce/content-single-product.php(71): do_action('woocommerce_sin...') #4 /www/wp-includes/template.php(690): require('/www/wp-content...') #5 /www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(179): load_template('/www/wp-content...', false) #6 /www/wp-content/themes/uncode/woocommerce/single-product.php(177): wc_get_template_part('content', 'single-product') #7 /www/wp-includes/template-loader.php(74): include('/www in /www/wp-content/plugins/woo-custom-stock-status-1.2/includes/class-wc-stock-product.php on line 132
I’m not an expert in this, but it looks to me like as if the plugin won’t work with my theme? I’m using ‘Uncode’, which is very popular, but also a bit unusual in it’s structure.
I’ve made a short video recording where I present the issue to you. I hope you will take a look and that it is helpful: https://vimeo.com/241147548
Also, do let me know if you need to have a look in the back-end and I can give you access.
Many thanks,
Jonas