Skip to content
Snippets Groups Projects
Unverified Commit 475dd49b authored by Björn Endres's avatar Björn Endres :sailboat: Committed by GitHub
Browse files

Add error hint

This exception is *also* raised, when no membership types have been configured yet, which can be very confusing. It cost me a two hours to figure out the real reason, and I have the nagging suspicion that this had happened to me before. I'm not too happy about the phrasing, but it would be good to have a reference to a potentially incomplete configuration. Thanks.
parent a832e4ce
Branches
Tags
No related merge requests found
......@@ -474,7 +474,7 @@ DESC limit 1");
// Throw status bounce when no Membership type or priceset is present
if (empty($this->allMembershipTypeDetails) && empty($priceSets)
) {
CRM_Core_Error::statusBounce(ts('You do not have all the permissions needed for this page.'));
CRM_Core_Error::statusBounce(ts("You either do not have all the permissions needed for this page, or the membership types haven't been fully configured."));
}
// retrieve all memberships
$allMembershipInfo = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment