Skip Navigation

[Resolved] Warning: Missing argument 2 for WC_Template_Loader::unsupported_theme_title_filt

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is the customer is getting the error Warning: Missing argument 2 for WC_Template_Loader::unsupported_theme_title_filter()

Solution:

We have an open issue about that: https://toolset.com/errata/missing-id-argument-when-the-the_title-hook-is-applied/

The fix will be released in the next update of our views plugins.

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#627592
Screen Shot 2018-03-22 at 8.11.54 PM.png

I am trying to: Create and display a custom post type called FAQ's

Link to a page where the issue can be seen: hidden link

I expected to see: The View with FAQ's

Instead, I got: this error message: 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

I am receiving the same error it appears in a resolved thread, 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.

#627756

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

In the error message I can see the_title filter being called.

We have an open issue about that: https://toolset.com/errata/missing-id-argument-when-the-the_title-hook-is-applied/

Could you please try applying the patch in that erratum to see if it fixes it.

Let me know if not.

#627806

OK, so it is working now. Just wondering if all I need to do is update the plugin when the new release comes out and all will be well or will I have to do the patch again? Thanks for all you do.

#627809

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

The next update will include the code from the patch, you don't need to re-apply.