Title: php problem
Last modified: August 19, 2021

---

# php problem

 *  [khaled20](https://wordpress.org/support/users/khaled20/)
 * (@khaled20)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/)
 * Hi,
    i have this problem on my website i don’t know how to fix it: Warning: call_user_func_array()
   expects parameter 1 to be a valid callback, function ‘wp_enable_block_templates’
   not found or invalid function name in /htdocs/wp-includes/class-wp-hook.php on
   line 303.
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   wp_setup_widgets_block_editor’ not found or invalid function name in /wp-includes/
   class-wp-hook.php on line 303
 * Regards

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/#post-14785948)
 * This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and use one of the default (Twenty*) themes. If the problem goes away, enable
   them one by one to identify the source of your troubles.
 * If you can install plugins, install “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, without affecting normal
   visitors to your site. You can then use its admin bar menu to turn on/off plugins
   and themes one at a time.
 * See [http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/](http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/)
 *  Thread Starter [khaled20](https://wordpress.org/support/users/khaled20/)
 * (@khaled20)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/#post-14786082)
 * i changed the name of plugins but i’m still facing the same problem.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/#post-14786288)
 * Did you change the theme to twenty-something?
 * IF that also fails, go to DASHBOARD->UPDATES and click the button to re-update
   WordPress.
 *  Thread Starter [khaled20](https://wordpress.org/support/users/khaled20/)
 * (@khaled20)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/#post-14787648)
 * i changed the name of the theme,how i can change the theme without login.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/#post-14788430)
 * Just change it back.
 *  Thread Starter [khaled20](https://wordpress.org/support/users/khaled20/)
 * (@khaled20)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/#post-14789210)
 * Thank you so much
    -  This reply was modified 4 years, 9 months ago by [khaled20](https://wordpress.org/support/users/khaled20/).

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

The topic ‘php problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [khaled20](https://wordpress.org/support/users/khaled20/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/php-problem-26/#post-14789210)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
