MB Term Meta Data not saving
Support › MB Term Meta › MB Term Meta Data not savingResolved
- This topic has 13 replies, 6 voices, and was last updated 5 years, 6 months ago by
Anh Tran.
-
AuthorPosts
-
July 21, 2017 at 6:36 PM #6387
uththamag
ParticipantHi,
When I added an image to taxonomy and update, the image was not saving. There is a big issue need to fix this soon. otherwise, i have to go for another plugin.
This is my code.
$meta_boxes[] = array( 'title' => false, 'taxonomies' => 'main_services', 'fields' => array( // Photo array( 'name' => esc_html__( 'Service Thumbnail', 'codice' ), 'id' => "{$prefix}thumb", 'type' => 'image_advanced', 'max_file_uploads' => 1, 'max_status' => false, ), ) );
Thank you
July 22, 2017 at 8:34 AM #6391Truong Giang
ParticipantI tested with the code you give but it works great. Please make sure that you are using MB Term Meta version 1.2
July 22, 2017 at 9:34 AM #6392uththamag
ParticipantHi, Truong.
I'm Using the latest - MB Term Meta 1.2
Pls help. Need to fix this asap.
Thank you
July 22, 2017 at 10:05 AM #6393Truong Giang
ParticipantI checked again but can't find the issue. Can you give me the list of plugins (with version) are you using?
July 22, 2017 at 11:34 AM #6394uththamag
ParticipantI'm using below versions.
Meta Box 4.12.2
MB Term Meta 1.2
MB Conditional Logic 1.4.1
MB Group 1.2.8
MB Columns 1.0.2
MB Include Exclude 1.0.9Ninja Forms 3.1.6
Slider Revolution 5.4.5.1
SVG Support 2.3.10
Yoast SEO 5.0.2
Duplicate Post 3.2
Black Studio TinyMCE Widget 2.3.2July 22, 2017 at 6:16 PM #6395Jackky
ParticipantNote, that metaboxes appears only when you EDIT existing term, not when you are on the "main" page of all terms.
If they still not working, set DEBUG to true in your wp_config.php and see what you get in errors.
July 24, 2017 at 8:44 AM #6402Truong Giang
Participant@uththamag Have you seen any js errors in the browser console?
July 24, 2017 at 11:45 AM #6404uththamag
ParticipantHi,
I think I found the issue. No Js errors Truong. The issue is:
MB Term Meta Data not saving existing taxonomy category. But if I adding a new item(taxonomy category), and upload a featured image it will work. Also, I can edit the feature image of this item.
Thanks
July 27, 2017 at 8:20 AM #6449Truong Giang
ParticipantI tried again and again but it still works with existing term. Can you try it on a fresh WordPress site?
August 23, 2017 at 9:46 AM #6731akabaka
ParticipantI am having the same problem. Here are my fields:
add_filter( 'rwmb_meta_boxes', 'aka_register_taxonomy_meta_boxes' ); function aka_register_taxonomy_meta_boxes( $meta_boxes ) { $meta_boxes[] = array( 'title' => 'Guest Category Fields', 'taxonomies' => 'guestcats', 'fields' => array( array( 'name' => 'Featured image', 'id' => 'guestcatimage', 'type' => 'image_advanced', 'max_file_uploads' => 1, ), array( 'name' => 'Include in ‘Guests by Fandom’ pulldown?', 'id' => 'guestbyfandom', 'type' => 'checkbox', ), ), ); return $meta_boxes; }
Some of the categories work as expected, but others will not save either the checkbox or the image. What's stranger is: when it fails to save an image to one of the terms, that image gets saved to one of the other terms that had been working. I have WP debug enabled and don't see any errors. Any suggestions?
August 23, 2017 at 7:28 PM #6737akabaka
ParticipantSo, my Term Meta plugin was the most recent version, but I just noticed there was an update to the main Meta Box plugin that I hadn't installed yet. After I made that update, this problem seems to have been resolved. I will monitor and update if anything crops up again.
August 30, 2017 at 3:22 PM #6815Truong Giang
ParticipantThank you. Please let me know if you have any problems.
October 4, 2019 at 4:58 AM #16381doublev
ParticipantHi,
I am having the same problem where the term meta is not being saved.
Wordpress core :
WordPress 4.9.2There are the only 2 plugins that are active :
MB Term Meta - Version 1.2.5
Meta Box - Version 5.2.1I also tried using the example shown here https://docs.metabox.io/extensions/mb-term-meta/ and no luck. There are no warnings or visible errors when I submit the form and there are no javascript errors.
Thanks
October 5, 2019 at 11:02 AM #16399Anh Tran
KeymasterI've just re-checked the problem and couldn't replicate it. It seems to be working fine to me. I recorded a video here:
https://www.loom.com/share/966b9111ffe644278595fc7674e00ac6
Please check if you have something different on your site.
-
AuthorPosts
- You must be logged in to reply to this topic.