Support » Plugin: Post Comments as bbPress Topics » New Topic when Post is updated

  • Hi Robin,

    i hope you doing well. Now to my problem:

    As soon as your new updates hit the repo i found a issue with the plugin. Everytime when i update a post, a new topic is generated. Would you please check if this is somehow a issue inside your updates?

    The issue started with version 2.1.5.

    Reagrds
    Maximilian

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Robin W

    (@robin-w)

    Thanks for letting me know

    @nickchomey – have you got time to look at this?

    Plugin Author Nick

    (@nickchomey)

    That seems fairly serious and likely related to modifications I made, so I’ll try to look at it soon.

    (for clarity, the modifications were to allow for updating the topic when you update the post – which didn’t happen previously. It should just be a minor tweak to fix this issue.)

    • This reply was modified 1 year, 3 months ago by Nick.
    Thread Starter maxx203

    (@maxx203)

    Thank you very much Nick. Maybe consider to introduce this as option to enable or disable inside the discussion settings.

    Plugin Author Nick

    (@nickchomey)

    To clarify, what would you want the option to be? The way it is supposed to be working (but apparently isn’t) is that when you update a post, its associated topic will have its information updated as well to reflect whatever changes were made to title, content, author, etc…

    When I fix whatever this bug is (and I think I’ve found it), is that not a desirable behavior for all users such that an option isn’t necessary?

    Plugin Author Nick

    (@nickchomey)

    I think I’ve fixed it. The plugin has some… legacy quirks… and does some weird things, one of which is *sometimes* retrieving a string rather than an integer for a post_ID, which messed up the logic I added for updating posts. I’ve made a few tiny tweaks and it should be robust now.

    Can you try replacing the index.php file with this one and test it out?

    https://1drv.ms/u/s!AnOEodAV8WChia5yGjVksIjXvf-IFg?e=bb5E55

    • This reply was modified 1 year, 3 months ago by Nick.
    Thread Starter maxx203

    (@maxx203)

    I can confirm that your new index.php does fix the issue with duplicated topics inside the forum. However for some reason when i update the post the update button is getting busy and does not recover from this state.

    I can only reload the page.

    https://i.imgur.com/ezBciII.png

    Plugin Author Nick

    (@nickchomey)

    Glad to hear it is fixed. @robin-w could you replace index.php with the version linked above and push a new update?

    I’ve had that frozen Update post problem before – long before I ever used this plugin. I don’t think I ever figured out what the issue was, but it resolved itself. Perhaps turn on debug mode and checking the debug.log file will provide some useful info? https://themeisle.com/blog/wordpress-error-log-debug/

    Also, does it happen when you disable this plugin?

    Finally, this appears to be relevant and has some good suggestions. https://wordpress.stackexchange.com/questions/117308/post-page-publish-update-button-not-clickable-once-i-make-an-edit

    Thread Starter maxx203

    (@maxx203)

    Ill check it later again. Maybe it´s also a browser related / caching thing. Thank you and of course i very appreciate your instant fix / help.

    Keep it going and stay save.

    Good Bye!

    Plugin Author Nick

    (@nickchomey)

    Ok. If you find that disabling this plugin fixes the problem, let us know and we can see if we can help. But I’d be surprised if that is the case.

    I looked around a bit more and some people suggest it might be something to do with the URLs in Settings->General. Make sure the WordPress address and Site Address are matching. Also, if you are using SSL, make sure they are https.

    And yes, it might be browser/caching as well. A different browser or clearing cache might work.

    Good luck!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘New Topic when Post is updated’ is closed to new replies.