Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Composer is a tool to manage dependencies in PHP. It supports fetching dependencies from different sources like Git, SVN, PEAR, the local filesystem, etc. and also offers automated autoloading support.

0
votes
3answers
54 views

Elasticsearch setup:upgrade error: No handler for type [text] declared on field [search]

I am trying to install smile/elasticsuite using composer but I am getting a really strange error. To install the module I used: composer require smile/elasticsuite:2.6.0 And got successful ...
0
votes
2answers
12 views

Magento2 composer update issue

I have installed one module with composer and that module stored in vendor folder. Now i do not need that module, I have deleted from it and run the commnad "composer update" Still i can see the ...
0
votes
0answers
39 views

Magento 2: Invalid credentials for … aborting

I was trying to use composer install with my project, and this message show up, please help. Thanks :) Or please tell me how to ignore a package in composer install, i've try composer remove magento/...
0
votes
1answer
38 views

Magento 2.1.7 to 2.1.15 upgrade issue

I have upgraded my magento version 2.1.7 to 2.1.15. The upgrade process working fine. But the issue is my home page contents are not loading. It loada product detail page content in the home page. ...
3
votes
3answers
58 views

How to solve this error?

I am trying to upgrade magento version from 2.1.9 to 2.1.10 I got following error. Module 'Magento_Ui' from '/home/zitomer/upgrade.zitomer.com/app/code/Magento/Ui' has been already defined in '...
1
vote
0answers
15 views

Invalid crendetials when runing composer require magento 2 extension

I got this erreor when runing this commande composer require my extenion from marktplace : please explain to met this error to can fix it and thanks in advance
4
votes
1answer
77 views

Magento2 | Which procedure to upgrade to 2.2.6 in area development / GIT?

We have started development on a Magento CE 2.2.5 and installed theme / modules and custom module. We are working with local project/server versioned with GIT. The gitignore file specify to ...
1
vote
0answers
33 views

Problem with CLI installing module

Im trying to install sitemap module for Magento 2 and i got this message via cli, i make some changes in composer.json { "name": "mageplaza/module-sitemap", "minimum-stability":"dev" "...
2
votes
1answer
38 views

Magento 2 : Plugin autoload error

I have recently move a magento 2.2.5 website to a new server and now when I run an upgrade command or compile command I receive the below error. I have tried deleting any and every folder i can find ...
0
votes
2answers
30 views

Magento 2 version(s) in composer

We are getting ready to upgrade from v2.2.2 to v2.2.4. Due to our deployment process, I need to push the composer.json so it can be upgraded properly via the git rather than doing it in the backend. ...
0
votes
1answer
22 views

What is the Composer.Json file and what is it used for?

I would like to know what the composer.json file is actually used for when I create a new module. I know it's an optional file that can be created when I create a new module so why include it? ...
1
vote
3answers
49 views

Magento2 Delete config row while Extension Uninstall

I have created a custom module which is being installed via composer. When I run the command - php bin/magento module:uninstall Vendor_Faq It is removing all the corresponding tables which I wrote ...
2
votes
1answer
81 views

How to load a classmap[ped] Composer class (packagist) in Magento 1?

I've installed and deployed magento-hackathon/magento-composer-installer in my Magento 1.9 and I am trying to add and use mpdf/mpdf (composer packagist) in a controller. This package contains a ...
0
votes
1answer
34 views

Magento2 How to create custom module which will be install in Vendor folder using composer

I have created an extension now I want to install this using composer command in the vendor folder.
0
votes
0answers
18 views

Possible to install MFTF on magento 2.2.5?

I'm attempting to install the MFTF on magento 2.2.5. Is this possible? I have tried following the instructions here, but they don't work: https://devdocs.magento.com/guides/v2.2/magento-functional-...
0
votes
4answers
108 views

Magento 2 : Composer runs out of memory

I am trying to install instamojo payment gateway to my magento2 store, as per the instructions givne by instamojo page https://docs.instamojo.com/page/instamojo-integeration-for-magento-2 i tried the ...
1
vote
1answer
30 views

When is the setup folder created by Magento?

Can I gitignore it in a composer based installation? I tried deleting vendor/ and composer install, but the setup folder was not newly created. EDIT It is not happening on each composer install - ...
0
votes
1answer
23 views

Customer_Eav db schema version is not properly set

I am using Magento 2.2.5 and getting this error. 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Please update your modules: Run "composer install" from the Magento ...
0
votes
1answer
32 views

Magento2 composer update throws exception

When I am running composer update I am faced with the error like: $ ./composer update X-Powered-By: PHP/7.0.31 Content-type: text/html; charset=UTF-8 Warning: Composer should be invoked via the CLI ...
0
votes
0answers
17 views

Magento 2 - Web Upgrade Fails on Component Dependency Checks

I have a Magento 2 site on version 2.1.8 and I am attempting to upgrade to 2.2.5 with the Web Setup Wizard. When I run the readiness check, it fails on Component Dependency. My composer.json file ...
2
votes
2answers
110 views

Magento 2.2.3 upgrade to 2.2.4 giving error

I'm trying to upgrade my magento 2.2.3 to 2.2.4 through putty: php70 composer require magento/product-community-edition 2.2.4 --no-update php70 composer/composer.phar update and after this I try: ...
4
votes
2answers
60 views

What is Composer and how to use it?

After having had some problems while trying to upgrade Magento 2, or when installing new modules, I often find the suggestion of "using Composer" to do it. However, as a designer (not really a ...
0
votes
1answer
117 views

error after “composer update”

First time I installed a module via ssh, and I accidentally make "composer update". Now my site has this error: 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Please ...
1
vote
1answer
188 views

Magento 2.2.5: Error on cron:run after every production deployment

Since we upgraded Magento to 2.2.5, after every deployment to production (which includes git pull..., composer update & all other relevant Magento CLI commands for production deployment), our ...
0
votes
0answers
54 views

Magento 2: error 500 and issue with a Composer

I have an error 500 "site is currently unable to handle this request"., and this is what logs are writing: [Wed Jul 25 07:21:16.343013 2018] [php7:warn] [pid 396] [client 176.125.35.8:44830] PHP ...
0
votes
0answers
17 views

Magento 2 : Installing magento 2 code standards with code sniffer in ubuntu

Can anybody please tell me how do i install Magento 2 code standards in Ubuntu form scratch? I am trying to install Composer and Code sniffer 3.0 but getting alot of errors.
0
votes
1answer
50 views

Magento 2.1.3 to 2.2.5 Upgrade Checksum verification of the file failed

I stumbled into this problem while upgrading Magento 2.1.3 to 2.2.5 via composer update. Any ideas?
1
vote
2answers
560 views

Can't upgrade Magento 2.2.4 to 2.2.5

I am trying to upgrade Magento 2.2.4 to 2.2.5 with composer. php bin/magento maintenance:enable php composer.phar require magento/product-community-edition 2.2.5 --no-update php composer.phar update ...
0
votes
1answer
23 views

Magento 2 Hardware Requirement confusion and Upgrading on Live server confusion

I have worked with Magento1 and Magento2 both. But All of my Magento2 projects are hosted under dedicated server and the permission of Upgrading and Building using composer is given by the client. So ...
1
vote
0answers
38 views

Use Mage::app('admin') in Composer post scripts

I am creating a post-update-cmd script in which I call some functions. The file is lib\Vendor\Module\CustomClass.php This is the command: "post-update-cmd": [ Vendor \\ Module \\ CustomClass :: ...
0
votes
0answers
21 views

Composer modules located on multiple Market Place accounts

I have a Magento 2 website were Composer was used to install all the modules. Now, I have multiple Magento Market Place accounts that hold different modules, so they are NOT located in one account. ...
0
votes
2answers
329 views

Outdated Amazon_core after composer update (Magento 2.2.4)

I am getting this error: Amazon_Core db schema version: defined in codebase - 2.0.12, currently installed - 2.0.4 and Amazon_Core db data version: defined in codebase - 2.0.12, currently installed -...
1
vote
0answers
25 views

Setup page not getting loaded after install

I have been trying to install magento 2, When i am trying to access the setup page from url, but the url is not accessible it says This page isn’t working xx.xx.xxx.xxx is currently unable to ...
0
votes
0answers
32 views

Magento2 - Install module from vcs with composer - autoload error

I have module stored in bitbucket and I want to be able to install it with composer. This is my composer file. "name": "VENDOR/MODULENAME", "description": "description", "require": { "...
4
votes
2answers
62 views

Version Control Magento 2 on Git

What is the best way to version control Magento 2 store on Git? How should I set up the repo/s to be flexible and reliable in a long run? I use composer to install all third party modules (when that’...
1
vote
1answer
36 views

Changing from a git to a composer installation

I'm afraid, I've got a Magento 2 installation which has been done via git. I'm not a developer and would like to upgrade simply via composer update. Is it somehow possible to move or migrate from one ...
2
votes
1answer
200 views

Running out of memory while reindexing using -d memory_limit=3G

I recently migrated data from Magento 1.8.1 to Magento 2.1.7, which includes around 700,000 customers. After migration, I am running this command: php -d memory_limit=3G bin/magento indexer:reindex ...
1
vote
1answer
88 views

Ignore platform requirements for sample data installation using Composer

I have a module installed via Composer where the latest master version requires PHP 7.0.x, while the updated version I'm using allows PHP 7.1.x which I have installed. This causes a problem that on ...
0
votes
2answers
87 views

Magento composer The system cannot find the path specified. (code: 3)

I am executing composer install but getting below error # composer install Loading composer repositories with package information The following exception may be caused by a stale entry in your cmd....
3
votes
0answers
278 views

Magento 2 InvalidArgumentException Could not find a matching version of package

I am trying to install the module using the composer in Magento 2. I have created a module and publish on the GIT repository and also added the GIT repository URL at packagist. Module GIT URL: ...
0
votes
0answers
17 views

Lock Files Getting Created

Every now and then, these lock files are getting generated in my magento 2 installation (under var/tmp). Can someone guide me what are they as they prevent composer installation from running sf.css_1....
1
vote
2answers
95 views

The composer is installing different module versions than the required one

On a Magento 2 branch, when I am running the composer will get different module versions than the required one. Let's say for the Magento_Store module I do need the 2.0.0 version, but the composer is ...
1
vote
1answer
104 views

Issues using the Code Migration to migrate to Magento CE v2.2.3 w/ PHP 7.1

I'm attempting to use the code-migration toolkit provided by Magento to assist in our migration to Magento CE v2.2.3 (from v1.9.3.4), but after I clone the latest branch and execute either composer ...
0
votes
3answers
190 views

Install Magento 2.2.3 with composer throws

I am trying install a clean version of Magento 2.2.3 using composer: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition This error is thrown: ...
1
vote
0answers
24 views
1
vote
0answers
17 views

Using Composer on Shared Host

I have just recently started dabbling in the idea of upgrading from Magento 1.9.x to 2.2.x now. Working with installing Mangento and now having to use Composer, I am attempting to run simple commands ...
3
votes
2answers
54 views

How to use Composer to update just the Magento 2 core packages?

I would like to use the composer update feature to update all the core packages, not the third-party packages together. Do you have some idea?
0
votes
1answer
394 views

GDPR Module Installion "Can only install one of: magento/framework[101.01.1, 100.0.02]

I am trying ton install the following GDPR module via command line for Magento version 2.2.1 : https://github.com/AdfabConnect/magento2gdpr However, the install fails and produces the below error ...
0
votes
0answers
11 views

Magento composer uninstalled packages

Am using magento 2.2.2 (CE) version, running on php 7.0 with managed cloud hosting. Earlier i tried to install some packages using composer but same were not installed. but now when i try to install ...
0
votes
0answers
14 views

Magento MEQP1 Composer command Validation Error php shell script

We are using the Magento Extension Quality Program Coding Standard for module validations PSR 1-4 to submit on marketplace. But am facing the issues in ran the below cmd and getting the error. ...