WordPress.org

Support

Support » Plugins and Hacks » BuddyPress » [Plugin: BuddyPress] Warning: printf() [function.printf]: Too few arguments in

[Plugin: BuddyPress] Warning: printf() [function.printf]: Too few arguments in

  • Hi all
    Using the last buddypress with the default theme I get this warning:

    Warning: printf() [function.printf]: Too few arguments in /home/fabrica7/public_html/tdc/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php on line 476

    The offending line is

    <div class="comment-content">
    			<div class="comment-meta">
    				<p>
    					<?php
    						/* translators: 1: comment author url, 2: comment author name, 3: comment permalink, 4: comment date/timestamp*/
    						printf( __( '<a href="%1$s" rel="nofollow">%2$s</a> said on <a href="%3$s"><span class="time-since">%4$s</span></a>', 'buddypress' ), get_comment_author_url(), get_comment_author(), get_comment_link(), get_comment_date() );
    					?>
    				</p>
    			</div>

    Any clue on what´s going wrong?

    Thanks

    http://wordpress.org/extend/plugins/buddypress/

    [No bumping, thank you.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ok
    thanks and sorry

    [No bumping, thank you.]

    Hello, I’m using an e-commerce theme on WordPress 3.3.2 and got a similar error in my (comments) sections:

    Warning: printf() [function.printf]: Too few arguments in /home/user1/public_html/wp-content/themes/framework/comments.php on line 55

    This error only appeared when a user was not logged in to my site.
    I fixed it by changing the permissions on the comments.

    Log into your Doashboard, scroll down to Settings>>Discussion Settings and next to (Other comment settings), uncheck [Users must be registered and logged in to comment]

    Hope this helps.

    Than You PeanutGirl

    I´ll try asap 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: BuddyPress] Warning: printf() [function.printf]: Too few arguments in’ is closed to new replies.
Skip to toolbar