Level 75
You did not say what laravel version. So I guess 7.*.
The requirement is PHP >= 7.2.5
Your cpanel should have an option to change php version. If it doesn't have PHP >= 7.2.5, ask the tech team to place a newer version on there.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Help I am getting this error
Declaration of Symfony\Component\Translation\TranslatorInterface::setLocale($locale) must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::setLocale(string $locale)
I checked online and it is saying it may be something to do with the php versions.
I checked my local host and the php is:
7.3.10
and the server php is
7.1
I am completely burnt out and cannot think. I am new to this.
You did not say what laravel version. So I guess 7.*.
The requirement is PHP >= 7.2.5
Your cpanel should have an option to change php version. If it doesn't have PHP >= 7.2.5, ask the tech team to place a newer version on there.
Please or to participate in this conversation.