Title: Solution for Warning: sprintf() [function.sprintf]: Too few arguments
Last modified: March 7, 2017

---

# Solution for Warning: sprintf() [function.sprintf]: Too few arguments

 *  Resolved [Andrei Zhitkov](https://wordpress.org/support/users/abtop/)
 * (@abtop)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/solution-for-warning-sprintf-function-sprintf-too-few-arguments/)
 * this is your line 90:
    $output .= ‘<!– ‘ . sprintf( esc_html__( ‘@Webmaster, 
   normally you will find the Google Analytics tracking code here, but you are in
   the disabled user groups. To change this, navigate to Insights %1$s Settings %
   2$s Ignore Users’, ‘google-analytics-for-wordpress’ ), ‘->’ ) . ‘ –>’ . PHP_EOL;
 * Find Settings %2$s
    Replace to Settings %1$s
 * This will revert the file to its previous version and get rid of the error.
    -  This topic was modified 9 years, 3 months ago by [Andrei Zhitkov](https://wordpress.org/support/users/abtop/).
    -  This topic was modified 9 years, 3 months ago by [Andrei Zhitkov](https://wordpress.org/support/users/abtop/).

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

 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/solution-for-warning-sprintf-function-sprintf-too-few-arguments/#post-8886181)
 * This change was included in 6.0.16
 * -Chris
 *  Thread Starter [Andrei Zhitkov](https://wordpress.org/support/users/abtop/)
 * (@abtop)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/solution-for-warning-sprintf-function-sprintf-too-few-arguments/#post-8886245)
 * This is way too much code (i.e. trouble) to output simple simulated arrow, if
   you ask me.
 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/solution-for-warning-sprintf-function-sprintf-too-few-arguments/#post-8886543)
 * The code isn’t there to output an arrow, it’s there to allow for the string to
   be translated with the arrows retained. It’s fixed in 6.0.16, so it shouldn’t
   cause any more issues, as it’s not a functional piece of code.
 * -Chris
 *  Thread Starter [Andrei Zhitkov](https://wordpress.org/support/users/abtop/)
 * (@abtop)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/solution-for-warning-sprintf-function-sprintf-too-few-arguments/#post-8886980)
 * –> vs. ->
    – vs. –
 * Do you see any difference?
    And if you don’t, in the words of a popular commercial,“
   Why code more?” You don’t have to explain to me what this code for. What you 
   have to do once in a while is ask yourself if there is a simple, better way.
 * Regards.

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

The topic ‘Solution for Warning: sprintf() [function.sprintf]: Too few arguments’
is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andrei Zhitkov](https://wordpress.org/support/users/abtop/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/solution-for-warning-sprintf-function-sprintf-too-few-arguments/#post-8886980)
 * Status: resolved