Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After deleting question or answer qameta stays in the database #770

Open
cema93 opened this issue May 25, 2023 · 1 comment
Open

After deleting question or answer qameta stays in the database #770

cema93 opened this issue May 25, 2023 · 1 comment
Assignees
Labels

Comments

@cema93
Copy link
Contributor

cema93 commented May 25, 2023

Describe the bug

After fully deleting question or answer qameta stays in the database

To Reproduce

Steps to reproduce the behavior:

  1. create new questein or answer
  2. fully delete it
  3. go to database(i use mariaDB)
  4. make a sql request select count(post_id) FROM wp_ap_qameta LEFT JOIN wp_posts ON wp_ap_qameta.post_id = wp_posts.ID WHERE wp_posts.ID IS NULL;
  5. See that there is a lot of question and answer meta in the database that no longer exists

Expected behavior

Q&A meta should be removed when deleting a post

@rahularyan
Copy link
Member

Thanks for reporting.
@mebishalnapit Please look into this issue when you can.

@rahularyan rahularyan added the bug label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants