Hi all,
I struggle to add a Synfony bundle to Prestashop:
https://github.com/openai-php/symfony
The best I have is as following:
(I did not find any other way to install the bundle without error)
Quote$ git clone --depth 1 [email protected]:PrestaShop/PrestaShop.git
$ composer install
$ composer update
$ composer clear-cache
$ composer require openai-php/symfony
Then I do a install, and I have this error:
Fatal error: Declaration of PrestaShopBundle\Service\Log\LogHandler::write(array $record): void must be compatible with Monolog\Handler\AbstractProcessingHandler::write(Monolog\LogRecord $record): void in /home/admin/Code/prestashop.lan/src/PrestaShopBundle/Service/Log/LogHandler.php on line 56
Do someone could help me to have a clean installation with this bundle installed?
Regards,
F