Questions tagged [vendor]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Resize image error Deprecated Functionality: Implicit conversion from float 114.90625 to int loses precision Magento246

I am getting the following error in PHP version 8.2 on running Deprecated Functionality: Implicit conversion from float 114.90625 to int loses precision in /var/www/html/magento2/vendor/magento/...
Ravindrasinh Zala's user avatar
0 votes
0 answers
29 views

Magento 2.4.4 - Magento modules inside the vendor folder don't work

I'm trying to run the "setup:upgrade" command to register all magento modules but this error is presented: "PHP Fatal error: Uncaught Error: Class Magento\Framework\Component\...
Jackom's user avatar
  • 473
0 votes
0 answers
29 views

Override layout file in vendor directory of theme

I have created a theme in vendor directory. I want to override layout xml files in my theme directory. I have theme-frontend-themename. I have a folder in this directory named Magento_Theme. I want to ...
Mehreen's user avatar
  • 11
0 votes
1 answer
358 views

Magento 2.4.5 | GraphQL endpoint returns 404 | module-graph-ql packages not installed

I'm facing an issue where my 2.4.5 https://<magentostore>/graphql endpoint is returning a 404. After some research it seems that none of the Magento GraphQl packages are installed by composer. ...
Leander Matse's user avatar
0 votes
2 answers
103 views

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

I accidentally deleted vendor/magento folder from WHM/Cpanel using rm -rf command and i don't have any backup is there any possibility to restored that file.
Galib's user avatar
  • 37
0 votes
1 answer
185 views

Error after upgrading Magento 2.4.3 to 2.4.5 match

syntax error, unexpected token "match", expecting variable#0 /httpdocs/vendor/composer/ClassLoader.php(432): Composer\Autoload\ClassLoader::Composer\Autoload\{closure}() #1 [internal ...
Daniel Miguel Martínez's user avatar
0 votes
1 answer
372 views

how to fix issues in Escaper.php?

I upgraded Magento2.3.4 to 2.4.3-p3. But I got issues in checkout page and cart page. 1 exception(s): Exception #0 (Exception): Notice: Array to string conversion in /home/caterin1/test.cateringspares....
Bohdan V.'s user avatar
0 votes
1 answer
271 views

Magento 2 while upgrading an error of requires facebook/php-business-sdk but these conflict

We are using Magento 2 We are able to install Facebook Business SDK installation via composer but when we are trying to install facebook-for-magento2(https://marketplace.magento.com/facebook-facebook-...
sumeet bajaj's user avatar
  • 1,286
0 votes
1 answer
341 views

Magento 2 How to check third party extension except magento extension in vendor folder

Magento 2 From now all extensions should be installed via the composer. How can we check the third-party extension in the Magento vendor folder?, while installing Magento 2 then Magento have also lots ...
sumeet bajaj's user avatar
  • 1,286
1 vote
4 answers
74 views

Overwrite vendor module file

How can we overwrite this file? /var/www/html/magento/vendor/pelago/emogrifier/src/Emogrifier.php <?php namespace Pelago; use Pelago\Emogrifier\Utilities\CssConcatenator; class Emogrifier { ...
Jimit Bhavsar's user avatar
2 votes
0 answers
117 views

override admin panel layout and phtml in magento2.4.5

I want to override adminhtml layout and phtml file of vendor directory to my custom theme so how can I do that, if anyone have idea then please share. "Because sharing is caring" Thanks in ...
Deep Shah's user avatar
  • 555
1 vote
1 answer
167 views

Moved modules from vendor to code, modules not working

I've removed a couple of modules from composer, and placed the folder/files into the app/local folder according to the structure als mentioned in the registration.php. The modules are enabled as seen ...
AartStaartjes's user avatar
0 votes
2 answers
238 views

How to uninstall Stripe module installed in app/code

One of our client stores has had Stripe module installed in app/code as shown in the image below. I need to uninstall it and reinstall its latest version in vendor folder. Could you please share ...
CodeForGood's user avatar
2 votes
1 answer
331 views

Moving Magento core modules from app/code to vendor?

Magento 2.4.3 I need to move the Magento core files which were installed in app/code/Magento by accident to the vendor folder so they can be updated with composer. Any advice on how to do that? Could ...
user4095519's user avatar
0 votes
1 answer
199 views

around plugin overriding other before plugins

In the vendor module, I have a plugin for some methods. I'd like to add a before plugin for this method but it looks like this is around from the vendor overriding all other plugins (before and after)....
Sebas's user avatar
  • 27
0 votes
1 answer
129 views

Can you map in require.js in a vendor/module to overwrite an HTML file in another vendor/module in Magento 2?

Instead of overwriting an HTML file in a core or 3rd party vendor/module via app/code, could you do it from another vendor/module via mapping in require.js?
JDmagentoDev's user avatar
0 votes
1 answer
210 views

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

I often read that we should never change files in the core and I know that it is bad practice. However, there was a bug in my shop, so I reported it to magento customer support and they have sent me a ...
Black's user avatar
  • 3,280
0 votes
1 answer
193 views

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

The file I use to override these styles: app/design/frontend/Vendor/ChildTheme/web/css/source/_module.less as per M2 documentation. I tracked that it applies my modified styles, but then goes and puts ...
TMNR's user avatar
  • 11
0 votes
1 answer
194 views

Can we use lower case letters for vendor name

Facing an issue with the vendor name. {"0":"Param resource doesn't pass validation: 'test_SimpleModule::test' does not match against pattern '/^[A-Z][A-Za-z0-9]+_[A-Z][A-Za-z0-9]+::[A-...
SriLekha Lella's user avatar
0 votes
1 answer
377 views

Override Extension (/vendor) in app/frontend

I'm trying to override a layout .phtml file for a 3rd party extension which is located in /var/vendor_name/extension. As I understand, I should not be modifying the /vendor files, but this extension ...
mkutev's user avatar
  • 3
0 votes
1 answer
52 views

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

I want to know what actually these two lines of code are doing. $redirectUrl = $this->accountRedirect->getRedirectCookie(); if (!$this->getScopeConfig()->getValue('customer/...
Vibhore Jain's user avatar
2 votes
1 answer
310 views

What does resultRedirectFactory?

I found a code at /vendor/magento/module-customer/Controller/Account/Login.php /** @var Redirect $resultRedirect */ $resultRedirect = $this->resultRedirectFactory->create(); I want to know ...
Vibhore Jain's user avatar
0 votes
1 answer
237 views

Magento showing errors in developer mode

I have enabled developer and it's showing me following errors : 1 exception(s): Exception #0 (Exception): Notice: A non well formed numeric value encountered in /opt/bitnami/apps/magento/htdocs/app/...
Anonymous Record's user avatar
0 votes
1 answer
940 views

how to copy composer install modules of vendor from one project to another project magento 2

Is it possible copy composer install modules of vendor from one project to another project magento 2 without composer commands. If anyone having any idea please guide. I knew that it's not good ...
Hitesh Balpande's user avatar
2 votes
2 answers
638 views

override vendor xml file in magento 2

Dears, I have a xml file in the vendor directory: vendor/the_vendor/the_module/view/frontend/layout/the_file.xml I know that I should never make any change in this directory as it may be overrided by ...
Anthony's user avatar
  • 23
1 vote
0 answers
163 views

Magento 2.3.4 image save error

After updated Magento to v2.3.4 getimagesize('/var/www/project...') called at [vendor/magento/module-media-gallery-synchronization/Model/CreateAssetFromFile.php:78] Magento\...
David Young's user avatar
0 votes
3 answers
681 views

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

Most of the files missing after migration, how to update vendor/magento folder. Note : How to update without reinstall fresh Magento
zus's user avatar
  • 155
1 vote
1 answer
278 views

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

single vendor multiple warehouse concept in B2B. Like vendors, warehouses should be located in different cities. Is there any extension available for this and any idea about this. Multiple warehouse ...
Devidas's user avatar
  • 3,348
0 votes
1 answer
20 views

How to setup Magento to query vendor before confirming order?

On our website I want to have 30-40 commonly ordered products on display. These are very fast moving consumer goods in both the online and offline worlds. We will also have 100-200 vendors, all of ...
siliconpi's user avatar
  • 101
1 vote
2 answers
2k views

Error Incomplete installation

I'm a beginner and trying to install Magento 2.3.5 on my localhost. I've tried several times but at a point 51% get the following error message: [ERROR] InvalidArgumentException: Wrong file in C:\...
Hseb's user avatar
  • 11
0 votes
1 answer
65 views

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

i'm creating a magento 2 store in which my client want me to add a feature where a buyer can video chat with the vendor regarding product details. Can any one tell me how can i do that?
Abhishek Kalotra's user avatar
1 vote
0 answers
17 views

what are the minimum steps to run in order to see the updates after edit a php file from the vendor folder

somehow in my /public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Indexer/Price/BatchSizeCalculator.php file there are extra characters accidentally added by one of the team ...
Mage Explorer's user avatar
1 vote
1 answer
93 views

Difference After Upgradation in Magento2

I have one website in Magento 2.2.1, Now We are planned and Upgrade Website in 2 instances one from Composer and Another from Manually Way(Downloaded form Magento Website). Now we are on the point ...
Oscprofessionals's user avatar
18 votes
5 answers
8k views

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

I have installed the new Magento 2.3.3 version. After I have run the command: php bin/magento setup:di:compile I have Faced the following error: PHP Fatal error: Interface 'Vertex\Tax\Model\...
Hardik Makwana's user avatar
0 votes
1 answer
309 views

Why all vendor folder go to app/code?

After setup new magento site, i've met some weird situation. All my vendor folders go to app/code instead. Also i can't find the Magento/Framework folder too. How to fix this situation, thanks.
fudu's user avatar
  • 1,268
3 votes
0 answers
300 views

How to move Magento core modules from app/code to vender folder?

I have upgraded Magento version from 2.2.7 to 2.3.2 without using composer. I have installed new 2.3.2 from github and moved features from 2.2.7 to 2.3.2. And now I need commit it to live server. But ...
Goldstar215's user avatar
0 votes
1 answer
984 views

Vendor is not recognized or extend command

I am trying to run to test but every time I run a command that is related to the vendor folder, it shows the following error 'vendor' is not recognized or extend command operable program or batch file ...
Kite Hany's user avatar
  • 235
2 votes
0 answers
768 views

How to override core vendor/magento/zendframework1/library/Zend/Locale/Data/ar_SA.xml

I want to override vendor/magento/zendframework1/library/Zend/Locale/Data/ar_SA.xml because for my Arabic store currency symbol was not working. By referring to this URL I got the solution. But ...
chris's user avatar
  • 341
2 votes
1 answer
632 views

Product image going to the wrong URL

I have this block at the bottom of cms pages that are created by bluefoot and when you click on the image it takes you to a long URL like if it was being searched for but if you click on "add to cart" ...
cntrl esc --'s user avatar
0 votes
2 answers
107 views

XAMPP Magento 2 vendor folder does not have any core modules

I tried to use Magento 2.3.0 in my Localhost.But vendor folder is not having required modules.Please help why it is happening.
Max28's user avatar
  • 33
2 votes
1 answer
320 views

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

Can anyone please tell me the reason why module go to Vendor directory when install using composer? Please refer me a link for this reason. In my custom extension, I am using this code in my ...
iqbal malik's user avatar
0 votes
2 answers
2k views

Upgrade Magento vendor module(dependency|library) to a newer version

Magento uses multiple "external" dependencies|libraries for example one of them is dotmailer-magento2-extension. This specific module is at version 3.1.1 as it can be seen here vendor/dotmailer/...
vitoriodachef's user avatar
3 votes
0 answers
124 views

Use or purpose of magento2-base folder in vendor/magento

Can anyone please let me know what's the use of magento2-base folder under vendor/magento directory? Most of the time, some search results show the error message obtained from this directory. Note : ...
Kazim Noorani's user avatar
2 votes
2 answers
135 views

Changing in PHTML in Vendor Folder does not affect frontend

I changed the subscribe.phtml in vendor/magento/module-newsletter/view/frontend/templates/subscribe.phtml. I just changed: <span><?= $block->escapeHtml(__('Subscribe')) ?></...
Make UP's user avatar
  • 123
1 vote
0 answers
158 views

Undefined variable: _ENV in magento 2.3

I get this error on frontend: Notice: Undefined variable: _ENV in /home/jacstoreonline/public_html/magento/vendor/zendframework/zend-http/src/PhpEnvironment/Request.php on line 67 Notice: ...
user avatar
0 votes
1 answer
1k views

Magento 2.3 : issue in file uploading in backend

[2019-03-15 04:50:13] main.CRITICAL: Warning: count(): Parameter must be an array or an object that implements Countable in D:\xampp72\htdocs\mage230\vendor\magento\framework\File\Uploader.php ...
Bhavesh Prajapati's user avatar
1 vote
3 answers
3k views

Removing modules from vendor magento 2.3

I'm trying to remove a few modules located inside the vendor folder. If i remove them manually it throws an error on the frontend. Warning: require(/srv/public_html/vendor/composer/../amzn/amazon-pay-...
Head's user avatar
  • 157
0 votes
0 answers
404 views

Notice: Undefined index

I'm trying to update my Components with magento-cli setup:upgrade and I'm getting an error: Notice: Undefined index: websites in /opt/bitnami/apps/magento/htdocs/vendor/magento/module-config/App/...
user3541236's user avatar
0 votes
1 answer
265 views

When I run CLI commands in magento 2.2

When I run CLI commands in magento 2.2 php bin/magento setup:upgrade I'm getting following error. [Zend_Db_Adapter_Exception] SQLSTATE[HY000] [2002] Connection timed out [...
getData's user avatar
  • 327
0 votes
2 answers
481 views

I am trying to override multishipping.php file in vendor/magento/module-multishipping/Model/Checkout/Type/Multishipping.php

so far I've experienced some complications performing this override, I had to override also PlaceOrderDefaulr, PlaceOrderFactory and PlaceOrderInferface I've added preferences tags in ../etc/di.xml of ...
user avatar