The content disappears when saving a custom field.

Support General The content disappears when saving a custom field.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #36098
    世阳 王世阳 王
    Participant

    I have encountered the disappearance of saved content before, when I had no feedback because of the small amount of content.
    Today I was working on a website and editing a custom field when the editing was done, saved and the content was deleted directly for no reason.
    Do not know what is the cause.

    #36104
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Can you please share a screen record of the issue? If you do not edit a custom field, will the content be deleted?

    #36112
    世阳 王世阳 王
    Participant

    This is a very confusing problem for me, because it does not happen often, unless I go to record the screen every time the editor, otherwise there is really no way to feedback this problem, so before encountered also did not take it seriously

    #36145
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You can try to create a staging site and disable all plugins except Meta Box, MB extensions, switch to the standard theme of WordPress and re-check this issue.
    Let me know if the issue still happens.

    #36146
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You can try to create a staging site and disable all plugins except Meta Box, MB extensions, switch to the standard theme of WordPress and re-check this issue.
    Let me know if the issue still happens.

    #41849
    Travis ReasonTravis Reason
    Participant

    I'm having this same problem. I'm not sure if it's related to the WordPress 6.2 update, but it didn't start doing this until just recently.

    #41850
    Travis ReasonTravis Reason
    Participant

    Also, my custom fields were imported from ACF. Could this be causing a problem?

    Here is the PHP code generated for one of the WYSIWYG fields:

    <?php
    // Getting the value:
    $value = rwmb_meta( 'intro' );
    echo $value;
    ?>
    
    <?php // Displaying the value: ?>
    <h2>Content</h2>
    <?php rwmb_the_value( 'intro' ); ?>
    
    <?php
    // Parse shortcodes and add paragraphs:
    $value = rwmb_meta( 'intro' );
    echo do_shortcode( wpautop( $value ) );
    ?>

    Here is a maps field

    <?php
    // Displaying the value:
    rwmb_the_value( 'local_map' );
    ?>
    
    <?php
    // Getting the value:
    $value = rwmb_meta( 'local_map' );
    echo $value;
    ?>
    #41878
    PeterPeter
    Moderator

    Hello Travis,

    Please create a new topic with the details of the issue and some screenshots, I will help you to check the issue.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.