Skip to:
Content
Pages
Categories
Search
Top
Bottom

Tag Bug: MySQL error


  • Michael
    Member

    @michael888

    Hi all :) Hope you’re keeping well. :)

    I just picked up a bug (it may just be in my forum though) with the tags system. I was doing some tag cleaning today, so I needed to merge a few tags. I had two tags that needed merging: “User Interfaces” and “User Interface” (my fault).

    After merging the tags, I received this error:

    http://www.inniosoft.co.cc/devstation/tags

    I am using the Hot Tags Plus plugin, but I don’t think it has anything to do with this error.

    Running bbPress 1.0.2.

    Any ideas?

    Peace, Michael :)

Viewing 8 replies - 1 through 8 (of 8 total)

  • Gautam
    Member

    @gautam-gupta

    I think it is related to hot tags plus only, as the query shown on your server is same to this – https://plugins-dev.bbpress.org/browser/hot-tags-plus/trunk/hot-tags-plus.php#L144

    I was able to merge fine on trunk revision 2388 and on 1.0.2 so it should be the plugin.


    Michael
    Member

    @michael888

    I see – must be the case then. Any idea how it can be fixed? I’m assuming that the attempt to remove the tag that may have caused the problem would be useless.

    I will try re-installing the plugin, that should do the trick.


    Gautam
    Member

    @gautam-gupta

    turn off related tags option


    Michael
    Member

    @michael888

    I’ve just disabled the plugin. I don’t want to reduce the functionality of it at all. Besides, I’m planning to make some changes to my forum – so I’ll probably use bbCumulus when the time comes. :)

    Thanks for the help :)


    Gautam
    Member

    @gautam-gupta

    or just wait, I will give you a patch (if possible)


    Gautam
    Member

    @gautam-gupta

    Add this before line 40 in hot-tags-plus.php:

    add_action('bb_pre_merge_tags', 'hot_tags_plus_delete');

    This wont fix your current bug (but would fix future ones). To fix the one that is now, temporarily run hot_tags_plus_delete() function any where in your template to clear the cache and remove it after that.


    Michael
    Member

    @michael888

    Okay, thank you :)

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.