• Hi,

    I’m using the paid version of this plugin (It’s great, I love it) but last week it stopped tagging my posts. I can’t even get it to retag using the button.

    I’m watching the logs to see if any error messages come up and I can’t see anything.

    Any direction to fix this would be greatly appreciated.

    Suggestion. Can we add an “Autotag this Post” button in the Tags box that we can click to automatically add the tags for just that post?

    Thanks

    https://www.ads-software.com/plugins/strictly-autotags/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author strictly-software

    (@strictly-software)

    It will by default only tag the post you are working on. Only if you tick the box in admin that says re-tag all posts will it do that.

    So when you write an article, save a draft see which tags come up and then add your own or remove those you don’t like before re-tagging.

    If something has just broken it and you haven’t changed the plugin then go through the standard debug routine in the FAQ, Readme etc > https://blog.strictly-software.com/2014/04/how-to-send-developer-useful.html

    If you have just installed PHP 7 then there will be an issue with /e modifiers in regular expressions. There is a fix on this forum.

    Or go to https://www.facebook.com/strictlysoftware/posts/706339736181650

    Some other setting or plugin can clash so turn off all other plugins and see if another one recently installed affected it. What errors do you get in your Apache/PHP error files when trying to run it?

    Need to know the basics before being able to help

    Plugin Author strictly-software

    (@strictly-software)

    Did you find the bug, or conflicting plugin?

    Thread Starter Anthony Acosta

    (@anthon1)

    Nope.

    It would randomly add a tag here or there. For now we are manually tagging the posts.

    BTW, I tried the fix you suggested for PHP 7 and also checking against my other plugins. No joy.

    Plugin Author strictly-software

    (@strictly-software)

    If it suddenly stopped tagging then some other plugin must be involved as it doesn’t just stop.

    Check your error logs. Make sure you read the Facebook page on it and the blog post.

    So you followed this guide > https://www.facebook.com/strictlysoftware/posts/706358129513144
    https://blog.strictly-software.com/2017/01/php7-support-for-strictly-autotags.html

    Other people have done it including myself and it works so it must be a bug in either the words you are trying to tag or another plugin,
    do the usual debug routine outlined on those sites.

    The fix works for others and me so check you haven’t put an invalid character somewhere.

    So you disabled all your plugins apart from mine and did the Gitmo Kentucky post tag test at the top of your Readme.txt and admin pages?

    Turn debug on in the plugins code and change it to error_reporting(E_ALL); and see what bugs happen

    Thanks

    Thread Starter Anthony Acosta

    (@anthon1)

    Ok, so I downgraded from the paid version to the free version and it started working again.

    Plugin Author strictly-software

    (@strictly-software)

    Hi
    I take it you have upgraded PHP to version 7?
    That is why that regular expression stopped working the one with the /e at the end as its no longer supported which is why it’s been replaced with the examples on blog, FB and on this forum.
    Other people had issues when upgrading to PHP 7 and it was to do with that regex.
    However once they did as the many examples in this forum show and replaced that regex with the new one then it worked again.
    If it’s not that you have upgraded to PHP7 then I have no clue and been provided no data or examples, line no, log file errors, or info that could help me or work out why it is not working for you but does for me and many others.
    It is a case of debugging as the articles show, stopping other plugins especially anything new or those that have been upgraded themselves to see if that helps.
    I don’t know the code you have added to the site with plugins and themes etc but I have the Pro one working with that new regex in it. Are you sure when you copied it you did it properly, no spaces, no symbols something that could have stopped it from being copied.
    Without any data or info that is all I can assume as that is the only thing that changed with PHP 7 unless WP themselves have done something like add new code in but again I have the latest version and it works fine.
    It really is a case of going backwards to see what could have stopped it working, what did you upload, change etc.
    The only bug being reported on this forum which you should read due to PHP 7, is that regex and the removal of /e and they provide the replacement regex in their replies as I do on the site and FB page.
    So without you doing that debugging it is impossible for me to help you with no access. Check the PHP error log files, run the class file on its own on your server e.g with correct path /site.com/wp-content/themes/sometheme/plugins/strictly-autotags.php and see if any errors come up just by opeing it. Ensure error_reporting is set to error_reporting(E_ALL) at the top of the page before trying as well.
    There may be a new conflict with PHP 7 and the plugin I don’t know about but everyone so far who has done that regex fix has not come back to complain.
    Let me know what you find out re other plugins interfering and re-copying that regex (no spaces at all inside the “@…@”) or the regex in the callback function either.

    Plugin Author strictly-software

    (@strictly-software)

    Also which version of the plugin is it as there maybe more depreciated functions from PHP 7.

    Which would mean a case of looking to see where the error line was (no), turn debug on in file and save draft post.

    Might be more older /e regex type functions that I rewrote in that plugin that were removed in versions after it.

    But without knowing the place the bug is happening with no info it is hard to help. There are plenty of articles on my blog and FB page about getting debug info but I cannot magically see your computer.

    I would need access to it. There are configuration vouchers available for purchase on my site but from what you say about it just stopping a week ago that sounds like something you did on that day. Which means working out what you did do on that day.

    Try deleting some old tags maybe your memory is not big enough and you have let it run into thousands of tags when really you just want those used a lot for SEO. Having a tag used in 1 post when you have 1000 articles is no good that is why there is the “clean up tag section” for example “You currently have 1009 tags that are only associated with 2 or less posts.” why would I need those tags. So I delete them and ensure the “Max Tags to Deeplink” is always higher and I regularly clean out the unused tags.

    I will have more time to work on this soon so hopefully I can make the options better but I would be wary about it all stopping on a certain date.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘It stopped tagging my posts (How do I troubleshoot this) a suggestion’ is closed to new replies.