Template Update Problem, update fails on bin/magento setup:upgrade and then will not compile.
I'm trying to update my template to the latest version. I'm running Magento 2.4.3-p2 on PHP 7.4.29
Following the update procedure
bin/magento maintenance:enable
bin/magento cache:disable
bin/magento c:f
rm -rf app/design/frontend/Pearl/weltpixel/* app/code/WeltPixel/* app/design/frontend/Pearl/weltpixel_custom/*
rm -rf var/di var/cache/ var/page_cache/ generated/code/
Then unpacking the update files at the root....
Then I run
bin/magento setup:upgrade
And get this error
Type Error occurred when creating object: WeltPixel\Command\Console\Command\GenerateLessCommand, Argument 2 passed to WeltPixel\Command\Console\Command\GenerateLessCommand::__construct() must impl
ement interface Magento\Framework\ObjectManagerInterface, array given, called in /home/xxxxxx/test.xxxxxx.com/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121
After which compilation will fail.
I'm wondering if anyone else has come across this and might have a solution?
-
Official comment
Make sure you are following the update steps from the user guide:
Comment actions
Please sign in to leave a comment.
Comments
1 comment