WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. stickFinger
    Member
    Posted 2 years ago #

    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.]

  2. stickFinger
    Member
    Posted 2 years ago #

    Ok
    thanks and sorry

    [No bumping, thank you.]

  3. PeanutGirl
    Member
    Posted 2 years ago #

    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.

  4. stickFinger
    Member
    Posted 2 years ago #

    Than You PeanutGirl

    I´ll try asap :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic