• This website was just fine for a year now but it just display these error, i have tried to figure out but failed


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

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The error message you have mentioned seems like indicating an issue with a WordPress plugin/theme that is trying to use a “callback” function. The error usually occurs when WordPress is unable to locate the class or function that is supposed to be used as a callback.

    First, try to identify the source. As mentioned in the error, the problem lies in the folder “/home3/bposa69t/public_html/wp-includes/class-wp-hook.php” on line 310

    Additionally, it is possible that the problem might be in the file that is causing this trigger. I would suggest look for a plugin or theme that is responsible for the error.

    As you mentioned, the site was working fine until now, then I would recommend checking the last few edits you made on your website to find if any of them caused the issue.

    If you have any custom code in functions.php or any custom plugins, try checking their callback functions.

    Try deactivating and reactivating all the plugins, and if nothing works, switch to the default WordPress theme.

    And if you are unable to identify the cause at all, the best solution would be to restore the previous working version of your website.

    This is usually an indicator that there are incomplete files. Try to do a manual update with fresh core WordPress files. You can find the instructions for doing so at?https://www.ads-software.com/documentation/article/updating-wordpress/#manual-update .

    • This reply was modified 1 year, 3 months ago by Nile Flores.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress error’ is closed to new replies.