Title: sprintf(): Too few arguments
Last modified: March 24, 2017

---

# sprintf(): Too few arguments

 *  Resolved [grfavre](https://wordpress.org/support/users/grfavre/)
 * (@grfavre)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sprintf-too-few-arguments/)
 * Hi,
    I’ve upgraded my wordpress install to latest 4.7.3. Everything was working
   fine previously, but now on my login page, I got:
 * Warning: sprintf(): Too few arguments in /home/clients/bbf1bf9b23a9c009a142334815e2e9de/
   web/wp-content/plugins/wp-members/inc/dialogs.php on line 339
 * wp-content is latest (3.1.6.3).
 * Login page:
    [vc_row] [vc_column width=”1/2″][vc_column_text][wpmem_form login][/
   vc_column_text][/vc_column] [vc_column width=”1/2″][vc_column_text][wpmem_form
   register][/vc_column_text][/vc_column] [/vc_row]
 * Nothing specific to wp-members in options or functions.php.
    That occurs when
   I access this page and user is already logged in.
 * Do you know any workaround?
 * Cheers,
    Gregory

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sprintf-too-few-arguments/#post-8990720)
 * I’m not sure why that would occur as there isn’t much that could break it. That
   section in dialogs.php is where the logout link is assembled (sprintf() is putting
   the logout link text into the link).
 * It’s possible it has something to do with the shortcode configuration you have
   with the additional shortcodes. The form shortcode allows you to customize the
   logged in content that is displayed when there is nested content (i.e. [wpmem_form
   login]some content here[/wpmem_form]). It may be that it thinks there is nested
   content there between the two form shortcodes.
 * Try indicating that the shortcode has no closing tag as:
 * [wpmem_form login /]
 *  Thread Starter [grfavre](https://wordpress.org/support/users/grfavre/)
 * (@grfavre)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/sprintf-too-few-arguments/#post-9004870)
 * Thanks a lot for your help.
    Adding the trailing slash indeed solved the issue!
 * Cheers,
    Gregory

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘sprintf(): Too few arguments’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [grfavre](https://wordpress.org/support/users/grfavre/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/sprintf-too-few-arguments/#post-9004870)
 * Status: resolved