Answered: Infinite loading when delete question or post an answer

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

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:
Waiting until January to make this move could trim up to $2,000 off your taxable income—about 90% of filers could benefit
Mercedes-Benz agrees to $149.6 million settlement with U.S. states over excess diesel emissions
Jim Cramer is encouraged by Nvidia-China reports and dismisses a Honeywell charge
A look at two industrial names on our Best Stocks list, including one that's a buy right now
Brick trophies, a life-size pink Cadillac and a team sponsorship: Why Lego is going all in on F1
Alphabet to acquire data center and energy infrastructure company Intersect
The NBA is pursuing ownership groups for a potential basketball league in Europe
'Witch hunt': Ex-EU commissioner Breton denounces U.S. visa ban targeting 'censorship'
Motive, an Alphabet-backed fleet management software company, files for IPO
Top 3 mistakes employees make during performance reviews—and how to avoid them, says career coach