Hi guys,
For the moment I disabled the WP errors :
https://www.greengeeks.com/tutorials/article/disable-wordpress-php-error-messages/ .
I added the following :
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);
Hello,
Thank you for reporting this!
We’ll fix it in the next update.
Hi,
On a closer inspection, we’re calling the wp_title hook correctly.
This documentation page is incorrect https://developer.wordpress.org/reference/hooks/wp_title/
What I think happened is a theme or plugin is applying the filter as per documentation and our own filter fails.
It should be :
apply_filters( ‘the_title’, $page->post_title, $page->ID );
So please do a compatibility check. Disable plugins one by one and see if you still get this error.
Thank you!
Hello, I have got the same error
Warning: Missing argument 2 for trp_woo_translate_product_title_added_to_cart() in /home1/meghalina/public_html/wp-content/plugins/translatepress-multilingual/includes/functions.php on line 881
The error come from translatepress plugin
The errors shows up on the product page if you set the variation for your product.
May
-
This reply was modified 4 years, 6 months ago by meghalina.
-
This reply was modified 4 years, 6 months ago by meghalina.
-
This reply was modified 4 years, 6 months ago by meghalina.
Yes, but we are applying it correctly as mentioned above.
There probably is another plugin that’s doing something like:
apply_filters( ‘the_title’, $title );
… without the second parameter.
Please send me the entire error. It should include all the functions that are called.