Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

PHP error on incident create post upgrade to feb 2017 (9 Comments)

$
0
0

Topic by David Lumm

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}

I've opened field_model.php in the rightnow/models folder and line 120 is part of the resetPassword function.

Has anyone come across anything similar to this when upgrading to Feb 2017? Does anyone have an idea of where I should start looking?

It should be noted that we're still on CP version 2.0, there's some fear about having to rework quite a few customisations if an upgrade to framework version 3 is performed.

Thanks in advance

David

Version

Service Cloud February 2017, Customer Portal v2

Viewing all articles
Browse latest Browse all 2504

Trending Articles