вторник, 21 января 2020 г.

Composer dump-autoload

Magento 2.3.3 Commerce
Useful links
https://phpprofi.ru/blogs/post/52
https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-
https://magento.stackexchange.com/questions/284911/cant-run-any-commands-in-terminal/301796#301796

After

composer dump-autoload --optimize
php7.2 bin/magento setup:di:compile

throws error
Class Magento\Framework\App\ResourceConnection\Proxy does not exist

It works with composer dump-autoload
Also, I noticed if I run composer dump-autoload --optimize twice , second running was longer than first and compiling worked afterwards.

Комментариев нет:

Отправить комментарий