ulearn
ulearn copied to clipboard
Unsupported strict types
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
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.