Closed Tantuss closed 6 years ago
run composer require symfony/yaml
then try enable again
Hi, Same problem here with last magento 2.2.1 installed. when I tried to run composer require symfony/yaml, I received error
composer require symfony/yaml Using version ^3.4 for symfony/yaml ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Hi, I had the same problem two days ago... No way... I had to install newly Magento 2 and instal the Mirasvit module as first module...
The temporary fix is install symfony/yaml from dev branch and then our module:
composer require symfony/yaml:dev-issue-814 composer require mirasvit/module-profiler
In next release we'll add own library to use yaml.
Hi, I installed Mage ce2.2.1, then installed the Mirasvit module as first module, after I run " php -f bin/magento mirasvit:profiler:enable", I got error "PHP Fatal error: Uncaught Error: Class 'Symfony\Component\Yaml\Dumper' not found..." Then I run "composer require symfony/yaml:dev-issue-814" but still get error "Installation failed, reverting ./composer.json to its original content."
@adrok You have a small mistake. composer require symfony/yaml:dev-issue-8145 - You probably forgot 5, because the branch 814 is not in this repository https://github.com/symfony/yaml
@mrthao Please check my comment.
Confirm. Solution @ityetti work right now fine and no problem. Pleas add information about Varnish that need to be clear manually and it works like charm 👍
Tried to install. Had the same problem again.
Looks like this fix does not work on 1.0.7 https://github.com/mirasvit/module-profiler/pull/44 Still having this problem
After the upgrade to Magento 2.2 the follow error is generated when the extension is enabled:
PHP Fatal error: Uncaught Error: Class 'Symfony\Component\Yaml\Dumper' not found in vendor/mirasvit/module-profiler/src/Profiler/Model/Storage.php:48 Stack trace:
0 vendor/mirasvit/module-profiler/src/Profiler/Model/Driver/Output/Html.php(39): Mirasvit\Profiler\Model\Storage->dump()
1 vendor/magento/framework/Profiler/Driver/Standard.php(195): Mirasvit\Profiler\Model\Driver\Output\Html->display(Object(Magento\Framework\Profiler\Driver\Standard\Stat))
2 [internal function]: Magento\Framework\Profiler\Driver\Standard->display()
3 {main}
thrown in vendor/mirasvit/module-profiler/src/Profiler/Model/Storage.php on line 48