question

EnterpriseArchitect avatar image
0 Votes"
EnterpriseArchitect asked ryanchill commented

Troubleshooting Azure App Service Worpress Server error. Form not sent. An error occurred ?

Hi All,

How to troubleshoot this Worpress Azure App Service https://portal.azure.com/#create/WordPress.WordPress that is throwing errors like below during the Contact Us form submission:

Server error. Form not sent. An error occurred.

I have also enabled the Application Insight, but not sure where to start.

Thanks in advance.

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
1 Vote"
ryanchill answered ryanchill commented

Hey @EnterpriseArchitect,

Can't say I've encountered these issues before but looking (see links below), seems to be associated with sending email. Is there a specific page you're getting this error on? Did you configure an SMTP server for your WordPress site or made any other sort of changes after deploying your site?

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ryanchill, Yes, the issue is when sending out emails from the Contact us page.
Looks like I will have to add another service to be able to send email from this website.

0 Votes 0 ·

Would it be possible to get this detailed error message from Appinsight?

0 Votes 0 ·
ryanchill avatar image ryanchill EnterpriseArchitect ·

I'm not entirely sure. It depends on how the error was surfaced. If it's sent through as an HTTP error like 500, then you should be able to see it. However, it's a client-side error that's raised through scripting, it may or may not be observed by App Insights.

1 Vote 1 ·

Hi Ryan,
Does the AppInsight can only catch the error when it is unhandled?
if it is already handled or captured by the Plugins, then there is no way to view it.

Correct me if I'm wrong.

0 Votes 0 ·
Show more comments