Oxygen Builder MB Group Issues
- This topic has 5 replies, 3 voices, and was last updated 10 months ago by
Joe.
-
AuthorPosts
-
January 28, 2025 at 8:13 AM #47550
Solace
ParticipantHi 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.1Any thoughts on how to get this to work?
January 30, 2025 at 2:01 AM #47556Solace
ParticipantLooks like there's a bug where Oxygen is not retrieving meta box group data from the meta box settings page. Can someone confirm?
January 30, 2025 at 6:26 PM #47558Joe
ParticipantYes 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 ?
February 2, 2025 at 1:32 AM #47567Solace
ParticipantVery interesting Joe! I guess this is a bug then. Just waiting for someone from MB to confirm officially.
February 4, 2025 at 11:05 PM #47586Peter
ModeratorHello 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.
February 6, 2025 at 8:53 PM #47606Joe
ParticipantHi 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/
-
AuthorPosts
- You must be logged in to reply to this topic.