Declaration of Symfony\Component\Translation\TranslatorInterface::getLocale() must be compatible with Symfony\Contract s\Translation\LocaleAwareInterface::getLocale(): #128
Before submitting an issue please check that you’ve completed the following steps:
Version 4.0.1 / WP 6.3.2 / PHP 8.1.2 / Windows and Debian
Describe the bug
I'm getting and issue trying to upgrade my WordPress Sage 9 to PHP 8.1.2. Error disapears when I remove the backwpup plugin.
It was working before I update my theme composer.json to the following.
It may be related to "illuminate/support": "^8.0" update.
Fatal error: Declaration of Symfony\Component\Translation\TranslatorInterface::getLocale() must be compatible with Symfony\Contract
s\Translation\LocaleAwareInterface::getLocale(): string in C:\laragon\www\wp\wp-content\plugins\backwpup\vendor\symfony
\translation\TranslatorInterface.php on line 69
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug I'm getting and issue trying to upgrade my WordPress Sage 9 to PHP 8.1.2. Error disapears when I remove the backwpup plugin. It was working before I update my theme composer.json to the following. It may be related to
"illuminate/support": "^8.0"
update.My composer.json