syntax error in 1.9.0 when using PHP 7.2
-
After automatic update to 1.9.0 last night, WordPress Dashboard became inaccessible.
Logs state that there is a syntax error in src/GFExcelAdmin.php on line 292:
PHP Parse error: syntax error, unexpected ')' in /web/home/hemmakvall.se/httpdocs/wp-content/plugins/gf-entries-in-excel/src/GFExcelAdmin.php on line 292
When looking at the line above, I see that the argument list to
printf
is ended with a,
which is invalid in PHP 7.2 but accepted in later versions.Please update PHP requirements for plugin or the affected line so the argument list doesn’t have a trailing comma.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘syntax error in 1.9.0 when using PHP 7.2’ is closed to new replies.