Hey there,
No, that is not intended. Unfortunately, I can’t recreate the error on my dev setup. Do you have any addons/custom code installed? You might want to try deactivating your plugins one by one and/or switching to a default WordPress theme such as twentyfourteen to try to isolate the issue.
If you want, we can also take a look at your site if you sign up for PMPro membership and post on our member support forums.
Thanks,
Jess
I’ll try deactivating some plugins.
Below are some screenshots so you can see what I have set up.
Screenshot 2
Screenshot 1
Looks like it has something to do with my theme.
I did a little more digging and narrowed it down this line of code I’m using:
$has_membership = pmpro_hasMembershipLevel(6);
Level 6 is that “hidden” level. I tried sticking the line above in the levels.php page after line 8. This is causing the hidden row to appear for me.
I should also add that I tried the above will all plugins disabled (except for PMPro) and using the 2014 theme.
Is there a reason you have that code in there? Are you trying to do something with the levels template?
I was just trying to narrow it down by putting that line in there. I was checking for that in my functions.php, but by disabling all plugins along with my functions.php and moving that line into that page (levels.php) I was able to see that it happens in only the plugin if that makes sense.
Is the problem resolved? It sounds like you figured it out, correct?
I had to do this instead:
$_not_has_membership = !pmpro_hasMembershipLevel(1,2,3,4,5,7);
I believe there is still an underlying issue with PMPro though.
Icy, are you running the latest version of the plugin? We fixed something related to this a few versions back.
I’m running Version 1.7.13.1.
I just reverted my code to see if it was still doing the same thing – and it is.
If you want, we can log in and take a look at your site and code if you become a PMPro member and post on the member forums.