First of all, when doing an upgrade, make a backup, especcialy if you are running a business.
2. are the first problem solved? Did you find your plugin that was causing the trouble?
3. can you give the link to your site?
Hi, Thank you for your reply.
In future I will make a back up. I’m not great with computers as you can prob tell. Can you recommend the best and easiest way to make a backup.
No the plugin issue hasn’t been sorted. I had the original developer who hosts the site restore it back by 24 hours.
http://www.conquestcarbon.co.uk/
That should be a line of code below
add_action('init', 'woocommerce_price_filter_init')
inside one of your theme files. Find that file.
This is a duplicate call and is what has been causing the error. Comment it out or delete that row as it is a duplicated call.
Hi,
Thank you for your info. I have since reverted back to the old site by restoring the site but I still have many plugins including the wordpress site which needs updating. I have had a look for
add_action(‘init’, ‘woocommerce_price_filter_init’)
And found it here:
add_action( ‘woocommerce_before_main_content’ , ‘yiw_woocommerce_ordering’ );
// add the sale icon inside the product detail image container
remove_action( ‘woocommerce_before_single_product_summary’, ‘woocommerce_show_product_sale_flash’, 10);
add_action( ‘woocommerce_product_thumbnails’, ‘woocommerce_show_product_sale_flash’);
// active the price filter
add_action(‘init’, ‘woocommerce_price_filter_init’);
add_filter(‘loop_shop_post_in’, ‘woocommerce_price_filter’);
// add body class
add_filter( ‘body_class’, create_function( ‘$classes’, ‘$classes[] = “shop-“.yiw_get_option( “shop_products_style”, “ribbon” ); return $classes;’ ) );
Obviously I don’t have a problem with the site right now but i don’t want to mess it up again with updating all the plugins.
Regards