'Internal server error on WordPress site while checkout hosting by aws

my website is giving me internal server error on checkout. When I inspect the error on checkout page under network and response it says 'there has been critical error on this website. It was working fine 2 days ago and suddenly this error appeared. I have woocommerce plug-in and payment through razorpay. My hosting is through aws. Please help.

I was trying to buy a product and while clicking on checkout I am facing this error. Internal server error. Do I contact aws for this or can I correct it in WordPress myself, please guide? Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source