WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress SEO by Yoast] After updating to Version 1.1 – Warning: sprintf() Too few argument

[Plugin: WordPress SEO by Yoast] After updating to Version 1.1 – Warning: sprintf() Too few argument

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Joost de Valk

    @joostdevalk

    f you change that line 175 to this:

    $keywordStopWord = sprintf(__(“The keyword for this page contains one or more %s$1stop words%s$2, consider removing them. Found ‘\%s’.”, ‘wordpress-seo’ ),”“, ““);

    does it get any better?

    Doesn’t seem to make any difference

    Plugin Author Joost de Valk

    @joostdevalk

    Ok one more try:

    $keywordStopWord = sprintf(__("The keyword for this page contains one or more %s$1stop words%s$2, consider removing them. Found '%s$3'.", 'wordpress-seo' ),"<a href=\"http://en.wikipedia.org/wiki/Stop_words\">", "</a>", "%s");

    Um not sure if this is progress….

    Parse error: syntax error, unexpected ‘;’, expecting T_PAAMAYIM_NEKUDOTAYIM in /home/xxxxx/public_html/addons/xxxx.co.uk/wp-content/plugins/wordpress-seo/admin/linkdex/linkdex.php on line 175

    Sorry my fault – messed up the edit….
    Changing line 175 to

    $keywordStopWord = sprintf(__(“The keyword for this page contains one or more %s$1stop words%s$2, consider removing them. Found ‘%s$3’.”, ‘wordpress-seo’ ),”“, ““, “%s”);

    doesnt give the error.

    yippee

    I also just updated this plugin and was coming here to see if anyone had already made a post about this minor glitch.

    Joost — will you be pushing an update soon? I would prefer not to edit .php – might mess it up even more!

    Thanks.

    I’ve done the change you’ve suggested :

    replace line 175 by :

    $keywordStopWord = sprintf(__(“The keyword for this page contains one or more %s$1stop words%s$2, consider removing them. Found ‘%s$3’.”, ‘wordpress-seo’ ),””, “”, “%s”);

    but now, when I go in the Advanced tab of a post, I’ve these phrase :

    The keyword for this page contains one or more $1stop words$2, consider removing them. Found ‘up$3’.

    This is not cool to see $caracters like that.

    Is there a better modification to do, to avoid that ?

    I’ve found :

    juste replace line 175 by :

    $keywordStopWord = sprintf(__(“The keyword for this page contains one or more %sstop words%s, consider removing them. Found ‘%s’.”, ‘wordpress-seo’ ),”“, “” , “%s”);

    Plugin Author Joost de Valk

    @joostdevalk

    This’ll be fixed in 1.1.1, upcoming in a few minutes.

    @joost,

    We have quite a few errors in the plugin’s meta-box. We’re getting the following on all tabs, in a multisite:

    Warning: DOMXPath::query() [domxpath.query]: Invalid or inclomplete context in /nfs/c07/h03/mnt/103759/domains/365flavours.com/html/wp-content/plugins/wordpress-seo/admin/linkdex/linkdex.php on line 365
    
    Warning: Invalid argument supplied for foreach() in /nfs/c07/h03/mnt/103759/domains/365flavours.com/html/wp-content/plugins/wordpress-seo/admin/linkdex/linkdex.php on line 367
    
    Warning: DOMXPath::query() [domxpath.query]: Invalid or inclomplete context in /nfs/c07/h03/mnt/103759/domains/365flavours.com/html/wp-content/plugins/wordpress-seo/admin/linkdex/linkdex.php on line 278
    
    Warning: Invalid argument supplied for foreach() in /nfs/c07/h03/mnt/103759/domains/365flavours.com/html/wp-content/plugins/wordpress-seo/admin/linkdex/linkdex.php on line 280
    
    Warning: DOMXPath::query() [domxpath.query]: Invalid or inclomplete context in /nfs/c07/h03/mnt/103759/domains/365flavours.com/html/wp-content/plugins/wordpress-seo/admin/linkdex/linkdex.php on line 293
    
    Warning: Invalid argument supplied for foreach() in /nfs/c07/h03/mnt/103759/domains/365flavours.com/html/wp-content/plugins/wordpress-seo/admin/linkdex/linkdex.php on line 301

    The last change mentioned here did not fix it.

    I have the same problem on Media Temple. Has anyone managed to fix this?

    Warning: DOMXPath::query() [domxpath.query]: Invalid or inclomplete context in /nfs/c03/h05/mnt/48107/domains/puraeco2.sementeria.com/html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 1163
    
    Warning: Invalid argument supplied for foreach() in /nfs/c03/h05/mnt/48107/domains/puraeco2.sementeria.com/html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 1165
    
    Warning: DOMXPath::query() [domxpath.query]: Invalid or inclomplete context in /nfs/c03/h05/mnt/48107/domains/puraeco2.sementeria.com/html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 1076
    
    Warning: Invalid argument supplied for foreach() in /nfs/c03/h05/mnt/48107/domains/puraeco2.sementeria.com/html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 1078
    
    Warning: DOMXPath::query() [domxpath.query]: Invalid or inclomplete context in /nfs/c03/h05/mnt/48107/domains/puraeco2.sementeria.com/html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 1091
    
    Warning: Invalid argument supplied for foreach() in /nfs/c03/h05/mnt/48107/domains/puraeco2.sementeria.com/html/wp-content/plugins/wordpress-seo/admin/class-metabox.php on line 1099

    Thank you!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] After updating to Version 1.1 – Warning: sprintf() Too few argument’ is closed to new replies.