lavenderwind
Forum Replies Created
-
Hi Mykayta,
The issue has not been whether posts can be made, it’s that we cannot update profiles. Even changing the field to radio button has not changed that. We are completely unable to make changes to profiles at all. When we edit a profile it does not “take”, we update it and it won’t remain in the updated state so when we revisit the profile it reverts to the previous state.
I have disabled caching on the site.
I have removed the code from the post-singles.php file.
We are unable to make the site work until we can get the profile update issue fixed.
Here is update: We got the data dump working:
https://yqh.uev.mybluehost.me/user/lnwraven/?profiletab=posts&um_ttt=1
object(WP_Post)#8439 (24) { [“ID”]=> int(11701) [“post_author”]=> string(2) “34” [“post_date”]=> string(19) “2024-01-13 11:56:06” [“post_date_gmt”]=> string(19) “2024-01-13 19:56:06” [“post_content”]=> string(143) “
This is a post for our testing purposes only. It will be deleted when we are done. ” [“post_title”]=> string(14) “Temporary Post” [“post_excerpt”]=> string(0) “” [“post_status”]=> string(7) “publish” [“comment_status”]=> string(6) “closed” [“ping_status”]=> string(6) “closed” [“post_password”]=> string(0) “” [“post_name”]=> string(14) “temporary-post” [“to_ping”]=> string(0) “” [“pinged”]=> string(0) “” [“post_modified”]=> string(19) “2024-01-13 12:10:46” [“post_modified_gmt”]=> string(19) “2024-01-13 20:10:46” [“post_content_filtered”]=> string(0) “” [“post_parent”]=> int(0) [“guid”]=> string(38) “https://yqh.uev.mybluehost.me/?p=11701” [“menu_order”]=> int(0) [“post_type”]=> string(4) “post” [“post_mime_type”]=> string(0) “” [“comment_count”]=> string(1) “0” [“filter”]=> string(3) “raw” } string(8) “11111111”
Here is update: We got the data dump working:
https://yqh.uev.mybluehost.me/user/lnwraven/?profiletab=posts&um_ttt=1
object(WP_Post)#8439 (24) { [“ID”]=> int(11701) [“post_author”]=> string(2) “34” [“post_date”]=> string(19) “2024-01-13 11:56:06” [“post_date_gmt”]=> string(19) “2024-01-13 19:56:06” [“post_content”]=> string(143) “
This is a post for our testing purposes only. It will be deleted when we are done. ” [“post_title”]=> string(14) “Temporary Post” [“post_excerpt”]=> string(0) “” [“post_status”]=> string(7) “publish” [“comment_status”]=> string(6) “closed” [“ping_status”]=> string(6) “closed” [“post_password”]=> string(0) “” [“post_name”]=> string(14) “temporary-post” [“to_ping”]=> string(0) “” [“pinged”]=> string(0) “” [“post_modified”]=> string(19) “2024-01-13 12:10:46” [“post_modified_gmt”]=> string(19) “2024-01-13 20:10:46” [“post_content_filtered”]=> string(0) “” [“post_parent”]=> int(0) [“guid”]=> string(38) “https://yqh.uev.mybluehost.me/?p=11701” [“menu_order”]=> int(0) [“post_type”]=> string(4) “post” [“post_mime_type”]=> string(0) “” [“comment_count”]=> string(1) “0” [“filter”]=> string(3) “raw” } string(8) “11111111”
- This reply was modified 10 months, 2 weeks ago by lavenderwind.
Mykyta,
Thank you for helping. Unfortunately, the directions provided did not work. But a new issue seems persistent before entering any new code changes: the posts page will not load at all (white screen). So getting a var_dump to work on this broken page is unlikely to help. It seems this page needs made functional first, or we var_dump a different, working, page? Please advise.
To help debug, I have uploaded a screenshare video (link below) showing the problems and attempted solutions for reference. If you could please advise from here, we would greatly appreciate any help. Let us know if you need any more details to assist with the debug, or site access directly.
Debug Docs (Google Drive): https://drive.google.com/drive/folders/1ybFqvc3vEmyZ68Dz7sJsIsKBCEcGZ6Wl?usp=sharing
- Video: shows behavior before and after implementing?fix #1420
- Attempts made with and without var_dump added before and after fix #1420
- Included docs:
- Error_log.php (after attempting all of the above).
- Posts-single.php (after var_dump & fix #1420)
- Video screenshare
Thanks!
Thank you for responding with the video. I made the correction to the posts-single.php file. I tried to make a change to the profile to see if it would show the data. Right now all I get is a white screen.
<div class="um-item-img"> <a href="<?php echo esc_url( get_permalink( $post ) ); ?>"> <?php echo get_the_post_thumbnail( $post->ID, 'medium' ); ?> </a> </div> <?php }
var_dump( $post );
if ( isset( $_GET[‘um_ttt’] ) && 1 == $_GET[‘um_ttt’] ) {
var_dump( $post );
var_dump( ‘11111111’ );
}
$unix_published_date = get_post_datetime( $post, ‘date’, ‘gmt’ );
?>Sorry, I don’t see anything on the page. The 11111111 isn’t showing up.
I put it in. I’m not sure it’s correct because I can’t search for members in UM search, nor see the gear to edit profiles anymore.
Thank you! I will also follow up tomorrow with UM. I appreciate your help.
Thank you for this. At this point there are no override templates. Does that mean the problem is a different one? I’m not knowledgeable about override templates and can’t tell from the documentation.