Answered: Infinite loading when delete question or post an answer

Post date: 2021-05-07 08:17:28
Views: 142

If you modify the DB directly, you will not fire all the needed events needed to perform the expected action. That can either make the action fail, or make any other Q2A core or plugin feature fail. In other words, even if you don't detect you've broken something immediately, you might detect it at a later stage.

Conclusion: unless you know 100% of the Q2A core and plugin code that gets executed when performing a specific action, don't try to replicate it by modifying the database directly.

Having said so, there's a plugin that takes care of some (if not all) of these issues: https://github.com/amiyasahu/q2a-delete-hidden-posts

Please click Here to read the full story.
 
Other Top and Latest Questions:
2026 will bring more GLP-1 weight loss pills — and new habits. These stocks are poised to benefit
Stellantis resurrects $100,000 Ram TRX V-8 pickup truck amid industry deregulation
Minimum wage just went up in 19 states—workers in one state are getting a $2 an hour raise
Bernie Sanders and Ron DeSantis speak out against data center boom. It's a bad sign for AI industry
Italy says U.S. sharply reduced proposed pasta tariffs after a review
Dust to data centers: The year AI tech giants, and billions in debt, began remaking the American landscape
Be careful buying the top 10 ETFs of 2025: They have 'very little, if any' role in your portfolio, says expert
Week in review: We initiated a position — plus, top gainers and laggards of 2025
Bank of America is betting on these stocks, including one Big Tech laggard, in the first quarter of 2026
Behind the mesh curtain: Why airline class wars will intensify in 2026