MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
MPFT_RelatedUserRole :: offsetGet( Integer $index )
Gets the post object at the given numerical array offset, if it exists. Since this overrides offset-get the user role can be obtained by an array-style access directly on the field object – see example.
Note: This method is intended for internal use and should not be called directly.