Error submitting a form

Hi all, very new to Wappler so apologies if this is basic, but I've spent a lot of today trying to work out this issue without any success.

I've created a form that I want the responses of to go into a MySQL database I have connected. However, whenever the form is submitted, I just get this error.

I've stripped it right back to the most basic workflow but the issue persists.

[200]: POST /dmxConnect/api/submit_appeal.php - Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at C:\Users\brandon\Documents\Web Dev\test\www\dmxConnectLib\dmxConnect.php:28) in C:\Users\brandon\Documents\Web Dev\test\w
ww\dmxConnectLib\dmxConnect.php:86
Stack trace:
#0 [internal function]: exception_error_handler(2, 'Cannot modify h...', 'C:\Users\brandon\...', 86)
#1 C:\Users\brandon\Documents\Web Dev\test\www\dmxConnectLib\dmxConnect.php(86): header('HTTP/1.1 500 In...')
#2 [internal function]: exception_handler(Object(ErrorException))

I've already checked that there's no no accidental output or whitespace before the <?php tag as per ChatGPT's suggestion.

Thanks in advance for any assistance.

Hello @_Brandon and welcome to the community, can you show us some code?

You can paste it here (remember to hide sensitive info) Check here to know how to format it

Also if you can take some screenshot of the serverconnect API will be great :slight_smile: