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

Report custom widget filter problems

Accepted answer
24
Views
4
Comments
edited Aug 1, 2017 7:09PM in Customer Portal 4 comments

Content

Hello all,

I have a report the shows custom object records belonging to a contact. This report has a filter "contact id" which is just the c_id field from the contact table. I've created a widget to display the data, but my only problem is, is that I cannot get the filter to function properly whenever the widget is displayed on a page I get the following php warning:

A PHP Error was encountered

Severity: Warning

Message: trim() expects parameter 1 to be string, object given

Filename: Models/Report.php

 If I got into the report and delete the filter, this error goes away. It appears that somehow, this filter is being set to an object. How can I resolve?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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