Warning: sprintf(): – How can I fix it?
-
Hello,
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.
- The topic ‘Warning: sprintf(): – How can I fix it?’ is closed to new replies.