When saving a record after editing it, I get the dreaded popup āError occurred while saving recordā.
The network response is:
{"errors":[{"message":"Internal server error","extensions":{"category":"internal"},"locations":[{"line":2,"column":3}],"path":["saveRecord"]}],"data":{"saveRecord":null}}
I canāt see anything in the logs that explains more about the error.
Immediately clicking back to the āMore informationā tab on the record shows the new status, but if the record is opened fresh the old status is back, so the change isnāt making it into the database seemingly.
Iāve tried turning on developer mode to see if there are more detailed errors, but also having issues with that (see Turning on developer mode causes fatal errors - #6 by stephhope )
The particular area where this issue is currently causing problems is in saving a Lead after updating it
Iām now able to save records, but it still shows the āError occurred when saving recordā popup.
Having turned on developer mode, Iām now seeing a cascade of āUndefined array keyā errors which are causing the popup error message. First was an āUndefined array key āsourceāā on line 401 of AOW_Actions/actions/actionSendEmail.php. After altering the line to first check if the key is defined, I now see a āWarning: Undefined array key āccāā which seems to originate from the following line of the same file:
337 if (!$this->sendEmail(array($email_to), $emailTemp->subject, $emailTemp->body_html, $emailTemp->body, $bean, $emails['cc'], $emails['bcc'], $attachments)) {
I can only assume that if I fix this one thereāll be more afterwards. Is there something else I should be doing to get an updated version of these AOW files, or a setting that I should change??
Edit: I wasnāt right about where the undefined index cc is coming from, but after fixing that and then a couple more errors the pop up error is gone at least on this page
1 Like