MetaBox Relationships not showing in menu
Support › MB Relationships › MetaBox Relationships not showing in menuResolved
- This topic has 4 replies, 2 voices, and was last updated 3 years, 10 months ago by
Michele Schembri.
-
AuthorPosts
-
December 15, 2021 at 2:31 AM #32620
Michele Schembri
ParticipantI have both Metabox, MB Relationships, and MB Blocks all installed through composer:
"wpmetabox/meta-box": "^5.5", "wpmetabox/mb-relationships": "^1.10", "meta-box/mb-blocks": "master"All the plugins are installed and activated successfully, however whenever I go to MetaBox in the menu, I only have 2 options, Dashboard and Licence. The documentation states that the Relationships tab should be under the main menu.
December 15, 2021 at 3:19 PM #32651Long Nguyen
ModeratorHi,
The extension MB Relationship and MB Blocks does not have UI. Please read more here to use the code https://docs.metabox.io/extensions/mb-relationships/#using-code
You can also install the extension MB Builder to use UI to create custom fields, settings pages, or relationships.
https://docs.metabox.io/extensions/meta-box-builder/December 15, 2021 at 9:47 PM #32663Michele Schembri
ParticipantMany thanks for this! I was able to create bi-directional relationships using only the code. The relationship section however I have the following error being thrown:
Warning: Parameter 2 to RWMB_Post_Field::search_by_title() expected to be a reference, value given in C:\path\class-wp-hook.php on line 303 Call Stack # Time Memory Function Location 1 0.0001 413488 {main}( ) ...\post.php:0 2 0.2734 13921328 require( 'C:\path\wp-admin\edit-form-advanced.php' ) ...\post.php:206 3 0.3613 14678792 do_meta_boxes( ) ...\edit-form-advanced.php:681 4 0.3681 14692504 RW_Meta_Box->show( ) ...\template.php:1395 5 0.3691 14694200 RWMB_Field::call( ) ...\meta-box.php:259 6 0.3691 14694640 RWMB_Object_Choice_Field::show( ) ...\field.php:580 7 0.3696 14695736 RWMB_Field::call( ) ...\object-choice.php:28 8 0.3696 14696176 RWMB_Post_Field::query( ) ...\field.php:580 9 0.3697 14699296 WP_Query->__construct( ) ...\post.php:155 10 0.3697 14699296 WP_Query->query( ) ...\class-wp-query.php:3576 11 0.3697 14699296 WP_Query->get_posts( ) ...\class-wp-query.php:3465 12 0.3699 14703168 apply_filters_ref_array( ) ...\class-wp-query.php:2131 13 0.3699 14703168 WP_Hook->apply_filters( )Any ideas what could be causing this, please?
December 16, 2021 at 8:53 AM #32673Long Nguyen
ModeratorHi,
Please update Meta Box to the new version 5.5.1 to resolve this issue.
December 21, 2021 at 1:56 AM #32779Michele Schembri
ParticipantHi, indeed the issues were resolved when I updated to 5.5.1. Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.