Jump to content

Edit History

fauxhandle

fauxhandle


Edit command lines

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

image.thumb.png.bcdae69ff518fb058161fde648e6d02d.png



Do someone could help me to have a clean installation with this bundle installed?

Regards,
F

 

fauxhandle

fauxhandle

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 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/yo/Code/prestashop815.lan/src/PrestaShopBundle/Service/Log/LogHandler.php on line 56

image.thumb.png.bcdae69ff518fb058161fde648e6d02d.png



Do someone could help me to have a clean installation with this bundle installed?

Regards,
F

 

×
×
  • Create New...