Forum Replies Created
-
AuthorPosts
-
May 6, 2024 at 9:37 PM in reply to: Create a database table on registering a custom post with metabox #45386
Peter
ModeratorHello,
I copy your code and run it on the demo site but don't see any errors in the Console log. Please check this screenshot https://imgur.com/tJENfS1
Are you able to create a new entry? Also, you can check the debug log and to see if there is any useful information.
https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/Also, if you use a group field, you have to create one column to save all subfield values to the group field. It won't save the data if you create a column for each subfield. Following the documentation
https://docs.metabox.io/extensions/mb-custom-table/#group-fieldsPeter
ModeratorHello Will,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
May 6, 2024 at 9:00 PM in reply to: ✅API::add and error Column 'ID' cannot be null for query INSERT INTO #45384Peter
ModeratorHello Nick,
does it not work for just custom tables without registered models?
Yes, correct. If you want to add a row to a custom table that stores the custom field value of a CPT, not a custom model, you have to pass the post ID ($object_id) to theadd()function.Following the documentation https://docs.metabox.io/extensions/mb-custom-table/#add
Peter
ModeratorHello Rob,
I don't see that error on my demo site. Please try to clear all caches, deactivate all plugins except Meta Box, MB extension plugins, switch to a standard theme of WordPress and check this issue again.
Peter
ModeratorHello there,
What is the package that causes the issue on your project? Please follow some topics below to fix the issue with Composer
https://stackoverflow.com/questions/70285340/composer-package-not-extracting-end-of-central-directory-signature-not-found
https://stackoverflow.com/questions/73948328/error-unzip-end-of-central-directory-signature-not-foundYou can also contact your hosting support and ask them for help with this issue.
Peter
ModeratorHello Artur,
In a field group, if you want to use the Tab field, it must be added first then other fields. Please check this screenshot https://imgur.com/Tb0mxsJ
Peter
ModeratorHello Will,
Can you share the page URL so I can check the issue on my end? Or share some screenshots of the issue on your site.
Peter
ModeratorHello Dan,
Thanks for reaching out.
The integration between Meta Box and Oxygen is maintained by the Oxygen dev team. I understand your issue but it isn't possible to make the changes on our side. Please contact Oxygen support to get further assistance.
Refer to our support policy https://support.metabox.io/topic/support-policy/
For plugins that officially support Meta Box, like Oxygen Builder, SearchWP, Admin Columns, ... please reach out to them if you have any issues with installation, configuration, compatibility, or usage.Also, we offer a custom development with an extra fee. Let me know if it works for you.
May 4, 2024 at 10:07 AM in reply to: Error message: Cannot declare class MB_Relationships_FacetWP #45369Peter
ModeratorHello,
If you activate the plugin Meta Box AIO, no need to use the single extension plugin. Please deactivate the single plugin to solve the error message.
If using the plugin Meta Box AIO then the Facet doesn't work on your site, can you share some screenshots of the issue? As I know, the Facet filter will work on the archive CPT page.
Peter
ModeratorHello Will,
There is a filter hook
rwmb_frontend_dashboard_post_titlethat supports modifying the post title in the frontend dashboard. Please read more about frontend dashboard filters in the documentation
https://docs.metabox.io/extensions/mb-frontend-submission/#dashboardFor example:
add_filter( 'rwmb_frontend_dashboard_post_title', function( $title ) { $title = '<span>' . get_the_title() . '</span>'; return $title; } );May 3, 2024 at 10:29 PM in reply to: ✅div.rwmb-row not properly closing - resulting in nested meta box tab #45366Peter
ModeratorHello Hinnerk,
You can use https://pastebin.com/ to share the code or upload the test plugin to Google Drive and paste the link here.
Also, please notice that the total of columns should equal 12. Following the documentation https://docs.metabox.io/extensions/meta-box-columns/
Peter
ModeratorHello David,
What are the versions of Meta Box plugins on your site before updating? I will try to reproduce the issue on the demo site and escalate it to the development team.
Peter
ModeratorHello Colette,
Can you share some screenshots of the View editor and settings?
Peter
ModeratorHello Kade,
Please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.May 3, 2024 at 10:03 PM in reply to: Create a database table on registering a custom post with metabox #45362Peter
ModeratorHello,
Can you please explain why using custom models over custom tables is suggested?Because it works with the custom fields of Meta Box, as your requirements.
If I use a custom model, am I able to create a dynamic custom model upon the creation of a custom post-type?No. It is separated from the standard custom post types of WordPress.
How can I create/assign a cloneable group of custom fields for this custom model?All the information is noted in the documentation https://docs.metabox.io/extensions/mb-custom-table/#custom-models
-
AuthorPosts