Downgrading to 5.9.11 fixes the status problem in Auto Listings; please solve this asap!
Thx
]]>I am doing maintenance for a client and did not build his websites. On this particular website, he has Meta Box, Meta Box Conditional Logic, and Meta Box Show Hide. He either has free versions or perhaps his developer has let license lapse. At any rate, I can’t update Meta Box Conditional Logic or Meta Box Show Hide. Can I safely delete these 2 or all 3? I don’t even understand what Meta Box does. How can I find out what it is doing on his site so I can see he if he needs them or not or possibly find another plugin to do the same (a free plugin).
]]>Hello, is there any interface between MetaBox and Gutenberg based WPSpectra plugin?
]]>MetaBox version 5.10.2
WordPress version 6.6.2
PHP version 8.3.11
Fatal error: Uncaught Error: Call to undefined method MetaBox\Support\Arr::remove_first() in /var/www/wp-content/plugins/meta-box/inc/request.php on line 56
Stack trace:
#0 /var/www/wp-content/plugins/meta-box/inc/request.php(21): RWMB_Request->cleanup(Array)
#1 /var/www/wp-content/plugins/meta-box/inc/functions.php(325): RWMB_Request->__construct)
#2 /var/www/wp-content/plugins/meta-box/inc/meta-box.php(298): rwmb_request)
#3 /var/www/wp-content/plugins/meta-box/inc/meta-box.php(262): RW_Meta_Box->validate()
#4 /var/www/wp-includes/class-wp-hook.php(326): RW_Meta_Box->save_post(226586)
#5 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook-?apply_filters("', Array)
#6 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 / var/www/wp-includes/post.php(4880): do_action('save_post_...', 12, Object(WP_Post), true)
#8 /var/www/wp-includes/post.php(4993): wp_insert_post(Array, false, true)
#9 /var/www/wp-admin/includes/post.php(453): wp_update_post(Array)
#10 /var/www/wp-admin/post.php(227): edit_post()
#11 {main}
thrown in /var/www/wp-content/plugins/meta-box/inc/request.php on line 56
Meta Box version 5.10.1 works without any issues.
]]>I am getting these php fatal errors. I am not sure how long ago the issue started. Php 7.4 and plugin is up-to-date
[27-Oct-2024 16:26:46 UTC] PHP Fatal error: Uncaught Error: Class 'RWMB_Field' not found in /[path]/wp-content/plugins/meta-box/inc/meta-box.php:334
Stack trace:
#0 /[path]/wp-content/plugins/meta-box/inc/meta-box.php(53): RW_Meta_Box::normalize_fields()
#1 /[path]/wp-content/plugins/meta-box/inc/meta-box-registry.php(19): RW_Meta_Box->__construct()
#2 /[path]/wp-content/plugins/meta-box/inc/core.php(32): RWMB_Meta_Box_Registry->make()
#3 /[path]/wp-includes/class-wp-hook.php(324): RWMB_Core->register_meta_boxes()
#4 /[path]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /[path]/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /[path]/wp-settings.php(700): do_action()
#7 /[path]/wp-config.php(102): require_once('/home/forg in /[path]/wp-content/plugins/meta-box/inc/meta-box.php on line 334
[27-Oct-2024 16:31:58 UTC] PHP Fatal error: Uncaught Error: Call to undefined method MetaBox\Support\Arr::to_depth() in /[path]/wp-content/plugins/meta-box/inc/field.php:606
Stack trace:
#0 /[path]/wp-content/plugins/meta-box/inc/field.php(541): RWMB_Field::get_single_std()
#1 /[path]/wp-content/plugins/meta-box/inc/field.php(176): RWMB_Field::call()
#2 /[path]/wp-content/plugins/meta-box/inc/field.php(541): RWMB_Field::meta()
#3 /[path]/wp-content/plugins/meta-box/inc/field.php(25): RWMB_Field::call()
#4 /[path]/wp-content/plugins/meta-box/inc/field.php(541): RWMB_Field::show()
#5 /[path]/wp-content/plugins/meta-box/inc/meta-box.php(218): RWMB_Field::call()
#6 /[path]/wp-admin/includes/template.php(1456): RW_Meta_Box->show()
#7 /[path]/wp-adm in /[path]/wp-content/plugins/meta-box/inc/field.php on line 606
]]>
Hi all, I have a question about the new feature “clone empty start”. My site has 1 (custom) field group with some different type custom fields, including some clonable ones. When I start a new post, the first line of clonable custom fields shows, empty. If I compile one of these fields and not the other clonable fields and save, when I edit agin the post the first line of cloneable fields disappear, as clone_empty_start is set to true.
Is this behaviour done on purpose? I mean, clone_empty_start = false with new posts and clone_empty_start = true with edited posts? Is there an option I can set somewhere to avoid the “disappearing” of the first line of clonable fields?
Thanks for the information, in the meantime I had to rollback the plugin to the version 5.9.11 prior to the introduction of the “clone empty start” feature.
Found your plugin after reading about the problems between ACF and WordPress. Do I still need the Elementor Pro? can I convert what I made with ACF to your plugin?
]]>I inherited a site to look after and it has 2 plugins that won’t update: Meta Box Conditional Logic and Meta Box Show Hide. It also has Meta Box. How can I figure out what these plugins do on this site? I have no clue how to figure that out. I want to know if I can safely delete them, or replace them with some other plugin.
]]>i added meta box and added upload field for showing in custom post type in backend page but upload box also on bottom and also most recent file showing bottom
Upload box should be at top.
Most recent field showing top instead bottom can you help me in this
I will be very thank ful to you.
Moderator note: Please, No bumping
https://www.ads-software.com/support/forum-user-guide/faq/#should-i-bump-my-post-if-no-one-answers
]]>After I updated from V5.9.9 to V5.10.0, I found that I could not get posts through ‘query_args’, then I looked at the source code and found that the boxed code in the figure below was very strange:
meta-box\inc\fields\post.php
It means “if the current user does not have permission to read the post, then continue” Is it wrong here, it should be “if the current user has permission to read the post, then continue”.
Then I modified the code as follows, and the function returned to normal:
if ( current_user_can( 'read_post', $post ) ) {
continue;
}
I hope it can be corrected, thank you!
]]>My client noticed a bug with Meta Box 5.10.0:
The previously added content in File Advanced fields, set to clonable, do not appear in the admin area anymore. I checked the database and the custom field value is still there at this point. But when saving the post without changes, these fields are inadvertently emptied.
array(
'id' => 'example_field',
'type' => 'file_advanced',
'name' => esc_html__( 'Example field', 'example' ),
'max_file_uploads' => 1,
'max_status' => false,
'clone' => true,
'sort_clone' => true,
),
I rolled back to 5.9.11 and here it still works.
]]>Hi,
We have been using Metabox custom meta plugin for years! But it stopped working. We found out on the advanced field type “text-list”
The field type “text-list” shows in the front end template. But it does not show the saved values in the block editor when loading a post. It is possible to save a new one entry, but it replaces al previously entered data. Also saving the post will erase all fields and values in the db. It is currently not possible for us to edit posts because this will erase all the text-list type custom meta. Unless you create a new field every time you save the post.
If we use chrome inspector to check the group, we see the following hidden entries with display set to “none” nad both fields are in the value property of the input, it seems like they are rendered completely wrong:
<div class="rwmb-clone rwmb-text_list-clone rwmb-sort-clone rwmb-clone-template" style=""><a href="javascript:;" class="rwmb-clone-icon"></a><label><span class="rwmb-text-list-label">Store</span> <input id="product-links-stores" class="rwmb-text_list" name="product-links-stores[0][]" aria-labelledby="product-links-stores-label" aria-describedby="product-links-stores-description" type="text" placeholder="name"></label> <label><span class="rwmb-text-list-url">URL</span> <input id="product-links-stores" class="rwmb-text_list" name="product-links-stores[0][]" aria-labelledby="product-links-stores-label" aria-describedby="product-links-stores-description" type="text" value="["Inprint","https:\/\/www.inprnt.com\/gallery\/example\/wave\/"]" placeholder="url"></label><a href="#" class="rwmb-button remove-clone" style="display: none;"><span class="dashicons dashicons-dismiss"></span></a></div>
I hope you can reproduce this and find a solution
wordpress version: 6.6.1
metabox 5.10.0
this is the setup:
<?php
function product_links_get_meta_box( $meta_boxes ) {
$prefix = 'product-links-';
$meta_boxes[] = array(
'id' => 'product_links',
'title' => esc_html__( 'Product Links', 'textdomain' ),
'post_types' => array( 'portfolio' ),
'priority' => 'high',
'autosave' => false,
'fields' => array(
array(
'id' => $prefix . 'stores',
'type' => 'text_list',
'name' => esc_html__( 'stores', 'textdomain' ),
'desc' => esc_html__( 'Add external product links', 'textdomain' ),
'clone' => true,
'options' => array(
'name' => 'Store',
'url' => 'URL'
),
'add_button' => esc_html__( 'Add Store', 'textdomain' ),
),
),
);
return $meta_boxes;
}
add_filter( 'rwmb_meta_boxes', 'product_links_get_meta_box' );
]]>
Bonjour, je souhaite mettre les annonces avant mon texte sur la page ci dessus. Il est impossible de faire les modifications via le back office (les box ne s’affiche dans le back). Pouvez-vous me dire si il est possible de déplacer les box sur ma page ? Avez-vous de la documentation ?
De plus, je voulais savoir si il été possible de créer une page elementor avec ce plugin ? (j’utilise également “Auto Listings“. Mon thème est Astra.
Merci d’avance.
Hi there,
So for some reason my custom post type with Metabox arent saving or publishing new posts.
I tried disabling plugins, and it didn’t help; what am I doing wrong?
]]>The site editor in WordPress 6.6 is given an error when trying to save a custom pattern o template part.
TypeError: Cannot read properties of undefined (reading 'form')
at e.<computed>.valid (jquery.validate.js?ver=1.20.0:131:29)
at editor.savePost (validation.js?ver=5.9.10:239:21)
at Object.savePostStatus (editor.min.js?ver=734dedd6ead28ee4ca9c:7:150370)
at data.min.js?ver=7c62e39de0308c73d50c:9:3735
at editor.min.js?ver=734dedd6ead28ee4ca9c:7:149054
at editor.min.js?ver=734dedd6ead28ee4ca9c:7:148202
at n.<computed> (components.min.js?ver=36b97398bf090476214e:27:14952)
at Object.De (react-dom.min.js?ver=18.3.1:2:16716)
at Be (react-dom.min.js?ver=18.3.1:2:16870)
at react-dom.min.js?ver=18.3.1:2:36731
jquery.validate.js?ver=1.20.0:131:29
Steps to reproduce:
meta-box
plugin (5.9.10)functions.php
<?php // theme/functions.php
add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
? $meta_boxes[] = [
? ? 'title' ? ?=> 'Event details',
? ? 'post_types' => 'page',
? ? 'fields' ? => [
? ? ? [
? ? ? ? 'name' => 'Location',
? ? ? ? 'id' ? => 'location',
? ? ? ? 'type' => 'text',
? ? ? ],
? ? ],
? ];
? return $meta_boxes;
} );
]]>
Have you ever encountered a situation with Meta Box where instead of displaying the set Taxonomy value, it displays (probably) its ID?
So, there is a Program CPT, which has custom Taxonomies and Custom Fields. One of the taxonomies is Dates (08:00, 09:00 etc.), which, if I add it as a dynamic field in Divi, for example to a Text module, it doesn’t display the values, but rather “62,63”
]]>I’ve got a custom post type (book) and a taxonomy (person). The post type has two different custom fields of the type “advanced taxonomy”, both with the same taxonomy “person”. One field is called “published” and one “has_text”. Both fields have the same taxonomy so that they share the same pool of persons. In both fields there can be chosen more than one taxonomy term.
In my wp query I don’t know how to deal with it. On “site.com/person/max” I would like to show all books that habe the term “max”(id: 10) in the field “published”. I tried two different ways. Both don’t work.
$args = [
'posts_per_page' => -1,
'meta_query' => [],
'post_type' => 'book',
'order' => 'DESC',
'orderby'=> 'date',
'tax_query' => array(
array (
'taxonomy' => 'published',
'field' => 'term_id',
'terms' => '10',
)
),
];
'meta_query' => array( array(
'key' => 'published',
'value' => '10',
'compare' => 'IN',
'type' => 'term_id',
))
The first one shows all books, the second one just the books that ONLY have the term_id 10, not those which also have other publishers.
]]>Hello, I am trying to use the rwmb_show filter, seeing that it does not work, I have replicated the example that you have on the documentation page but it does not work either, it returns this error:
Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /Users/jupa/Local Sites/wordpress/app/public/wp-includes/class-wp-hook.php on line 326 and exactly 2 expected in /Users/jupa/Local Sites/wordpress/app/public/wp-content/themes/naked/includes/custom-metaboxes.php:128 Stack trace: #0 /Users/jupa/Local Sites/wordpress/app/public/wp-includes/class-wp-hook.php(326): {closure}(true) #1 /Users/jupa/Local Sites/wordpress/app/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array) #2 /Users/jupa/Local Sites/wordpress/app/public/wp-content/plugins/meta-box/inc/meta-box.php(75): apply_filters(‘rwmb_show_event…’, true, Array) #3 /Users/jupa/Local Sites/wordpress/app/public/wp-content/plugins/meta-box/inc/meta-box.php(57): RW_Meta_Box->is_shown() #4 /Users/jupa/Local Sites/wordpress/app/public/wp-content/plugins/meta-box/inc/meta-box-registry.php(19): RW_Meta_Box->__construct(Array) #5 /Users/jupa/Local Sites/wordpress/app/public/wp-content/plugins/meta-box/inc/core.php(32): RWMB_Meta_Box_Registry->make(Array) #6 /Users/jupa/Local Sites/wordpress/app/public/wp-includes/class-wp-hook.php(324): RWMB_Core->register_meta_boxes(”) #7 /Users/jupa/Local Sites/wordpress/app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /Users/jupa/Local Sites/wordpress/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /Users/jupa/Local Sites/wordpress/app/public/wp-settings.php(695): do_action(‘init’) #10 /Users/jupa/Local Sites/wordpress/app/public/wp-config.php(112): require_once(‘/Users/jupa/Loc…’) #11 /Users/jupa/Local Sites/wordpress/app/public/wp-load.php(50): require_once(‘/Users/jupa/Loc…’) #12 /Users/jupa/Local Sites/wordpress/app/public/wp-admin/admin.php(34): require_once(‘/Users/jupa/Loc…’) #13 /Users/jupa/Local Sites/wordpress/app/public/wp-admin/post.php(12): require_once(‘/Users/jupa/Loc…’) #14 {main} thrown in /Users/jupa/Local Sites/wordpress/app/public/wp-content/themes/naked/includes/custom-metaboxes.php on line 128
And this is my testing code
add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
$meta_boxes[] = [
'title' => 'Event details',
'id' => 'event-details',
'post_types' => 'page',
'fields' => [
[
'name' => 'Date and time',
'id' => 'datetime',
'type' => 'datetime',
],
'Location',
[
'name' => 'Map',
'id' => 'map',
'type' => 'osm',
'address_field' => 'location',
],
],
];
return $meta_boxes;
} );
add_filter( 'rwmb_show_event-details', function( $show, $meta_box ) {
$post_id = isset( $_GET['post'] ) ? $_GET['post'] : null;
if ( $post_id === 123 ) {
$show = false;
}
return $show;
} );
I need to show some custom fields only on the home page and I would like to limit them by page id.
Thank you very much for any help you can give me.
My FacetWP subscription expired, but I can’t get logged in to renew or request support. I thought, since you work with them, you might be able to help. It seems their system is no longer sending emails.
]]>Hi guys. Meta Box 5.9.7 has an issue.
When I download it and hit Activate, it spits out a wall of text which starts with “Activation failed”…This happens when I try to install the plugin on a brand new WordPress installation.
Another thing I’ve noticed, is that the plugin’s menu item doesn’t appear in the dashboard sidebar at all, unit I install the AIO plugin.
]]>Hello,
I changed the dateformat and timeformat for the datetime picker to d.m.yy and H:i:s. This works just fine but for the minute-value. If I want to pick a date the field for minutes is just not visible. The same problem occurs with just the time picker.
I made this with Metabox
]]>Updating to metabox 5.9.3 gave the following warning:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.4.3
Active theme: MH Magazine Child Theme (version 1.0.0) Current plugin: Meta Box (version 5.9.3) PHP version 8.3.2
Error Details
=============
An error of type E_ERROR was caused in line 289 of the file /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-content/plugins/meta-box/inc/functions.php. Error message: Uncaught Error: Class "RWMB_Helpers_String" not found in /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-content/plugins/meta-box/inc/functions.php:289
Stack trace:
#0 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-content/plugins/meta-box/inc/core.php(26): rwmb_get_registry('meta_box')
#1 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-includes/class-wp-hook.php(324): RWMB_Core->register_meta_boxes('')
#2 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-settings.php(643): do_action('init')
#5 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-config.php(82): require_once('/mnt/web411/c1/...')
#6 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-load.php(50): require_once('/mnt/web411/c1/...')
#7 /mnt/web411/c1/77/59783577/htdocs/WordPress_03/wp-admin/admin-ajax.php(22): require_once('/mnt/web411/c1/...')
#8 {main}
? thrown
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.4.3
Active theme: MH Magazine Child Theme (version 1.0.0) Current plugin: Meta Box (version 5.9.3) PHP version 8.3.2
I’ve moved back tp 5.9.2 for the time being
]]>I installed the plugins in localhost and I can’t see any dashboard option from where I can create new custom post or custom fields. I deactivated other plugins and tried as well, but not showing.
]]>Lately we’ve been seeing this error pop up on occasion:
CRITICAL Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, null given in .../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-include-exclude/class-mb-include-exclude.php:292
Stack trace:
#0 .../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-include-exclude/class-mb-include-exclude.php(292): array_intersect()
#1 .../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-include-exclude/class-mb-include-exclude.php(72): MB_Include_Exclude::check_edited_user_role()
#2 .../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-include-exclude/class-mb-include-exclude.php(37): MB_Include_Exclude::maybe_exclude_include()
#3 .../wp-includes/class-wp-hook.php(324): MB_Include_Exclude::check()
#4 .../wp-includes/plugin.php(205): WP_Hook->apply_filters()
#5 .../wp-content/plugins/meta-box/inc/meta-box.php(74): apply_filters()
#6 .../wp-content/plugins/meta-box/inc/meta-box.php(57): RW_Meta_Box->is_shown()
#7 .../wp-content/plugins/meta-box/inc/meta-box-registry.php(19): RW_Meta_Box->__construct()
#8 .../wp-content/plugins/meta-box/inc/core.php(32): RWMB_Meta_Box_Registry->make()
#9 .../wp-includes/class-wp-hook.php(324): RWMB_Core->register_meta_boxes()
#10 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 .../wp-includes/plugin.php(517): WP_Hook->do_action()
#12 .../wp-settings.php(643): do_action()
#13 .../wp-config.php(124): require_once('...')
#14 .../wp-load.php(50): require_once('...')
#15 .../wp-admin/admin.php(34): require_once('...')
#16 .../wp-admin/user-edit.php(10): require_once('...')
#17 {main}
thrown in .../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-include-exclude/class-mb-include-exclude.php on line 292
We can still edit the user page as it doesn’t call user-edit directly, but if we try going to user-edit.php directly, it returns the critical error page. We can’t see anything wrong from our usage. A similar error was reported on the MB forums as well: https://support.metabox.io/topic/call-of-wp-admin-user-edit-php-leads-to-fatal-error/
]]>I have the following custom field https://prnt.sc/f-zmYOvPVBAB
I try to print it with the short code: [rwmb_meta id=”top1_B08FQCFJ6Z”]
but nothing appears in my post.
What am I doing wrong ?
]]>Hello, I have the meta box plugin installed but am unsure if it is actually being used, is there an easy way to determine where meta box is being used on a website? Best wishes,
]]>We’re extending a theme, linked above, and it has and uses the Meta Box plugin. We’d like to create a Gutenberg Block, but when we do, it shows up as a regular meta box.
Does this mean the theme does not have the MB Blocks addon? Can we test that any other way? If that’s the case, can we purchase and install it without conflicting with the theme? If it’s not that, what details do you need to help me debug and find the issue?
Thanks!
]]>Hello Support Team / Community
Can you tell me if your plugin supports multi-level nesting of custom fields for woocommerce ?
I need to achieve 3 to 4 levels of option nesting if possible.
Currently I’m using custom text fields with a nested string like serialised data.
]]>Hi there,
I use metabox to show extra details on the WooCommerce orders page. Are you thinking about adding support for HPOS? Please consider adding this feature.
Thanks!
]]>Is it possible to have short code for custom post type?
]]>