Title: Error in PHP8.0 (PHP-FPM)
Last modified: September 5, 2024

---

# Error in PHP8.0 (PHP-FPM)

 *  Resolved [itwch](https://wordpress.org/support/users/itwch/)
 * (@itwch)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-in-php8-0-php-fpm/)
 *     ```wp-block-code
       This happened in my environment, so I'm reporting it.PHP-FPM 8.0.30WordPress 6.5.5ACF PRO 6.3.6 (latest)When I enabled the plugin, the following error occurred and it was not displayed.Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /wp-content/plugins/advanced-custom-fields-pro/includes/class-acf-site-health.php on line 23When I checked, it seems that there was an error in checking the property type declaration.public string $option_name = 'acf_site_health';　　　　　　　↓public $option_name = 'acf_site_health';After correcting it like this, it was displayed normally.
       ```
   

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

 *  Plugin Support [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * (@acfsupport)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-in-php8-0-php-fpm/#post-17996472)
 * Hi there!
 * ACF Support Team here. This forum is generally used by ACF users to help each
   other out.
 * However, we would love to continue investigating and troubleshooting this issue,
   please can you create a ticket using our ​[support](https://www.advancedcustomfields.com/contact/)
   form and we can look into it further.
 *  Thread Starter [itwch](https://wordpress.org/support/users/itwch/)
 * (@itwch)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-in-php8-0-php-fpm/#post-17996574)
 * [@acfsupport](https://wordpress.org/support/users/acfsupport/)
 * Thank you for your assistance.
 * For now, the error has been resolved so there’s no need to worry.
   I just wanted
   to let you know about the issue.
 * Thank you in advance for your help.

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

The topic ‘Error in PHP8.0 (PHP-FPM)’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [itwch](https://wordpress.org/support/users/itwch/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/error-in-php8-0-php-fpm/#post-17996574)
 * Status: resolved