You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue 1: On lines 523 and 524, $curlevel->id does not exist. All instances of $curlevel->id should instead just be $curlevel.
Issue 2: After fixing this, going through the replication steps will result in users having none of the levels from that group, including the one that they were checking out for. This is still not the behavior that we are looking for. Intuitively, users should instead only have their most recent level for the group, which in this case is the level that they are checking out for.
The text was updated successfully, but these errors were encountered:
Issue 1 makes total sense that we should switch that to match the response of pmprommpu_get_levels_and_groups_in_order
Issue 2 would be solved if when we build the list of levels here to also add a conditional check that the level is not in $pmpro_checkout_levels array (which is a list of level objects btw)
Steps to replicate:
dellevels
parameter from the URL and reload the pageWe try to address this kind of situation here, but it has 2 issues:
pmpro-multiple-memberships-per-user/includes/overrides.php
Lines 498 to 543 in dbba958
Issue 1: On lines 523 and 524,
$curlevel->id
does not exist. All instances of$curlevel->id
should instead just be$curlevel
.Issue 2: After fixing this, going through the replication steps will result in users having none of the levels from that group, including the one that they were checking out for. This is still not the behavior that we are looking for. Intuitively, users should instead only have their most recent level for the group, which in this case is the level that they are checking out for.
The text was updated successfully, but these errors were encountered: