Skip to content
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

Unsupported strict types #10

Open
fadlisaad opened this issue Dec 4, 2019 · 1 comment
Open

Unsupported strict types #10

fadlisaad opened this issue Dec 4, 2019 · 1 comment

Comments

@fadlisaad
Copy link

After following the instruction, all has been completed and expect it to run but found out this error in the log:

PHP Warning:  Unsupported declare 'strict_types' in /home/app/vendor/nette/di/src/compatibility.php on line 8

PHP Warning:  Unsupported declare 'strict_types' in /home/app/vendor/nette/di/src/DI/Config/Adapter.php on line 8

PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/app/vendor/nette/di/src/DI/Config/Adapter.php on line 22

Appreciate your kind help

@rafaelmb
Copy link
Contributor

rafaelmb commented Dec 9, 2019

Are you running php 7? Ulearn needs at least 7.1 to run and strict_types was released in 7.0 I have searched around and found some weird missing extensions related to this problem, specially mb_string. You shoud check system requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants