Support Forum ยป User Profile

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Showing Taxonomies on the frontend form #15175
    SWSSWS
    Participant

    Hi,

    Sorry for the delayed reply. Just sent over the login details for you.

    Hope you can help with it.

    Thanks.

    in reply to: Showing Taxonomies on the frontend form #15052
    SWSSWS
    Participant

    Hi,

    Also, when I try and save the frontend form I get the following error now.

    Fatal error: Uncaught Error: Class 'MBFS\RWMB_Field' not found in public_html/wp-content/plugins/mb-frontend-submission/src/Post.php:150 Stack trace: #0 public_html/wp-content/plugins/mb-frontend-submission/src/Post.php(78): MBFS\Post->save_thumbnail() #1 public_html/wp-content/plugins/mb-frontend-submission/src/Form.php(146): MBFS\Post->save() #2 public_html/wp-content/plugins/mb-frontend-submission/src/Shortcode.php(57): MBFS\Form->process() #3 public_html/wp-includes/class-wp-hook.php(286): MBFS\Shortcode->process('') #4 public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #6 public_html/wp in public_html/wp-content/plugins/mb-frontend-submission/src/Post.php on line 150
    The site is experiencing technical difficulties.

    in reply to: Showing Taxonomies on the frontend form #15051
    SWSSWS
    Participant

    Hi,

    I've downloaded the zip file and replaced the plugin code on my website.
    I've added the new attribute to the taxonomy fields but now the frontend form doesn't work.

    It shows these errors (redacted version).

    Fatal error: Uncaught Error: Call to undefined function remove_meta_box() in public_html/wp-content/plugins/meta-box/inc/fields/taxonomy.php:306 Stack trace: #0 public_html/wp-content/plugins/meta-box/inc/fields/taxonomy.php(292): RWMB_Taxonomy_Field::remove_default_meta_box(Array) #1 public_html/wp-content/plugins/meta-box/inc/field.php(552): RWMB_Taxonomy_Field::admin_enqueue_scripts(Array) #2 public_html/wp-content/plugins/meta-box/inc/meta-box.php(164): RWMB_Field::call(Array, 'admin_enqueue_s...') #3 public_html/wp-content/plugins/mb-frontend-submission/src/Form.php(89): RW_Meta_Box->enqueue() #4 public_html/wp-content/plugins/mb-frontend-submission/src/Shortcode.php(31): MBFS\Form->render() #5 public_html/wp-includes/shortcodes in public_html/wp-content/plugins/meta-box/inc/fields/taxonomy.php on line 306

    in reply to: Showing Taxonomies on the frontend form #14972
    SWSSWS
    Participant

    Hi,

    I think I'm getting somewhere. I've added this code into the plugin and now get this error when trying to load a frontend form.

    Fatal error: Uncaught Error: Call to undefined function remove_meta_box() in /wp-content/plugins/meta-box/inc/fields/taxonomy.php on line 307

    This is the line:

    remove_meta_box( $id, null, 'side' );

    in reply to: Showing Taxonomies on the frontend form #14961
    SWSSWS
    Participant

    Hi,

    I think I must be missing something or being really stupid.
    Even updating that one file in my copy of the plugin hasn't done anything.

    I'm getting a bit confused especially when you have the plugins MB Custom Post Type and MB Custom Taxonomy for using the UI to create these items (and MB Custom Post Type actually does both which makes the second one redundant?) but then you have the "register" code which I've tried adding to my plugin and that doesn't work.

    What am I missing here? I've tried following the documentation examples too and not getting anywhere.

    in reply to: Showing Taxonomies on the frontend form #14936
    SWSSWS
    Participant

    Hi,

    So do these things work together or do I need to not use the backend taxonomy feature in metabox?
    It does seem a bit confusing to create the taxonomy in 2 different places.

    Can you clarify what should be used?

    in reply to: Showing Taxonomies on the frontend form #14918
    SWSSWS
    Participant

    Hi,

    I created the taxonomies using the plugin UI and can see the field on the edit screen in the backend but it doesn't show on the frontend submission form.

    As you can see the taxonomy is assigned to the post type and it shows on the right column when I edit it from the admin area but doesn't show on the frontend submission form.

    Here are some screenshots.

    back end edit taxonomy

    Back end edit post showing taxonomy field

    frontend submission form showing no taxonomy

    shortcode for frontend form

    Hope you can help.

Viewing 7 posts - 1 through 7 (of 7 total)