After upgrade to 7.8, my site’s title changed to the following:
<b>Warning</b>: Missing argument 2 for cnSEO::filterMetaTitle() in <b>/home/(redacted)/wp-content/plugins/connections/includes/class.seo.php</b> on line <b>188</b>
<b>Warning</b>: Missing argument 3 for cnSEO::filterMetaTitle() in <b>/home/(redacted)/wp-content/plugins/connections/includes/class.seo.php</b> on line <b>188</b>
I recommend deactivating plugins one at a time until the error goes away, you’ve then found the plugin causing the error.
Please let me know which one it is, thanks!
I deactivated all plugins, except Connections, I still have the error.
Only when I deactivate Connections does it go away.
I’m using WordPress 3.5.2 with a child theme of the Desk Mess Mirrored theme.
The theme header has the following line:
<title><?php ( ( ! function_exists( 'wp_get_theme' ) ) || wp_get_theme()->get( 'Version' ) < '2.1' ) ? dmm_wp_title() : wp_title( '|', true, 'right' ); ?></title>
The error is with the theme. I was incorrect usage is with the wp_title filter found in the theme files here. As you’ll see here, the filter requires three attributes and the filter is only passing one so when Connections hooks into it is not getting the three attributes.
What I can do is in my code, make them optional so the error will not occur. You can safely role back to 0.7.7.1 until I release 0.7.8.1.
Yeah, I dug around in the theme and found it too.
If you can fix Connections to handle this error, that’ll be great.
To save me the trouble of rolling back…I just went into the theme, and changed the title line to the following:
<title><?php wp_title( '|', true, 'right' ) . bloginfo( 'name' ); ?></title>
Seems to be working correctly now.
- The topic ‘After update to 7.8, site has title error’ is closed to new replies.