• Resolved itwch

    (@itwch)


    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)
  • 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 form and we can look into it further.

    Thread Starter itwch

    (@itwch)

    @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)
  • You must be logged in to reply to this topic.