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.



ini_set(‘display_errors’,‘Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);

For more details watch this :

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *