Home Forums Bug Reports Update 5.7.11 Crashes Site Reply To: Update 5.7.11 Crashes Site

  • Fix for error: “PHP Fatal error: Can’t use function return value in write context in /public_html/wp-content/plugins/advanced-custom-fields-pro/includes/local-fields.php on line 304”.

    Please edit the file in question and change line 304 to:

    return acf_get_local_fields($parent) ? true : false;

    Reason for error: PHP version 5.4 does not allow expressions, only variables. This was fixed in PHP 5.5.