What theme are you using?
This is due to theme developers and WordPress itself inconsistently using ‘the_title’ filter. I will implement a fix in 6.1.1. However, I will be waiting for more issues before releasing another version. This is just a WARNING (not an error) after-all, which is not particularly caused by TML.
If you wish to properly fix this problem in the meantime, open up theme-my-login/includes/class-theme-my-login.php and go to line 392.
Change it from this:
function the_title( $title, $post_id ) {
To this:
function the_title( $title, $post_id = 0 ) {
I had the same problem after recent plugin update.
I replaced:
function the_title( $title, $post_id ) {
with
function the_title( $title ) {
and it worked.
Thanks Jeff for the plugin.
Well, in certain instances, that will not work correctly.
My theme doesn’t shows any error.
Should I change it to
function the_title( $title, $post_id = 0 ) {
Ok I changed it as per your code and it’s working too.
Thanks.
Having this same problem– I changed the code per Jeff’s recommendation and reactivated the plugin and got this:
“The plugin generated 310 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”
Deactivated and deleted the plugin and my home page is still showing these errors.
Reinstalled and reactivated the plugin and got another unexpected output error (this time 308 characters). The missing argument errors still show on my site, but ONLY on the main index, where it seems to be breaking my top menu (not a ‘custom menu’).
Totally confused here. <_<