Title: PHP 8.1 error!
Last modified: May 4, 2024

---

# PHP 8.1 error!

 *  [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-7/)
 * PHP Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type 
   string is deprecated in /wp-admin/admin-header.php on line 36
 * Please fix it.
 * Thanks!

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

 *  [Ruhul Amin](https://wordpress.org/support/users/ruhulamin/)
 * (@ruhulamin)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-7/#post-17732201)
 * Do you have the latest version of WordPress installed? The latest version of 
   WordPress should work with PHP 8.1 without any errors.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-7/#post-17733076)
 * If you are using the latest version of WordPress, this problem may be a plugin
   or theme conflict. Please attempt to deactivate all plugins and switch to the
   default Twenty Twenty-Three 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 [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-7/#post-17733163)
 * Thanks everyone. Upgraded WordPress to the latest version, will see if the problem
   still exists.

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

The topic ‘PHP 8.1 error!’ is closed to new replies.

## Tags

 * [WordPress update](https://wordpress.org/support/topic-tag/wordpress-update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [tonygao](https://wordpress.org/support/users/tonygao/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-error-7/#post-17733163)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
