Error during the installation

Closed
Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management July 25, 2020
Login to reply
Milos Stojanovic Support Agent
3 years ago

Also, not sure what exact version of PHP 7.2 you have but PHP 7.2.5 is a minimum required version for Vanguard to work properly.

Simone Fogliata
3 years ago

ok i try

Milos Stojanovic Support Agent
3 years ago

Can you please remove the "vendor" folder and "composer.lock" file from Vanguard's root and then run the "composer install" command to reinstall all the dependencies? Of course, you need to install composer first if you don't have it already installed.

Let me know if that fixes the problem.

Regards,
Milos

Simone Fogliata
3 years ago

 PHP 7.2 

Milos Stojanovic Support Agent
3 years ago

Hey Simone,

What PHP version do you have?

Regards,
Milos

Simone Fogliata
3 years ago

Hi ,

when i try to install the application the system return me 500 page error


I set all folder and file permission to 777


In log of lavarel i see this error:


[2020-07-25 06:34:17] production.ERROR: Declaration of Carbon\Translator::setLocale($locale) must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::setLocale(string $locale) {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Declaration of Carbon\\Translator::setLocale($locale) must be compatible with Symfony\\Contracts\\Translation\\LocaleAwareInterface::setLocale(string $locale) at /home2/hfrattal/alumec/vendor/nesbot/carbon/src/Carbon/Translator.php:18)

[stacktrace]

#0 {main}

"} 


Can you help me ?