• Hi everybody,

    I get this error code on the front end and don’t know how to fix it. Can you help? It appears on the bottom of the articles. Thanks in advance.

    Warning: sprintf(): Too few arguments in /kunden/374019_40723/deutsch/wordpress/wp-content/themes/mh-newsdesk-lite/comments.php on line 39

    Greetings
    Vannido

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey @vannido,

    Can you let us know which version of our theme you are using? Also, did you modify any part of the theme?

    Thread Starter vannido

    (@vannido)

    Heyho Harish,

    I am using version 1.5.3 and I have not modified the theme. I am a total newcomer so I wouldn’t be able to do so.

    Thanks for helping.

    Hey @vannido,

    Can you please open the file “comments.php” inside the theme folder and see if the line 39th, has the following code?

    echo '<h4 class="comment-section-title">' . sprintf(__('<span class="comment-count">Be the first to comment</span> <span class="comment-count-more">on "%s"</span>', 'mh-newsdesk-lite'), get_the_title()) . '</h4>' . "\n";

    Thread Starter vannido

    (@vannido)

    Hey @hchouhan,

    yes, this is the code.

    echo ‘<h4 class=”comment-section-title”>’ . sprintf(__(‘<span class=”comment-count”>Be the first to comment</span> <span class=”comment-count-more”>on “%s”</span>’, ‘mh-newsdesk-lite’), get_the_title()) . ‘</h4>’ . “\n”;

    Hey @vannido,

    That is strange. We are unable to replicate the issue.

    Can you please reach out to us via https://mhthemes.com/support/request/?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Too few argmuents’ is closed to new replies.