Custom Post Types are no longer working with the latest version of BeTheme

We upgraded to Version: 21.1.5 and now we can't save posts of any kind. I think it has to do with the Custom Post Type code in our functions file, but I'm not sure what needs to change. Here is the code we've been using...


Here's the error we're getting when we save...


Fatal error: Uncaught Error: Call to undefined function
mfn_builder_save() in
/home1/mhony/public_html/wp-content/themes/betheme-child/functions/meta-cancerstreatments.php:316
Stack trace:
#0 /home1/mhony/public_html/wp-includes/class-wp-hook.php(288):
mfn_cancerstreatments_save_data(2480)
#1 /home1/mhony/public_html/wp-includes/class-wp-hook.php(310):
WP_Hook->apply_filters(NULL, Array)
#2 /home1/mhony/public_html/wp-includes/plugin.php(465):
WP_Hook->do_action(Array)
#3 /home1/mhony/public_html/wp-includes/post.php(3951):
do_action('save_post', 2480, Object(WP_Post), true)
#4 /home1/mhony/public_html/wp-includes/post.php(4028):
wp_insert_post(Array, false)
#5 /home1/mhony/public_html/wp-admin/includes/post.php(405):
wp_update_post(Array)
#6 /home1/mhony/public_html/wp-admin/post.php(218): edit_post()
#7 {main}
thrown in /home1/mhony/public_html/wp-content/themes/betheme-child/functions/meta-cancerstreatments.php on line 316

Comments

Sign In or Register to comment.