This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

kasperbb9853952
kasperbb9853952

I'm trying to create a simple CRM system. I have a plugin: CRM, with two models: Customer and CustomerCase. My problem comes when trying to create a relation dropdown in fields.yaml. The Customer belongsTo a CustomerCase and the CustomerCase hasMany Customer. Field name is 'customer'.

When I try to create a Customer Case, I get this error:

"Trying to access array offset on value of type null

"C:\xampp\htdocs\october\modules\backend\widgets\form\partials_field_checkboxlist.htm line 85".

I've tried looking it up, but I can't seem to find any relevant information.

EDIT: God I'm dumb, I switched up the relations.

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.