37 votes
Accepted

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

Go to Below File /vendor/vertex/module-tax/Model/FlexField/Processor/OrderCurrencyGetterProcessor.php At the end of the "use" clauses in add the following two lines: use Vertex\Tax\Model\...
Rakesh Donga's user avatar
  • 5,354
16 votes

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

I run into the same problem. It seems only a speeling problem: https://github.com/magento/magento2/issues/24930#issuecomment-543949135 So it is better to change only the namespace spelling without ...
Mario's user avatar
  • 405
7 votes

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

If like me you can't edit the file (because our CD will fail) follow these steps: In the root of your project, create a directory patches/composer Create a file called vendor-vertex-compilation-issue....
Haim's user avatar
  • 2,144
6 votes
Accepted

Why all vendor folder go to app/code?

Please download from the downloads section of the website. Or you can use composer composer create-project --prefer-source --repository-url=https://repo.magento.com/ magento/project-community-edition=...
Dominic Pixie's user avatar
6 votes

Error Incomplete installation

This is very common in localhost installations. Follow the below to fix the issue Find validateURLScheme function in below file vendor\magento\framework\Image\Adapter\Gd2.php file at line 96. ...
Mayur Sisodiya's user avatar
3 votes
Accepted

What does resultRedirectFactory?

This "resultRedirectFactory" used to create redirect from your controller to another url If you want to redirect it to another controller then simply create resultRedirectFactory and set ...
Arun Sharma's user avatar
  • 1,315
3 votes

Magento2 : Committing vendor folder in Git Repository

That depends on your deployment strategy For instance, we never run composer in staging or production servers, so any composer update or install of new packages are always done in developers local ...
Raul Sanchez's user avatar
  • 3,096
3 votes
Accepted

Magento2: override vendor language package

Had the same problem. There is way to define your own translation package and define dependencies and sort_order between them. More details in this answer in here
Sergey's user avatar
  • 459
3 votes
Accepted

Moved modules from vendor to code, modules not working

Use the Magento 2 enabled modules command: php bin/magento module:status to see a list of Magento 2 all enabled / disabled modules Enable/ disable or uninstall modules in Magento 2 enable a module:...
daqin's user avatar
  • 46
2 votes
Accepted

Vendor is not recognized or extend command

As far as I Understand, you may try these things Install dependencies via composer composer update Run test In linux vendor/bin/phpunit In Windows vendor\bin\phpunit I hope this will ...
Muhammad Hasham's user avatar
2 votes

Magento2 - Moving or extending a module from vendor to app folder

I was able to extend this. I created a folder "Magestore_Bannerslider" in my app/desgin/Magento/theme_name/ and copied templates folder in it I was able to add the required customization.
Hammad Khalid's user avatar
2 votes

Magento 2: Failed to open the required lessc.inc.php

For Maagento 2.3.3. $root_path = BP . '/'; require_once($root_path . "vendor/wikimedia/less.php/lessc.inc.php");
Ajay Gohel's user avatar
2 votes

Magento 2: Failed to open the required lessc.inc.php

I had the same issue with another SM theme, after setting Apache's root folder to /pub instead of the Magento root. The problem is that compile_less.phtml is including file using require. The one ...
rcason's user avatar
  • 646
2 votes

Magento 2.3 migration error : After migration missing most of the files from vendor/magento/ folder

This question was resolved in the Magento Slack community. The issue was that they're using the actual Magento release's composer.json file, rather than their own composer.json that requires Magento ...
Joe Chenevey's user avatar
2 votes

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

Goto file: /vendor/vertex/module-tax/Model/FlexField/Processor/OrderCurrencyGetterProcessor.php Add missing line: use Vertex\Tax\Model\FlexField\Processor\...
Prateek Karanpuria's user avatar
2 votes

Magento 2.3 Accidentally delete vendor/magento folder in root directory content [WHM/cPanel] using rm-rf

Just run the composer install command again. This way the folder inside the vendor will be recreated
Jonas Hcr's user avatar
1 vote
Accepted

Moving Magento core modules from app/code to vendor?

I think your best option would be creating a new project & install using composer https://devdocs.magento.com/guides/v2.4/install-gde/composer.html After that, simply copy from your old project ...
Raul Sanchez's user avatar
  • 3,096
1 vote
Accepted

Magento 2 - Is it safe to change files in core via patch?

Yes, it should be safe, but I would recommend keeping a short list of custom or quality patches applied. Although it's ok to update the core files via patches, maintaining a large number of patches ...
Diana's user avatar
  • 5,137
1 vote

Magento 2.4.2, child theme of Blank - Front end. How do you remove properties in parent Blank theme styles, for example footer border?

I have a solution. I was adding it as general theme styling, It should have been app/design/frontend/Vendor/ChildTheme/Magento_Theme/web/css/source/_module.less Now if some rule is removed - it stays ...
TMNR's user avatar
  • 11
1 vote
Accepted

I found this file /vendor/magento/module-customer/Controller/Account/LoginPost.php file is having some code. What is the explanation of below code?

The code above will Magento (after passing the conditions) to redirect the customer to the route saved in the redirect cookie after successful login if the configuration which says that all customers ...
Diana's user avatar
  • 5,137
1 vote
Accepted

Magento showing errors in developer mode

On line no. 105 Replace with this code :- $loader['padding'] = number_format(100 / $params['aspectRatio']);
Ronak Rathod's user avatar
  • 6,320
1 vote
Accepted

override vendor xml file in magento 2

Try this way... vendor/the_vendor/the_module/view/frontend/layout/the_file.xml to app/design/frontend/Vendor/Themename/the_module/layout/the_file.xml Please don't forget to clear cache after change ...
Hamendra Sunthwal's user avatar
1 vote

override vendor xml file in magento 2

Please look at magento 2 documentation Reference: https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-override.html
Maxim Liksunov's user avatar
1 vote

B2B Multiple warehouse management for sellers and shipping from multiple warehouses in magento2

The Inventory project does all the things you want. Inventory Management features include Different configurations for merchants whose inventory originates from a single source and from multiple ...
Philipp Sander's user avatar
1 vote

how can a buyer and vendor can video chat with each other

Video chatting is not sure about it but here I gave you text chat for free. You can use your mobile to text chat with your website visitors. https://www.tawk.to/
Chirag Parmar's user avatar
1 vote

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

If you aren't using the Vertex Tax module in your installation, you can use the replace key in the composer JSON so the module files don't even get pulled into your installation. // composer.json { ...
Nathaniel Rogers's user avatar
1 vote

Magento2 : Committing vendor folder in Git Repository

One of the ideas presented that works is to commit the entire vendor directory and make the changes to the file and commit to the repo. Lets analyze this for a moment. It works and on deployment the ...
Prashant Valanda's user avatar
1 vote
Accepted

Namespaces for "Magento\\Framework\\", "Magento\\" and physical directory structure

class ProductsList extends\Magento\CatalogWidget\Block\Product\ProductsList this would tell you exactly where it lies. class ProductList - File ProductList.php in your custom module placed at app/...
Kumar A.'s user avatar
  • 493
1 vote
Accepted

XAMPP Magento 2 vendor folder does not have any core modules

You can download from official Magento site i.e https://magento.com/tech-resources/download Note: You need an active account to download
Pawan's user avatar
  • 5,891
1 vote
Accepted

Why module go to vendor directory if install using composer Magento2?

In your github account have you pushed to master? Also what if you add a tag in git with label 1.0.0 and then push tag to master and for example and then try to do the following from within magento ...
Dominic Pixie's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible