Open ipokkel opened 3 years ago
The debug log doesn't mention PMPro, which I think is odd because the shortcode does not look wrong. The log itself shows the Memberlite theme in the stack but never gets to the shortcode callback itself for PMPro.
It leads to this line in WP Core causing the problem:
$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
This would need much more debugging on the site in question to determine the real cause since we can rule out PMPro itself.
A similar issue was encountered, the membership name and ID and or end date would only return the said data for the first level on file for the user, where they hold more than one level, this returns only the first level and the end date for that level if it exists.
Moderators Only: #601664
Describe the bug When using the shortcode to display user data, e.g.
[pmpro_member fields="display_name"]
, the phrase "Array" is returned instead of the data.To Reproduce Steps to reproduce the behavior:
[pmpro_member fields="display_name"]
and saveExpected behavior The relevant user data is expected to show.
Isolating the problem (mark completed items with an [x]):
Notes Here's the entry from debug log when calling the shortcode to display user data.