Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#54991 new defect (bug)

Site problem

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

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
5 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
4 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.