Support » Plugin: Doc's Auto-tags » [Plugin: Doc's Auto-tags] Error message on settings page after install

  • Resolved PinkishHue


    Everything seemed to go fine with the install and the plugin seems to be working fine, but after install when I first loaded the settings page, this error appeared:

    Warning: Invalid argument supplied for foreach() in /home/zsfhgqtd/public_html/3_animalsneedinghomes/wp-content/plugins/docs-auto-tags/docs-auto-tags.php on line 99

    I added a tag setting and saved the settings, after saving the error message was not there.

    Great plugin (if the error message above is nothing serious), thanks for sharing.

    On a related note, would it be difficult to recreate this plugin but to add categories instead of tags, or does anyone know of any plugins that can do that?

    Thanks again

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John LeBlanc


    Aloha PinkishHue!

    Thanks very much for the report. I’ve just committed version 0.5 which should remedy the Warning you encountered.

    It would be pretty simple to assign posts to categories instead of tags. I use the wp_set_post_tags() function on line 61. We could use wp_set_post_categories() instead, though we’d need to also update the auto-complete logic on line 139, which suggests tags using the ajax-tag-search functionality within admin-ajax.php

    What do you think? Should we add that functionality to this plugin or create another called “Pink’s Auto-categories?”


    Hi John, thanks for the quick update to the plugin. I’ve upgraded to the new version.

    A category version would be fantastic! I think a separate plugin would be good (and I think it should be Doc’s Auto-cats 🙂 ) because not everyone will need both features and this is a nice little plugin on it’s own.

    When I was searching this was the only auto-tag plugin I could find that added tags only based on my chosen phrases, the others seemed to add tags that the system decided were right based on the content. This plugin has been perfect for my needs (auto-sorting posts for rescue animals in need of adoption)

    I will keep a close eye out for the category plugin, thanks again, really appreciate it 🙂



    I found the solution for around 11$
    It’s called Category Master

    I bought it here and it works just fine, but you can still buy it from developer:

    I also found out few days after I bought it 🙂 that data importer WPe-Matico has this new feature, so if you are importing posts u can try it out..

    Anyhow having such plugin for free would be cool and very useful.


    Cool, thanks for sharing the info.

    I’ve been using FeedWordpress as I thought WPe-Matico wasn’t being updated any more, but it seems like it is (although maybe it still has some bugs?). I may consider switching to that but only if it doesn’t cause too much disruption.

    Would still prefer a basic setup like this autotag plugin that works for categories.

    I’ve had a look at the source but not sure I trust my skills enough to attempt to convert it to categories instead of tags.

    I just realised, an even better solution might be to auto add custom taxonomies instead but I’m also having trouble finding a good search solution so people can search for X taxonomy AND Y taxonomy AND Z taxonomy.

    If anyone knows more about how to do this or how to convert this autotag plugin to categories please do let us know! (But probably better on a new thread as this one has gone off-topic)

    Thanks 🙂

    I use feedwordpress also but I have some trouble with duplicate posts and auto expiry of the posts, but good cause it can import custom taxonomies… WPe-matico does not have such option.

    However, I suppose “Simple tags” plugin is for you then. It can tag custom taxonomies “tag per word” only, so it can’t tag X word as Y tag. Only X -#letters word tag.

    About filtering you have many plugins like out there but only one as far as I know is capable of real conditional filtering is “query multiple taxonomies”

    Hope it helps.


    Plugin Author John LeBlanc


    Hi Folks,

    If you’re willing to suggest the code additions needed to support cats and custom taxonomies, I’d be happy to incorporate them.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Doc's Auto-tags] Error message on settings page after install’ is closed to new replies.