• Hello
    I have this error since i’ve installed wordpress in error log

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “WP_Duotone” not found in /home4/constr40/public_html/wp-includes/class-wp-hook.php:308 Stack trace: #0 /home4/constr40/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #1 /home4/constr40/public_html/wp-includes/blocks.php(508): apply_filters() #2 /home4/constr40/public_html/wp-includes/blocks/legacy-widget.php(62): register_block_type_from_metadata() #3 /home4/constr40/public_html/wp-includes/class-wp-hook.php(308): register_block_core_legacy_widget() #4 /home4/constr40/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /home4/constr40/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home4/constr40/public_html/wp-settings.php(623): do_action() #7 /home4/constr40/public_html/wp-config.php(102): require_once(‘/home4/constr40…’) #8 /home4/constr40/public_html/wp-load.php(50): require_once(‘/home4/constr40…’) #9 /home4/constr40/public_html/wp-blog-header.php(13): require_once(‘/home4/constr40…’) #10 /home4/constr40/public_html/index.php(17): require(‘/home4/constr40…’) #11 {main} thrown in /home4/constr40/public_html/wp-includes/class-wp-hook.php on line 308

    Ha habido un error crítico en esta web.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Marius L. J.

    (@clorith)

    Hiya,

    It looks like you’ve got an incomplete update on your hands, where some files have not been added to your site, and some files have not been properly added to your site.

    Would you mind attempting to do a manual update (you can find the instructions for doing so at https://wordpress.org/documentation/article/updating-wordpress/#manual-update), as I believe that will resolve this error for you 🙂

    Thread Starter disenosuhe

    (@disenosuhe)

    Thank you very much, I will do it and let you know how it work.

    Thread Starter disenosuhe

    (@disenosuhe)

    Hi Marius L.J. I reinstalled the new version of WordPress manually and it worked perfectly, thank you very much, if you could tell me how you realized that it was this?, thank you very much.

    Moderator Marius L. J.

    (@clorith)

    The error message indicated that a function that comes bundled with WordPress was missing, and being familiar with the tests WordPress performs, this is not the kind of file that would be missed during testing.

    hi.. ive got error. Please help me
    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “wp_print_media_templates” not found or invalid function name in /home/u9420998/public_html/jasaforex.com/wp-includes/class-wp-hook.php:310 Stack trace: #0 /home/u9420998/public_html/jasaforex.com/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #1 /home/u9420998/public_html/jasaforex.com/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/u9420998/public_html/jasaforex.com/wp-includes/script-loader.php(2208): do_action() #3 /home/u9420998/public_html/jasaforex.com/wp-includes/block-editor.php(368): wp_print_footer_scripts() #4 /home/u9420998/public_html/jasaforex.com/wp-includes/block-editor.php(613): _wp_get_iframed_editor_assets() #5 /home/u9420998/public_html/jasaforex.com/wp-includes/class-wp-customize-widgets.php(850): get_block_editor_settings() #6 /home/u9420998/public_html/jasaforex.com/wp-includes/class-wp-hook.php(310): WP_Customize_Widgets->enqueue_scripts() #7 /home/u9420998/public_html/jasaforex.com/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #8 /home/u9420998/public_html/jasaforex.com/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/u9420998/public_html/jasaforex.com/wp-admin/customize.php(123): do_action() #10 {main} thrown in /home/u9420998/public_html/jasaforex.com/wp-includes/class-wp-hook.php on line 310

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error wp-includes/class-wp-hook.php on line 308’ is closed to new replies.