This site as of a couple of days ago displays this error where ever a view is inserted
Warning: Missing argument 2 for WC_Template_Loader::unsupported_theme_title_filter() in /home/content/15/2144315/html/wp/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php on line 380
Ive disabled themes and plugins and it comes and goes as views is activated
Can you be of any help in resolving this
The url is hidden link and the error is associated with a view in a header widget, and also the content slider
Dear Steve,
The problem you mentioned above is abnormal, please check these:
1) You are using the latest version of Toolset plugin, especially the Views plugin, you can download it here:
https://toolset.com/account/downloads/
2) deactivate other plugins and switch to wordpress default theme, and test again
3) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks
Thanks for the details, I am downloading the file, will feedback if there is anything found
Here are what I found:
1) I tried your database dump file in my localhost, with a fresh wordpress installation + Woocommerce plugin + Toolset plugins + 2017 theme, it works fine, see screenshot: rock.JPG
2) As you mentioned above:
exists when child theme is deactivated
But it seems the problem only occurs when using your custom "child theme", so it should be a compatibility problem with your theme file, can you confirm it?
If it is, I can not duplicate same problem with the database file, please provide a copy of your website:
https://toolset.com/faq/provide-supporters-copy-site/
You can put it into your own google drive disk, and share the link in the "private detail box", I need to duplicate same problem and debug it in my localhost, thanks
I am having this same issue and getting the same error when using a custom theme that I created. If Toolset had better developer support built into the plugin for customization it would help a LOT. It's been very tricky to create a site using my custom theme and errors like this one are popping up everywhere.
What could we be missing that is causing this error with woocommerce? I will be excited when you find the answer.
So it is a compatibility problem between basic genesis theme and Views plugin, can you confirm it?
If it is, you just need to provide file of the basic genesis theme, the duplicator package you provided is too big to download, it will spend more than one day to download it, you can update your private message here:
https://toolset.com/forums/topic/views-conflict-with-woocommerce/#post-616132
Luo, woocommerce appears to be involved somehow- but with just genesis and woocommerce its ok. Genesis woocommerce and views then triggers the issue.
Ive updated the google drive. I gave you another duplicator file with no uploads at all (much smaller) and also genesis
Thanks
When I activate the 2017 default WordPress theme the problem goes away. What could it possibly be in my theme that is causing such a weird error? I tried adding woocommerce theme support and I still had the same issue. The PHP error is really hard to trace down because it's so vague and big. I will keep trying and let you guys know if I find anything else.
Just got a report of another client's site at
hidden link
that has the same error message. I haven't gone through all the steps to determine whats te cause but it uses geneses types views and woocommerce for sure
Thanks for the details, I can duplicate same problem with the Genesis theme, it seems to be a bug of Views plugin
Currently, please try this, edit Views plugin file \wp-views\embedded\inc\wpv-shortcodes.php
Edit line Line 2557 and Line 2667, from:
$out .= apply_filters('the_title', $post->post_title);
To:
$out .= apply_filters('the_title', $post->post_title, $post->ID);
More help:
https://developer.wordpress.org/reference/hooks/the_title/
The filter hook "the_title" requires two parameter:
$title
$id
Please test it in your website, feedback if it is fixed, I will elaborate this problem to our developers.
@damianB-5 please test above temperate fix too,
Luo, this appears to have solved the problem for me and I hope it works for our friend Steve as well. Thank you so much for taking the time to look into this. I will reply if I see any more issues regarding this problem. Thank you so much!!! I hope there is an update to the plugin that officially solves this issue too so that it is supported in further updates.
Perfect Luo thanks that resolved the issue entirely-
Spot on support very much appreciated
I am receiving the same error it appears, I tried the update that Luo Yang recommends but it doesn't fix the issue.. I have attached a screen shot of my error. I am using iThemes Threads theme with a Child Theme, WP 4.9.4 All plugins for Toolset, WP, WooCommerce are up to date and licensed. If I deactivate WooCommerce the error goes away. Please help, thank you.