Title: PHP 8.1 compatibility
Last modified: May 16, 2023

---

# PHP 8.1 compatibility

 *  Resolved [yahyahaled](https://wordpress.org/support/users/yahyahaled/)
 * (@yahyahaled)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-1-compatibility-23/)
 * The function the_company_tagline shows Deprecated: strlen(): Passing null to 
   parameter #1 ($string) of type string, please use ! empty function for this,
 *     ```wp-block-code
       if ( 0 === strlen( $company_tagline ) ) {
       		return;
       	}
   
       please consider this for the above code in wp-job-manager/wp-job-manager-template.php line 1093
       if ( 0 === strlen( $company_tagline ) ) {
       		return;
       	}
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [Kellie (a11n)](https://wordpress.org/support/users/lavenderhaze/)
 * (@lavenderhaze)
 * [3 years ago](https://wordpress.org/support/topic/php-8-1-compatibility-23/#post-16752321)
 * Hey there,
 * Thanks for letting us know about this. I’ve opened an issue on Github for the
   WP Job Manager developer team to review:
 * [https://github.com/Automattic/WP-Job-Manager/issues/2424](https://github.com/Automattic/WP-Job-Manager/issues/2424)
 * Feel free to subscribe to that Github issue for further updates. I’ll mark this
   forum thread as resolved since the issue will be discussed on Github moving forward.
 * Thanks 🙂

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

## Tags

 * [php 8](https://wordpress.org/support/topic-tag/php-8/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kellie (a11n)](https://wordpress.org/support/users/lavenderhaze/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-8-1-compatibility-23/#post-16752321)
 * Status: resolved