Error in PHP8.0 (PHP-FPM)
-
This happened in my environment, so I'm reporting it.
PHP-FPM 8.0.30
WordPress 6.5.5
ACF 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 23
When 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)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.