wordpress 5.9 warning issue solution

( ! ) Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_disable_block_editor_for_navigation_post_type’ not found or invalid function name in /Users/joomshaper/Local Sites/lms/app/public/wp-includes/class-wp-hook.php on line 307 You can use this code in your wp-config.php file. Just go to your WordPress installation directory. Here you can find the wp-config.php file. For more details watch this :