We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

PHP error on incident create post upgrade to feb 2017

Received Response
7
Views
9
Comments
edited Apr 18, 2017 1:25PM in Integrations and APIs 9 comments

Content

Hi folks

Here's a strange one for you; hopefully, someone else has had something similar happen to them.

We've just upgraded our system to February 2017 from May 2016 and we're now getting an error on the ask a question page. The submit does what it should do, including calling a post_incident_create hook which adds additional data to custom attributes on the affected incident. However the user is shown an error message which states:

There was an error with the request and the action could not be completed.

The request to sendform generates the following response:

<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message:  Creating default object from empty value</p>
<p>Filename: standard/field_model.php</p>
<p>Line Number: 120</p>

</div>
{"sessionParm":"","table":"incident","action":"create","i_id":4048,"status":1}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!