I am at learning stage, I have created a demo plugin on my website mapanache, but when I trigger function uninstall it gives me following error.
Deletion failed: There has been a critical error on your website. Learn more about debugging in WordPress.
How to get rid of this. I have checked all the queries are working fine,