Saving an entry without User Groups calls userGroups(), which doesn't exist.
taylordaughtry opened this issue · 1 comments
taylordaughtry commented
Because there are no groups defined in the system, craft()->userGroups
is null. Place a try/catch block around it or use Brief's service call to get them. Add the $group->id to the return value; it's need in the on.SaveEntry
method.
taylordaughtry commented
This stems from the Craft edition that Brief is running on. Brief requires Craft Pro—the only edition with User Groups. Should probably note this in the README just to be safe.