Fixing the “Syntax error, unexpected ‘fn’ (T_FN), expecting identifier (T_STRING)” PHP error
In this short post, we show to fix the “unexpected error ‘fn’” in The recent PHP upgrade to version to 7.4.x with WordPress version 5.5.3 leads to the following error in different plugins resulting in an application crash. Parse error: syntax error, unexpected ‘fn’ (T_FN), expecting identifier (T_STRING) in xxxx.php file line number 121. The …