Title: printf() [function.printf] error
Last modified: August 24, 2016

---

# printf() [function.printf] error

 *  Resolved [succeedingsteps](https://wordpress.org/support/users/succeedingsteps/)
 * (@succeedingsteps)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/printf-functionprintf-error/)
 * I am getting the following error on all my blog entries and not sure how to fix.
 * Warning: printf() [function.printf]: Too few arguments in ……../wp-content/themes/
   sela/inc/template-tags.php on line 343

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/?output_format=md)

 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046222)
 * Are you running the latest version of Sela – 1.0.3?
 * Could you try installing a fresh copy of the theme?
 * What version of WordPress are you running?
 *  Thread Starter [succeedingsteps](https://wordpress.org/support/users/succeedingsteps/)
 * (@succeedingsteps)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046242)
 * I was running WordPress 4.1.3, just upgraded to 4.2 to see if it would help, 
   but problem still exists.
 * Using Sela 1.0.3. Per your suggestion, deleted the theme and reinstalled.
 * Also tested deactivating all of my plugins just in case.
 * Error still showing up.
 *  [alexuadrop](https://wordpress.org/support/users/alexuadrop/)
 * (@alexuadrop)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046251)
 * I have the same problem. Waiting for response. Thanks.
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046256)
 * succeedingsteps & alexuadrop – since I haven’t been able to replicate the issue
   on a test site, could you both please provide links to your sites so I can have
   a look and see if I can spot anything your two sites have in common? Thanks a
   lot!
 *  Thread Starter [succeedingsteps](https://wordpress.org/support/users/succeedingsteps/)
 * (@succeedingsteps)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046258)
 * I was not able to replicate the problem either with another install on the same
   server.
 * Here is a link – all plugins turned off for now:
    [http://susanhalpern.com/1/hello-world/](http://susanhalpern.com/1/hello-world/)
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046259)
 * Thanks, succeedingsteps!
 * alexuadrop – I’d love a link to your site too if possible.
 * I’ll let you know what I find.
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046260)
 * succeedingsteps – could you please tell me:
 * Hello world! – what category is it in? What tags?
    Test Post – what category 
   is it in? What tags?
 * Edit – I just noticed the category widget in the sidebar, so they must be in 
   Uncategorized, but I’d still like to know if there are any tags. Thanks!
 *  Thread Starter [succeedingsteps](https://wordpress.org/support/users/succeedingsteps/)
 * (@succeedingsteps)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046261)
 * Ah that must be it! When I add a category or a tag, the error goes away. It fixed
   it on my other test post too.
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046262)
 * Strange that I’m still not able to replicate with posts with no tags/default 
   Uncategorized.
 *  [sarahtodoroff](https://wordpress.org/support/users/sarahtodoroff/)
 * (@sarahtodoroff)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046263)
 * I’m getting it too. here is my website.
 * [http://sandsconstruction.sarahtodoroff.com/sandsconstruction/blog-coming-soon/](http://sandsconstruction.sarahtodoroff.com/sandsconstruction/blog-coming-soon/)
 *  [lehnhart](https://wordpress.org/support/users/lehnhart/)
 * (@lehnhart)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046264)
 * Hi,
    With me is the same. Just as the succeedingsteps said. When add a category
   or a tag, the error goes away.
 *  [sarahtodoroff](https://wordpress.org/support/users/sarahtodoroff/)
 * (@sarahtodoroff)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046265)
 * i added a tag, and it didn’t….i will try again 🙂
 *  [sarahtodoroff](https://wordpress.org/support/users/sarahtodoroff/)
 * (@sarahtodoroff)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046266)
 * All fixed!
 *  [alexuadrop](https://wordpress.org/support/users/alexuadrop/)
 * (@alexuadrop)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046273)
 * Hi, I’ve done some fix.
 *     ```
       function sela_footer_entry_meta() {
       	/* translators: used between list items, there is a space after the comma */
       	$category_list = get_the_category_list( __( ', ', 'sela' ) );
   
       	/* translators: used between list items, there is a space after the comma */
       	$tag_list = get_the_tag_list( '', ', ' );
       	$enable_tags = true;
   
       	if ( ! sela_categorized_blog() ) {
       		// This blog only has 1 category so we just need to worry about tags in the meta text
       		if ( '' != $tag_list ) {
       			$meta_text = __( 'Tagged: %2$s', 'sela' );
       		} else {
       			$meta_text = __( '<a href="%3$s" title="Permalink to %4$s" rel="bookmark">Permalink</a>.', 'sela' );
       			$enable_tags = false;
       		}
   
       	} else {
       		// But this blog has loads of categories so we should probably display them here
       		if ( '' != $tag_list ) {
       			$meta_text = __( 'Posted in: %1$s | Tagged: %2$s', 'sela' );
       		} else {
       			$meta_text = __( 'Posted in: %1$s', 'sela' );
       		}
   
       	} // end check for categories on this blog
   
       	if($enable_tags) {
       		printf(
       			$meta_text,
       			$category_list,
       			$tag_list,
       			the_title_attribute( 'echo=0' )
       		);
       	}
       }
       ```
   
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/printf-functionprintf-error/#post-6046324)
 * Thanks, alexuadrop! I’ll pass this along to our developers.
 * I was finally able to replicate the issue on a different test with with only 
   the default Uncategorized category present, and no tags created. I’ll keep you
   posted once this is fixed.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/?output_format=md)

The topic ‘printf() [function.printf] error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sela/1.0.17/screenshot.png)
 * Sela
 * [Support Threads](https://wordpress.org/support/theme/sela/)
 * [Active Topics](https://wordpress.org/support/theme/sela/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sela/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sela/reviews/)

 * 18 replies
 * 6 participants
 * Last reply from: [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/printf-functionprintf-error/page/2/#post-6046405)
 * Status: resolved