Questions tagged [vendor]
The vendor tag has no usage guidance.
72
questions
0
votes
0
answers
18
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\...
0
votes
0
answers
21
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 ...
0
votes
1
answer
102
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. ...
0
votes
2
answers
83
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.
0
votes
0
answers
86
views
Fatal error: Uncaught Exception: User Error:
Fatal error: Uncaught Exception: User Error: Some transactions have not been committed or rolled back in /Users/apple/Sites/magento24/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 4067 in /...
0
votes
1
answer
162
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 ...
0
votes
1
answer
275
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....
0
votes
1
answer
207
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-...
0
votes
1
answer
286
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 ...
0
votes
4
answers
69
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
{
...
1
vote
0
answers
74
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 ...
1
vote
1
answer
111
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 ...
0
votes
2
answers
176
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 ...
2
votes
1
answer
272
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 ...
0
votes
1
answer
165
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)....
0
votes
1
answer
118
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?
0
votes
1
answer
163
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 ...
0
votes
1
answer
187
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 ...
0
votes
1
answer
158
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-...
0
votes
1
answer
292
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 ...
0
votes
1
answer
49
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/...
2
votes
1
answer
273
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 ...
0
votes
1
answer
227
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/...
0
votes
1
answer
863
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
...
2
votes
2
answers
511
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 ...
1
vote
0
answers
159
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\...
0
votes
3
answers
629
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
1
vote
1
answer
242
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 ...
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 ...
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:\...
0
votes
1
answer
63
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?
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 ...
1
vote
1
answer
92
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 ...
18
votes
5
answers
7k
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\...
0
votes
1
answer
292
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.
3
votes
0
answers
296
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 ...
0
votes
1
answer
904
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 ...
2
votes
0
answers
719
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 ...
2
votes
1
answer
609
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" ...
0
votes
2
answers
100
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.
2
votes
1
answer
311
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 ...
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/...
3
votes
0
answers
107
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 : ...
2
votes
2
answers
115
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')) ?></...
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: ...
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
...
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-...
0
votes
0
answers
397
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/...
0
votes
1
answer
258
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
[...
0
votes
2
answers
478
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 ...