itthinx / groups

Groups provides group-based user membership management, group-based capabilities and content access control. It integrates standard WordPress capabilities and application-specific capabilities along with an extensive API.
GNU General Public License v3.0
49 stars 35 forks source link

Check whether a valid group is returned before calling group_id prop #134

Closed jmalko closed 1 year ago

jmalko commented 2 years ago

Warning squash in PHP 8.0 - make sure $this->group is an object and not a bool when calling properties $this->group->group_id

itthinx commented 1 year ago

Many thanks! This has been added to the current 2.18.0 development branch which will be released shortly.