Forum Replies Created
-
AuthorPosts
-
Lucid Reverie
ParticipantRe-importing fixed the issue, although I am unsure what caused the original problem. You can mark as resolved. I will reply in this thread if I experience the issue again. Thanks for your attention.
Lucid Reverie
ParticipantDeleting the field group and re-importing fixed the issue on the staging site. I will probably do this on the production site.
Lucid Reverie
ParticipantHi,
Thank you for the reply. Here is the JSON contents:
{ "$schema": "https://schemas.metabox.io/field-group.json", "context": "side", "fields": [ { "type": "select", "id": "post_display_order", "name": "Post Display Order", "size": 3, "admin_columns": { "position": "before date", "sort": "numeric" }, "tooltip": { "content": "Order of the post in the <a href=\"/news\">News</a> page." }, "std": 99, "options": { "99": "Default", "01": "1", "02": "2", "03": "3", "04": "4", "05": "5", "06": "6", "07": "7", "08": "8", "09": "9" }, "datalist": { "id": "68c0cafec953a", "options": [ "01", "02", "03", "04", "05", "06", "07", "08", "09" ] } } ], "id": "post-fields", "modified": 1757465342, "title": "Post fields" }It works as expected when I import this into a demo site. On the "broken" site deactivating all other plugins except Meta Box AIO did not help.
Lucid Reverie
ParticipantDoes it mean that with AIO installed, we don't need Metabox plugin anymore ?
Yes. See Meta Box AIO Now Includes Meta Box - One Plugin, Full Power!.
This link recommends uninstalling the original Meta Box plugin if you use Meta Box AIO, but it is not a requirement and there was supposed to be no conflict if both are enabled. However, as we see with this issue, and another I have previously encountered, there have been a few unexpected bugs.
Lucid Reverie
ParticipantAdditional error output:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function MBTM\get_current_screen() in /www/public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-term-meta/src/MetaBox.php:74 Stack trace: #0 /www/public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-term-meta/src/MetaBox.php(48): MBTM\MetaBox->is_edit_screen() #1 /www/public/wp-includes/class-wp-hook.php(324): MBTM\MetaBox->enqueue('') #2 /www/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /www/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /www/public/wp-includes/script-loader.php(2483): do_action('enqueue_block_a...') #5 /www/public/wp-includes/class-wp-hook.php(324): wp_common_block_scripts_and_styles('')Site works when only using Meta Box AIO as suggested by Peter. You can use wp-cli to disable the Meta Box plugin if needed:
wp plugin deactivate meta-boxLucid Reverie
ParticipantI had the same problem after upgrading Meta Box AIO and removing the original Meta Box plugin. Re-installing the Meta Box plugin made the Add More buttons visible again.
From the Meta Box AIO 2.0.0 changelog:
This version now bundles Meta Box. You don't need to install Meta Box separately anymore. You can safely remove Meta Box (keeping it won't harm and won't cause any conflicts). This will help you shorten the plugin list and make things simpler.
This appears to have been an oversight.
Lucid Reverie
ParticipantMeta Box has no control over other plugins. You will have to refer to each third-party plugin to hide their specific boxes.
Go to WP Grid Builder settings and uncheck "Display Post Options". I do not use Yoast SEO, so I cannot provide instructions for that. But if any plugin does not give you this option you can do it with the WordPress function
remove_meta_box():
https://developer.wordpress.org/reference/functions/remove_meta_box/Lucid Reverie
ParticipantHi Peter. I was able to revert and can confirm 5.9.0 works as expected.
Previous versions can be downloaded at the WordPress Meta Box Plugin page → Advanced View → Previous Versions.
Or use wp-cli like I did:
cd wp-content/plugins wp plugin auto-updates disable meta* wp plugin delete meta-box && wp plugin install meta-box --version=5.9.0 --activateLucid Reverie
ParticipantI can confirm that the icon field is no longer loading the assets as of 5.9.1 in both the builder and the front-end. In my case it is the default Font Awesome library. It is easy to duplicate the issue: simply add the icon field to your field group. Then in your custom post: attempt to select an icon but none appear.
I assume it is from the update to 5.9.1, but I am unable to verify as the plugin immediately updates upon restoring a backup.
Lucid Reverie
ParticipantThank you, Peter. This worked. I actually did try
orderbywith valueIDbefore asking here, but now I realized I mistakenly put it in Custom settings instead of Query args.Lucid Reverie
ParticipantAlso, is it possible to edit my support forum posts? I don't see how to do that and I would like to fix my HTML typo.
Lucid Reverie
ParticipantI added a Taxonomy field to the Custom Post Type and disabled the taxonomy listing in the editor sidebar (Meta Box → Taxonomies → Edit → Advanced → Show on edit page). So now the taxonomy can be selected in the Custom Fields section of the Custom Post Type instead of the sidebar.
More info:
Can I change the back-end UI for selecting taxonomy to radio buttons? -
AuthorPosts