Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Warning: sprintf(): – How can I fix it?

Discussion in 'Misc WordPress Requests' started by kibus90, Jan 28, 2018.

  1. kibus90


    Warning: sprintf(): – How can I fix it?, by kibus90

    I’m working on my webpage and I after add a post I saw a problem under the title of post:

    Warning: sprintf(): Too few arguments in C:\xampp\htdocs\wordpress\wp-content\themes\jobeleon\inc\template-tags.php on line 132

    I checked that file and I fount it:

    printf(__('Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a><span> by <span class="author vcard"><a href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'jobeleon'), esc_url(get_permalink()), esc_attr(get_the_time()), esc_attr(get_the_date('c')), esc_html(get_the_date()), esc_url(get_author_posts_url(get_the_author_meta('ID'))), esc_attr(sprintf(__('View all posts by %s', 'jobeleon'), get_the_author())), get_the_author()

    Someone could check it how can I fix it?

    Greet, kibus90.

    Warning: sprintf(): – How can I fix it?

Share This Page

Monarch Social Sharing Plugin