Fatal Error

Hi, I have this error displaying when I Try to save :

Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /htdocs/wp-content/themes/betheme/functions/post-types/class-mfn-post-type.php:195 Stack trace: #0 /htdocs/wp-content/themes/betheme/functions/post-types/class-mfn-post-type.php(195): method_exists(false, 'save') #1 /htdocs/wp-includes/class-wp-hook.php(312): Mfn_Post_Type->save_box(9) #2 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #3 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /htdocs/wp-includes/post.php(4751): do_action('save_post', 9, Object(WP_Post), true) #5 /htdocs/wp-includes/post.php(4853): wp_insert_post(Array, false, true) #6 /htdocs/wp-admin/includes/post.php(445): wp_update_post(Array) #7 /htdocs/wp-admin/post.php(227): edit_post() #8 {main} thrown in/htdocs/wp-content/themes/betheme/functions/post-types/class-mfn-post-type.phpon line195

How can I fix it ?

Thank you

Comments

Sign In or Register to comment.