• Resolved binutz

    (@binutz)


    Hi,
    I am not able to edit, delete or, update group types that I have already created.
    When I go to the Group Type creation page under group type tab,I find all the group types displayed one below other on edit mode.
    A processing sign (rotation)is showing up continuously next to “update group types” button for all the group types listed on the page.
    I tried deleting and and reinstalling the plugin ,but it didn’t help.

    What could be wrong?

    My plugin version is :1.0.5 and WordPress version is 4.9.5

    Thanks

Viewing 9 replies - 16 through 24 (of 24 total)
  • Really glad that it worked for you.

    Plugin Contributor Varun Dubey

    (@vapvarun)

    Thanks @prashantvatsh worked for me too!

    Hello,

    I was facing exactly the same problem as described by OP. I’ve applied the change on file class-bp-add-group-types-admin.php as described by @prashantvatsh, but in my case it didn’t solve the problem.

    The only thing it changed is that now I don’t see the rotating sign next to each group’s update button. Actually these update buttons have now disappeared, as well as the text fields with slug and group name.

    Right below each group’s name, there are 2 clickable links: edit and delete. But none of them work (nothing happens when clicking them).

    Maybe there is a way to manually edit and delete group types (I mean directly on mySQL or whatever the information regarding group types is stored)?

    Thank you in advance for your support.

    Hi,

    If you can share a screencast for the same then that will be easy for me to see what’s happening there exactly. For now, if you can check what’s happening in the browser console when you are clicking edit and delete button then might be you can see any error there and also clear your browser cache as well. I am going to check once at my end if anything comes up like this.

    Thanks

    Hi @prashantvatsh,

    Group types view with original code:
    https://www.screencast.com/t/DCLWylCu7AJ

    Group types view after class-bp-add-group-types-admin.php code change:
    https://www.screencast.com/t/HPSaLlSWlJo

    The “edit” and “delete” buttons appear only when hovering the mouse right below the group type name. Clicking on the buttons does not generate any errors on browser console.

    The links will only appear when you will hover and that’s the default behaviour, it’s not a bug actually.

    And also I have checked with the plugin that replacing the code works fine. Please confirm that whether you have replaced the code in both the functions enqueue_styles() and enqueue_scripts(). Because at my end it’s all working fine when I replaced the code in these two functions. Also mentioning again that please do clear browser and site cache if there is any. In case if it is not working after replacing in both the functions. You can contact devs here https://wbcomdesigns.com/contact/.

    Thanks

    Hi @prashantvatsh,

    In the end it was really my mistake. I had forgotten to replace the line of code on enqueue_scripts. So your assumption was pretty accurate.

    Now it is working. Thank you very much!

    Great! Glad to hear that it worked for you.

    Thanks much ??

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Can’t edit, Delete, or update group types’ is closed to new replies.