Title: wordpress error
Last modified: August 22, 2023

---

# wordpress error

 *  [keaobakas](https://wordpress.org/support/users/keaobakas/)
 * (@keaobakas)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wordpress-error-106/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-error-106%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Kartik Goswami](https://wordpress.org/support/users/kartikgoswami/)
 * (@kartikgoswami)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wordpress-error-106/#post-16992338)
 * 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._**
 *  [Nile Flores](https://wordpress.org/support/users/blondishnet/)
 * (@blondishnet)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wordpress-error-106/#post-16998648)
 * 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://wordpress.org/documentation/article/updating-wordpress/#manual-update](https://wordpress.org/documentation/article/updating-wordpress/#manual-update).
    -  This reply was modified 2 years, 10 months ago by [Nile Flores](https://wordpress.org/support/users/blondishnet/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wordpress error’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Nile Flores](https://wordpress.org/support/users/blondishnet/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/wordpress-error-106/#post-16998648)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
