Fatal error: Uncaught Error: Call to undefined function cmb2_get_metabox()

This topic has 2 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Olga Barlow

  • Avatar: sunland2
    sunland2
    Participant
    October 18, 2017 at 14:02

    When attempting to add a representative Product Category image, we’re confronted with this error message:

    Fatal error: Uncaught Error: Call to undefined function cmb2_get_metabox() in /home/sunland/public_html/preview/wp-content/themes/xstore/framework/thirdparty/cmb2-taxonomy/includes/CMB2_Taxonomy.php:137 Stack trace: #0 /home/sunland/public_html/preview/wp-includes/class-wp-hook.php(300): CMB2_Taxonomy->save_meta_data(196) #1 /home/sunland/public_html/preview/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /home/sunland/public_html/preview/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/sunland/public_html/preview/wp-includes/taxonomy.php(2783): do_action(‘edited_product_…’, 196, 196) #4 /home/sunland/public_html/preview/wp-admin/edit-tags.php(165): wp_update_term(196, ‘product_cat’, Array) #5 {main} thrown in /home/sunland/public_html/preview/wp-content/themes/xstore/framework/thirdparty/cmb2-taxonomy/includes/CMB2_Taxonomy.php on line 137

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 18, 2017 at 15:49

    Hello,

    Make sure that CMB2 plugin is installed and activated (Appearance > Install Plugins).

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.