https://github.com/flancer32/mage2_fix_is12655
Fix for 500 error in Mage 2.2.2 (issue 12655)
https://github.com/flancer32/mage2_fix_is12655
Last synced: about 1 year ago
JSON representation
Fix for 500 error in Mage 2.2.2 (issue 12655)
- Host: GitHub
- URL: https://github.com/flancer32/mage2_fix_is12655
- Owner: flancer32
- License: gpl-3.0
- Created: 2018-02-16T07:33:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T08:30:06.000Z (over 8 years ago)
- Last Synced: 2024-08-09T21:14:02.044Z (almost 2 years ago)
- Language: PHP
- Size: 16.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mage2_fix_is12655
Standalone fix for [ISSUE-12655](https://github.com/magento/magento2/issues/12655): Checkout/Cart visit results in error (500) after update 2.2.1 -> 2.2.2
## Install
```bash
$ cd ${DIR_MAGE_ROOT}
$ composer require flancer32/mage2_fix_is12655
$ bin/magento module:enable Flancer32_FixIs12655
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento setup:static-content:deploy
$ bin/magento cache:clean
$
```
## Uninstall
You need an authentication keys for `https://repo.magento.com/` to uninstall any Magento 2 module. Go to your [Magento](https://marketplace.magento.com/customer/accessKeys/) account, section (My Profile / Marketplace / Access Keys) and generate pair of keys to connect to Magento 2 repository. Then place composer authentication file `auth.json` besides your `composer.json` as described [here](https://getcomposer.org/doc/articles/http-basic-authentication.md) and put your authentication keys for `https://repo.magento.com/` into the authentication file:
```json
{
"http-basic": {
"repo.magento.com": {
"username": "...",
"password": "..."
}
}
}
```
Then run these commands to completely uninstall `Flancer32_FixIs12655` module:
```bash
$ cd ${DIR_MAGE_ROOT}
$ bin/magento module:uninstall Flancer32_FixIs12655
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento setup:static-content:deploy
$ bin/magento cache:clean
```
Be patient, uninstall process (`bin/magento module:uninstall ...`) takes about 2-4 minutes. Remove `auth.json` file at the end:
```bash
$ rm ./auth.json
```