sql-parser
sql-parser copied to clipboard
Syntax error after logging in ContextMySql50700.php file?
Hey,
When I try to login to my php myadmin I get this parse error from php
Parse error: syntax error, unexpected identifier "JSON_CONTAINS_PATH", expecting "]" in C:\localServer\Apache24\htdocs\phpMyAdmin\vendor\phpmyadmin\sql-parser\src\Contexts\ContextMySql50700.php on line 73

Can anyone help mw with this
Hi @phantom2152 From a syntax point of view https://github.com/phpmyadmin/sql-parser/blob/master/src/Contexts/ContextMySql50700.php is okay What PHP version are you using ? How did you install phpMyAdmin ? What version is it ?
Php version is 8.1.2
I installed PhpMyAdmin Manually without xampp and have been using it for many days
PhpMyAdmin Version 5.1.2
I am attaching a photo of ContextMySql50700.php
seems to be corrupted to meπ
π

@ibennetch do you have an idea of what could be occurring?
I am closing this one, this is most probably a corrupted unzip or FTP upload. Is it solved @phantom2152 ?