Oxygen Builder MB Group Issues

Support General Oxygen Builder MB Group Issues

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #47550
    SolaceSolace
    Participant

    Hi there! Are there any known issues with Oxygen Builder not working with the Meta Box group? I'm trying all sorts of things here for troubleshooting, including disabling all plugins and all I see is "no data for field" even if there is content within the group. Here are my plugin versions:

    Meta Box 5.10.6
    Meta box AIO 1.31.1
    Oxygen Builder 4.9.1

    Any thoughts on how to get this to work?

    #47556
    SolaceSolace
    Participant

    Looks like there's a bug where Oxygen is not retrieving meta box group data from the meta box settings page. Can someone confirm?

    #47558
    JoeJoe
    Participant

    Yes I can confirm this as well, actually I just wanted to write about this too.

    Did you look at the code , that Metabox is giving you ?

    When you scroll down the settings page , there is PHP Code,

    I have just one group, with 2 text fields, the code I am getting is this :

    <?php
    $groups = rwmb_meta( 'vita_group', [ 'object_type' => 'setting' ], 'test-setting' );
    foreach ( $groups as $group ) {
    	
    	// Field vita_group_year:
    	echo $group[ 'vita_group_text' ] ?? '';
    	
    	// Field vita_group_content:
    	<?php $values = $group[ 'vita_group_content' ] ?? [];
    	<?php foreach ( $values as $value ) : ?>
    		<div class="my-content"><?php echo $value ?></div>
    	<?php endforeach ?>
    
    }
    ?>

    which is wrong, the code should be

    <?php
    $groups = rwmb_meta( 'vita_group', [ 'object_type' => 'setting' ], 'test-setting' );
    foreach ( $groups as $group ) {
    	
    	// Field vita_group_year:
    	echo $group[ 'vita_group_text' ] ?? '';
    	
    	// Field vita_group_content:
    	echo $group[ 'vita_group_content' ] ?? '';
    
    }
    ?>

    Maybe that messes up the Oxygen output ?

    #47567
    SolaceSolace
    Participant

    Very interesting Joe! I guess this is a bug then. Just waiting for someone from MB to confirm officially.

    #47586
    PeterPeter
    Moderator

    Hello Solace,

    The compatibility between Meta Box and Oxygen is maintained on the Oxygen side. So if you have any issues when using it with Meta Box, please contact Oxygen support to get further assistance.
    Refer to our support policy https://support.metabox.io/topic/support-policy/

    Thank you.

    #47606
    JoeJoe
    Participant

    Hi Peter,
    this has nothing to do with oxygen, I actually opened a conversation about this as well :

    https://support.metabox.io/topic/metabox-php-group-output-is-not-correct/

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