Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in setup/databases.inc.php on line 111
This issue appears on the system of one of my clients (PHP 7.2.4)
The problem is that ENDDB; the way it is in this file now is not valid. In PHP, the heredoc closing identifier must be:
- the only thing on that line (no indentation, spaces, or tabs)
- followed immediately by a semicolon on the next line or at the end of the same line
Quickfix: Remove the spaces in the file by hand. Maybe updated in next version?
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in setup/databases.inc.php on line 111This issue appears on the system of one of my clients (PHP 7.2.4)
The problem is that ENDDB; the way it is in this file now is not valid. In PHP, the heredoc closing identifier must be:
Quickfix: Remove the spaces in the file by hand. Maybe updated in next version?