ddrapeau
Forum Replies Created
-
Yes – that worked. Thanks.
FYI an update should be done on page:
https://docs.ultimatemember.com/article/1515-how-to-add-and-use-custom-email-templates
I’m not sure if this is solving the issue. This functionality worked before. I have not changed the role structure in my system and I never had any super users. Something changed on your end and the “Login as this user” is no longer available to me if that user’s role includes “delete users” rights.
Again, I suggest you may want to look into why granting “delete users” wordpress capability on a role breaks UM’s “Login as this user” for any user with that role.
I have just updated to 3.1.9 as requested.
unchecking of “Output Buffering” as you requested still gave the blank home screen …. but checking it gives me my site back! Thank you!
FYI – I checked the other two sites that never had the problem … they were still at 3.1.8 so I updated them to 3.1.9 and they seem to work with “Output Buffering” both on or off.
That new “Output Buffering” option mentions themes, so I checked them: All sites are using Tempera 1.8.0
I’m guessing there is a difference in how Lightbox operates with Tempera theme if OS is “Linux 4.15.0-175-generic x86_64” vs “Linux 5.4.0-107-generic x86_64”.
It looks like enabling “Output Buffering” is needed with Linux 5.4.0-107 and Tempera theme.
Let me know if you want more info or if there are any tests you want me to try.
Thanks again for your quick help on this!
Thanks for letting me know that there are other reports.
Since you like the error log, here is more:
fatal 2022-04-12 12:15:16 Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0 fatal 2022-04-12 12:15:16 Allowed memory size of 536870912 bytes exhausted (tried to allocate 151552 bytes) in /srv/users/sso/apps/sso/public/wp-includes/functions.php on line 5219 fatal 2022-04-12 12:15:16 Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /srv/users/sso/apps/sso/public/wp-includes/formatting.php on line 4996
The functions.php code being referenced is:
/** * Flush all output buffers for PHP 5.2. * * Make sure all output buffers are flushed before our singletons are destroyed. * * @since 2.2.0 */ function wp_ob_end_flush_all() { $levels = ob_get_level(); for ( $i = 0; $i < $levels; $i++ ) { ob_end_flush(); } }
with line 5219 being ob_end_flush();
the formatting.php code being referenced is:
/** * Maps a function to all non-iterable elements of an array or an object. * * This is similar to <code>array_walk_recursive()</code> but acts upon objects too. * * @since 4.4.0 * * @param mixed $value The array, object, or scalar. * @param callable $callback The function to map onto $value. * @return mixed The value with the callback applied to all non-arrays and non-objects inside it. */ function map_deep( $value, $callback ) { if ( is_array( $value ) ) { foreach ( $value as $index => $item ) { $value[ $index ] = map_deep( $item, $callback ); } } elseif ( is_object( $value ) ) { $object_vars = get_object_vars( $value ); foreach ( $object_vars as $property_name => $property_value ) { $value->$property_name = map_deep( $property_value, $callback ); } } else { $value = call_user_func( $callback, $value ); } return $value; }
with line 4996 being: $object_vars = get_object_vars( $value );
I hope this helps …
Thanks!
looking at the change log for 2.2.0, I wonder if one of the “Sanitizing handlers” you added in that release might be the culprit?
I just noticed that the double blanks were taken out of my post above.
here are two of the lines with “^” in place of blanks
$55^^Early Bird (Single)^^April 1-30
$65^^Single – After April 30there were two spaces in position 4 and 5 of each of the above rows.
replacing them with single space worked.
The RADIO field settings are:
Title: Fee [CHANGE THIS FIELD EVERY YEAR]
meta key: member_fee_due
Edit Choices:
$55 Early Bird (Single) April 1-30 $65 Single - After April 30 $55 Early Bird (Family - Primary member) April 1-30 $65 Family (primary member) - After April 30 $27 Early Bird Family - per additional family member April 1-30 $32 Family - per additional family member - After April 30 Visibility Everywhere Field not required User can edit field Label: Fee Privacy: Everyone
=======================================
To make matters more interesting, based on your question I just now tried:
$55 $65 $55 $65 $27 $32
which works with 2.2.0
I noticed that there were some “double spaces” after the fee in the original list. On a wild guess I replaced every double-blank space with single space …. and it works!
I put the double blanks back in … and it does not work!
Does this help?
- This reply was modified 3 years, 1 month ago by Steven Stern (sterndata).
I am using the UM Form Builder.
Further info: I’m on WordPress 5.9-en_CA running with Astra theme. The problem also occurs with Tempera theme.
Same issue … and the “hacky work around” above does fix it, but it makes me wonder what other damage the directory plug-in is causing, so it’s now removed.
Thank you. I edited the \wp-upg\layout\catalog.php as suggested.
I added:
if (strtolower($orderby == “title”)) {
$order = “ASC”;
} else {
$order = “DESC”;
}and replaced the two ‘order’ => ‘DESC’, lines with ‘order’ => $order,
This way only the ‘title’ order is affected.
I suggest you include this in a future release as “ASC” makes more sense for ORDERBY = “title”
I had the same problem and I can confirm that rolling back to 2.1.8 resolved the issue.
This was important to me that there a some fields in the profile that we want to have updatable by admin and “Site Manager” roles, but only visible to the member.