-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syntax error, unexpected '?', expecting variable (T_VARIABLE) #154
Comments
What Php Version? You can check this by writing in console: php -v |
PHP 7.0.33-0+deb9u10 (cli) (built: Oct 6 2020 17:08:28) ( NTS ) |
Upgrade your PHP to minimum 7.1, I have currently no other solution for this. |
I upgrade to 7.4
but still the same error... I tryied do in my Local Machine (windows) and everything works... |
You also need to update your apache2/nginx config to use that php version. This problem exist only on php version 7.0 and lower. |
Hello! |
Execute this in your terminal:
|
Worked !!! |
Server configuration
Client configuration (Your Computer)
Description:
When I start install from the website after choosing a Client version he shows me that erros
`syntax error, unexpected '?', expecting variable (T_VARIABLE)
Backtrace:
#0 [internal function]: POT->loadClass('OTS_DB_PDOQuery')
#1 /var/www/html/system/libs/pot/OTS_Base_DB.php(26): spl_autoload_call('OTS_DB_PDOQuery')
#2 /var/www/html/system/libs/pot/OTS.php(316): include_once('/var/www/html/s...')
#3 [internal function]: POT->loadClass('OTS_Base_DB')
#4 /var/www/html/system/libs/pot/OTS_DB_MySQL.php(25): spl_autoload_call('OTS_Base_DB')
#5 /var/www/html/system/libs/pot/OTS.php(316): include_once('/var/www/html/s...')
#6 [internal function]: POT->loadClass('OTS_DB_MySQL')
#7 /var/www/html/system/libs/pot/OTS.php(373): spl_autoload_call('OTS_DB_MySQL')
#8 /var/www/html/system/database.php(98): POT->connect(Array)
#9 /var/www/html/install/includes/database.php(6): require('/var/www/html/s...')
#10 /var/www/html/install/steps/5-database.php(51): require('/var/www/html/i...')
#11 /var/www/html/install/index.php(216): require('/var/www/html/i...')
#12 {main}`
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: