Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#54991 new defect (bug)

Site problem

Reported by: nikosgr74's profile nikosgr74 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: critical Version: 5.9
Component: General Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

Hello all
I have an issue with my site, i'm getting the message

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 .../wp-includes/class-wp-hook.php on line 307

Any advise or help?

Thank you!

Change History (2)

#1 @sabernhardt
2 years ago

  • Description modified (diff)

Hi and welcome to Trac!

At least two support topics talk about this. One notes that re-installing WordPress 5.9 helped.

https://wordpress.org/support/topic/_disable_block_editor_for_navigation_post_type/

#2 @multidots1896
2 years ago

Hi @nikosgr74

Can you please check plugin updation or affecting any plugin to your site.
visit your WordPress Admin Dashboard --> Plugins page. Then deactivate each plugin one by one. Make sure you check after deactivating each plugin, so that you would be able to figure out which plugin is causing the issue. While you are deactivating the plugins, if the warning disappeared, you would be able to tell that the plugin that you just deactivated is the affecting here.

also refer this below links it might be helpful for you.
https://stackoverflow.com/questions/66433518/warning-call-user-func-array-expects-parameter-1-to-be-a-valid-callback
https://wordpress.stackexchange.com/questions/108860/error-call-user-func-array-expects-parameter-1-to-be-a-valid-callback

Thanks

Note: See TracTickets for help on using tickets.