Forum Replies Created
-
AuthorPosts
-
December 11, 2022 at 10:12 AM in reply to: ✅CPT Edit Metabox appearing in Edit Field Group page #39681
Peter
ModeratorHello Macky,
Can you please let me know details of the issue on your site? And share some screenshots of the issue.
If the fields display on all posts, please export the field group to a JSON file, I will help you to investigate the issue.
December 11, 2022 at 9:49 AM in reply to: Display MySQL data from WordPress / migrate Data two times a day into MetaBox #39678Peter
ModeratorHello Joo,
Thanks for reaching out.
1. This question might need an answer from a page builder plugin, if you want to use a page builder, you can read more on this article https://metabox.io/best-wordpress-page-builders/
2. Meta Box saves the field value to the standard table of WordPress
wp_postmeta, so it does not make sense to migrate data from WordPress to Meta Box.If you are a developer, you can use the custom table and store the price field there. I recommend following our documentation
https://docs.metabox.io/extensions/mb-custom-table/
and this article https://metabox.io/move-custom-fields-data-to-custom-tables/
But please notice that, the builder will not work with the data stored in the custom table, you have to use the code to output the field value.December 11, 2022 at 9:38 AM in reply to: ✅MB Elementor Integrator 2.1.5: gallery field with only on image breaks E-Gallery #39677Peter
ModeratorHello Marius,
Thanks, I got the issue. I've escalated this to the development team to fix it in the next update. For now, please add more images to the image field to display properly on the frontend.
Peter
ModeratorHello there,
The timezone is added to the value of the
dateordatetimefield if you use the settingtimestamp. Please read more on the documentation https://docs.metabox.io/fields/datetime/#settingsThis field gets the current time of your local computer and converts it to the timestamp value. So the Unix timestamp saved is the "timezone (UTC) + offset".December 11, 2022 at 9:20 AM in reply to: ✅MB Views query error in settings area to set location #39675Peter
ModeratorHi,
This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/0cf256eaae651eb5652b81b2167f9f334ab8cf98
You can apply the changes on your site while waiting for the new release of Meta Box.
And please read more about the singular template here https://developer.wordpress.org/themes/basics/template-hierarchy/
It should be set for the post type page.
December 11, 2022 at 9:14 AM in reply to: MB Views PHP error in PHP 8 / maybe compatibility issue with JetEngine? #39673Peter
ModeratorHello Marius,
Thank you for your feedback.
The main issue of the site being broken is the error from Elementor
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /httpdocs/wp-content/plugins/elementor/includes/widgets/image-carousel.phpIf you deactivate Meta Box and Meta Box AIO, does the error still happen?
Regarding the warning error
PHP Warning: Undefined array key "exposes" in /httpdocs/wp-content/plugins/mb-views/vendor/elightup/twig/Twig/Environment.php(358) : eval()'d code on line 798Can you please let me know how to reproduce the issue? I will also inform the development team to check it on our side.
And regarding the warning error with JetEngine
Got error 'PHP message: PHP Warning: Undefined array key "name" in /httpdocs/wp-content/plugins/jet-engine/includes/compatibility/packages/meta-box.php on line 401This issue has been noticed and our development team is working to fix it in the next update.
December 9, 2022 at 9:47 PM in reply to: ✅Elementor Theme Builder > MB Group Skin Does Not Exist #39649Peter
ModeratorHello,
Please go to Meta Box > Extensions > Enable the extension Meta Box Elementor Integrator to see if it helps. If not, please share your site credentials via the contact form below, I will help you to investigate the issue further.
https://metabox.io/contact/Peter
ModeratorHello,
The value return from
rwmb_meta()could be an array and you cannot echo an array, you should use a for loop to iterate elements and echo it. Please use thevar_dump()function to know what the type of $value variable is.Peter
ModeratorHello there,
This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/0cf256eaae651eb5652b81b2167f9f334ab8cf98
You can use the changes on your site while waiting for the new release of Meta Box. Thanks.
December 9, 2022 at 6:12 PM in reply to: My code stopped working to get user ID of a user field #39641Peter
ModeratorHello Yasmine,
Do you see any error messages on your site when getting the user data? What will display if you get the field
uservalue?echo "<pre>"; print_r( rwmb_meta( 'MyFieldIDForAUserField','',$post->ID) ); echo "</pre>";and lastly, please update Meta Box to the latest version 5.6.13 and see if it works again.
December 9, 2022 at 4:47 PM in reply to: ✅MB Views query error in settings area to set location #39639Peter
ModeratorHello,
Thanks for your feedback.
I see the term is not selected on my local site. Also, if you are using the Type: Singular, please select the post type only, don't select the taxonomy which is the archive page.
I've escalated the issue to the development team to fix it in the next update.
December 9, 2022 at 4:37 PM in reply to: ✅Slow performing queries called by metabox\c\api::create() #39638Peter
ModeratorHello,
If you are using the builder, please disable the option "Create table automatically" after reloading a page. That means the table is created, no need to enable that option.
Screenshot: https://monosnap.com/file/0wTw2K7nnwTCE3KJQ3qhF78rJQjUpkIf you are using the code, please delete the code that creates the custom table after reloading a page. Please see here https://docs.metabox.io/extensions/mb-custom-table/#creating-a-custom-table
December 9, 2022 at 9:40 AM in reply to: ✅Call Custom table API from functions.php or non template php scripts #39631Peter
ModeratorHello,
Can you please share the code that you use to call the API of the custom table? It could be the function is executed before MB Custom Table is loaded. Please try to run it at the
inithook and a later priority like 9999.Peter
Moderator@Shaun: Your issue might not relate to this topic, please create a new topic and share some details about that (screenshot). I will help you to check it.
December 9, 2022 at 9:27 AM in reply to: ✅MB Portability Missing (Import / Export) CPT's, Taxonomies, Settings Pages, etc #39629Peter
ModeratorHello there,
Thank you for your feedback.
Currently, the feature to export settings to the Json file is only available with custom fields. I will inform the development team to consider supporting this feature for other extensions.
-
AuthorPosts