• ML

    (@mlmazzara)


    If a post does not have any tags, an error message is displayed where the list of tags would normally be shown:

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

    I can go back and tag all the older posts, but I think this should be fixed in the theme or wherever that code resides.

    TY

Viewing 10 replies - 1 through 10 (of 10 total)
  • jeremykim2011

    (@jeremykim2011)

    Hi! I experienced the same problem. But since I don’t want the tags to show anyway, I decided to just delete the function for that.

    I agree with you though. It should be fixed for others who prefer tags to show.

    Thread Starter ML

    (@mlmazzara)

    Thanks Jeremy. Can you share with me how you deleted that function? It might not be so “just” for me but I am willing to give it a go 😀

    I am also having the same problem.
    I tried this:

    .tags  {
      display: none;
    }

    But it didn’t work. Please tell another way.

    Moderator Kathryn Presner

    (@zoonini)

    I’m not seeing this error running Sela version 1.0.2 with WordPress 4.1.1, either on the blog index or single posts.

    Could you please let me know in what view you’re seeing this error for untagged posts?

    Could someone provide a link to their site so I can take a look?

    cjosen – Tags on single posts cannot be hidden with CSS alone because they are combined with categories in the HTML, but if you wanted to hide both categories and tags you could use this:

    .single footer.entry-meta {
      display: none;
    }

    Moderator Kathryn Presner

    (@zoonini)

    I also wanted to mention that I have debug set to true in wp-config.php but I’m still not seeing the error:

    define('WP_DEBUG', true);

    Thread Starter ML

    (@mlmazzara)

    Hi Kathryn,

    Thanks for trying to help out here. You can see the error at the bottom of this page: http://raleighpsychotherapy.com/dale-earnhardt-junior-seeking-the-intimidators-approval/

    I am trying to help out a friend. The WP version is not 4.1.1 and I do not know how to find out what version she is running.

    Moderator Kathryn Presner

    (@zoonini)

    I do not know how to find out what version she is running.

    If you look at the top of the Sela stylesheet you’ll see the version:
    http://raleighpsychotherapy.com/wp-content/themes/sela/style.css

    mlmazzara – Your friend’s site is running Sela 1.0.2 with WordPress 4.0.1, which you can see in the browser source here:

    <meta name="generator" content="WordPress 4.0.1" />

    Could everyone who posted in this thread please tell me your Sela and WordPress version so I can see you all have anything in common?

    mlmazzara – could you try updating your friend’s WordPress installation to bring it up to the current version, 4.1.1? That’s a good practice for security as well.

    Moderator Kathryn Presner

    (@zoonini)

    mlmazzara – as a test, could you please try adding a tag to your friend’s tags area, found under Posts > Tags:

    /wp-admin/edit-tags.php?taxonomy=post_tag

    You don’t need to assign the tag to a post, just add a tag there, then let me know if the error goes away. Thanks.

    Thread Starter ML

    (@mlmazzara)

    OK. Thank you for that info. Now I know how to find the theme and WordPress versions!

    I added a tag “addiction” using the interface and I still see the error on her older posts that have not been tagged.

    I am hesitant to install the latest version of WP because she does not have any backups of her site. I would like to install a backup plugin and create at least one backup file before I do this.

    ML

    Moderator Kathryn Presner

    (@zoonini)

    I am hesitant to install the latest version of WP because she does not have any backups of her site. I would like to install a backup plugin and create at least one backup file before I do this.

    Definitely a good practice to always back up before updating.

    Since no one else who commented in the thread has provided a link to their site or given their WordPress version, I can’t yet rule out an old WP version as a culprit.

    Keep me posted and let me know if updating to 4.1.1 solves the issue.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘posts without tags causing errors’ is closed to new replies.