Title: PHP 8 vs WP_Customize_Image_Control
Last modified: May 6, 2023

---

# PHP 8 vs WP_Customize_Image_Control

 *  [jassing](https://wordpress.org/support/users/jassing/)
 * (@jassing)
 * [3 years ago](https://wordpress.org/support/topic/php-8-vs-wp_customize_image_control/)
 * We tried upgrading to PHP8, but encountered problems.
 * > [client 1.2.3.4:57920] mod_fcgid: stderr: PHP Fatal error: Uncaught
   > Error: 
   > Class “WP_Customize_Image_Control” not found in/home/user/domain.com/wp-includes/
   > customize/class-wp-customize-header-image-control.php:17,referer: [http://domain.com/wp-includes/customize/](http://domain.com/wp-includes/customize/)[
   > Sat Apr 29 07:00:14.744572 2023] [fcgid:warn] [pid 65307:tid 3370827716352][
   > client 1.2.3.4:57920] mod_fcgid: stderr: Stack trace:, referer:[http://domain.com/wp-includes/customize/](http://domain.com/wp-includes/customize/)[
   > Sat Apr 29 07:00:14.744589 2023] [fcgid:warn] [pid 65307:tid 3370827716352][
   > client 1.2.3.4:57920] mod_fcgid: stderr: #0 {main}, referer:[http://domain.com/wp-includes/customize/](http://domain.com/wp-includes/customize/)[
   > Sat Apr 29 07:00:14.744604 2023] [fcgid:warn] [pid 65307:tid3370827716352] [
   > client 1.2.3.4:57920] mod_fcgid: stderr: thrownin/home/user/domain.com/wp-includes/
   > customize/class-wp-customize-header-image-control.phpon line 17, referer: [http://domain.com/wp-includes/customize/](http://domain.com/wp-includes/customize/)

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [3 years ago](https://wordpress.org/support/topic/php-8-vs-wp_customize_image_control/#post-16716543)
 * WordPress itself is compatible with PHP 8, so the problem may be a plugin or 
   theme conflict. Please attempt to deactivate all plugins and switch to the default
   Twenty Twenty-One theme. If the problem goes away, re-activate them one by one
   to identify the source of the problem.
 * If you can install plugins, install [Health Check](https://wordpress.org/plugins/health-check/).
   On the troubleshooting tab, you can click the button to deactivate all plugins
   and change the theme for you while you’re still logged in **without affecting
   normal visitors to your site**.
 *  Thread Starter [jassing](https://wordpress.org/support/users/jassing/)
 * (@jassing)
 * [3 years ago](https://wordpress.org/support/topic/php-8-vs-wp_customize_image_control/#post-16716554)
 * Sure, i can do that; but how do I then upgrade PHP w/o affecting the rest of 
   the site?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [3 years ago](https://wordpress.org/support/topic/php-8-vs-wp_customize_image_control/#post-16716558)
 * Oh, if you can’t access the Dashboard, then leave it on PHP 8 and try [manually resetting your plugins](https://wordpress.org/support/article/faq-troubleshooting/#how-to-deactivate-all-plugins-when-not-able-to-access-the-administrative-menus)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, access your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/themes/
   and rename the directory of your currently active theme. Hopefully, this will
   force the default theme to activate and rule out a theme-specific issue (theme
   functions can interfere like plugins).

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

The topic ‘PHP 8 vs WP_Customize_Image_Control’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-8-vs-wp_customize_image_control/#post-16716558)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
