Answered: Infinite loading when delete question or post an answer

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

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:
Answered: Why I am not able to edit my profile?
The top 10 jobs in the U.S. for 2026 all pay $100,000 or more, according to Indeed
Apple picks Google's Gemini to run AI-powered Siri coming this year
OpenAI acquires health-care technology startup Torch for $60 million, source says
Trump targets credit card rates. What’s at stake for Capital One and other banks
JPMorgan Chase tops estimates as trading revenue exceeds expectations
Stocks making the biggest moves premarket: L3Harris, JPMorgan, Delta, Intel, AMD and more
Salesforce releases updated Slackbot powered by Anthropic's AI model
Global central bankers unite in defense of Fed Chair Jerome Powell
Delta CEO sees record earnings in reach again thanks to high-end travel demand