Updated WordPress to version 5.9 and immediately received an error on a working website without errors.
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
Using the String Locator, I searched to see if this error was associated with a particular plugin. It’s not.
Its found only in the following places:
wp-includes/default-filters.php on line 588
wp-admin/includes/post.php on line 2470
All plugins are updated. I’m still looking, but it doesn’t seem to be a plugin conflict.
I’ll have to roll back my WordPress update to the old version, but I’m also concerned about updating in the future.
Any suggestions?
]]>Posted to your site as well as here. Love having YD Spread Param — thank you for your efforts here!
I know it’s been years since you’ve updated the plugin — but I think that’s because none were needed. We’re now seeing constant flow of deprecation messages in the debug log — that make it hard to read thru the logs.
Any chance you can do the minor update I believe is needed, and update the plugin? Or, if you are no longer supporting it, any suggestions for a replacement plugin?
Thanks!
Neil
[06-Nov-2020 16:24:13 UTC] PHP Deprecated: Non-static method yd_spreadparam_links::ob_flush() should not be called statically in /home/wordpress/public_html/wp-includes/class-wp-hook.php on line 287
[06-Nov-2020 16:24:13 UTC] PHP Deprecated: Non-static method yd_spreadparam_links::ob_flush() should not be called statically in /home/wordpress/public_html/wp-includes/class-wp-hook.php on line 287
Please I need some help about a special topic. The WordPress warning is exactly this:
call_user_func_array() expects parameter 1 to be a valid callback, class ‘Class->WC_Product_Vendors_Vendor_Frontend’ not found in (…) class-wp-hook.php on line 287
I have touch nothing in my code in reference to the plugin and functions.php. I saw the problem when needed some special fields in vendor’s template and try to do it with ACF. The vendor was not assigned products and the result was “no products found” and all the ACF fields were in their own space. Since here it was all right.
My next step was to assign some products to the vendor and crash! All the fields were dissapeared. I could not believe it!
The web was thinked to be a marketplace and if woocommerce vendor doesn’t work with the special fields I could have some new problems.
I hope it’s easy to solve.
Greatfull so much about your answers.
The contact form is not delivering the email. The WP-SMTP plugin is delivering the test mail.
The Debug shows following issues : Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘arphabet_widgets_init’ not found or invalid function name in /home/jencoder/public_html/wp/wp-includes/class-wp-hook.php on line 287
]]>Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Admin_Post_Types::add_display_post_states(), 1 passed in /var/www/html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /var/www/html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php:875 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Admin_Post_Types->add_display_post_states(Array) #1 /var/www/html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /var/www/html/wp-content/plugins/scripts-n-styles/includes/class-sns-list-usage.php(144): apply_filters(‘display_post_st…’, Array) #3 /var/www/html/wp-content/plugins/scripts-n-styles/includes/class-sns-list-usage.php(66): SnS_List_Usage->_post_states(Object(WP_Post)) #4 /var/www/html/wp-admin/includes/class-wp-list-table.php(1327): SnS_List_Usage->column_title(Object(WP_Post)) #5 /var/www/html/wp-admin/includes/class-wp-list-table.php(1272): WP_List_Table->single_row_columns(Object(WP_Post)) #6 /var/www/html/wp-admin in /var/www/html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php on line 875
]]>I searched tons of posts about this but can’t find a solution.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in /home/account/public_html/ksenia.se/wp-includes/class-wp-hook.php on line 286
The health control says “A plugin has prevented updates by disabling wp_version_check()”
I have disabled all plugins/adons and deactivated my theme and set it to the default Twenty Nineteen and i still get this warning.
The site works without problem but i’d like to clean this warning thingy.
Cheers / Johny
]]>Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘new_user_email_admin_notice’ not found or invalid function name in /websites/123reg/LinuxPackage23/sc/ho/ol/*************.co.uk/public_html/wp-includes/class-wp-hook.php on line 298
The host is 123-reg. I’m on PHP version 5.6
We’re able to read the class-wp-hook.php file and paste the code here if needed but the lines aren’t numbered.
Has anyone seen anything like this? And what can I do to complete this update successfully?
ArgumentCountError thrown
Too few arguments to function sgpb\Filters::editPopupPreviewLink(), 1 passed in /var/www/humortimes/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected
I reported it in the plugin’s forum, but since it’s referring to a wp-includes file, I thought it might be a problem with WordPress itself.
What should I do? Thanks for any help.
]]>then,
In “wp-config.php”
I thought that the part of ‘define (‘ WP_DEBUG ‘, true);’ seems to be wrong, so when I fix it, I returned it because it turned out to be a casual display. Then, the following display will be displayed on the top,
We are vulnerable to these errors, so how can we fix it
Thank you.