Magento 2.2.2 Upgrade to 2.2.6 Not Latest

I want to upgrade a magento 2.2.2 site to 2.2.6 mainly to fix issues with very slow reindex esp for Catalog Search index when Elasticsearch is being used

I dont want to upgrade to the latest 2.3.2 version as there a alot of issues with various extensions

Please can someone let me know how this can be done with the little amount of fuss – Thank You

Magento 2.2.2 Upgrade to 2.2.6 Not Latest

I want to upgrade a magento 2.2.2 site to 2.2.6 mainly to fix issues with very slow reindex esp for Catalog Search index when Elasticsearch is being used

I dont want to upgrade to the latest 2.3.2 version as there a alot of issues with various extensions

Please can someone let me know how this can be done with the little amount of fuss – Thank You

Magento 2.2.6 Exception message: A wrong PayPal Express Checkout Token is specified

I am getting this issue for few customers in production site. while trying place order in one step checkout with paypal express checkout, its redirecting to the cart page with exception “A wrong PayPal Express Checkout Token is specified.”

I am not getting this issue for all customers, also i am unable to replicate this issue.

Has any one have solution for this issue.

Error while upgrading Magento 2.2.6 to 2.3.1

Now the magento version is 2.2.6 target version is 2.3.1 :

steps we have followed to upgrade :

http://magefoo.com/upgrade-magento-from-2.2.6-to-2.3.0/

In the 8th step i.e ‘composer update’ the error happens :

Current PHP version is 7.0.3 while using this version no error but composer hangs at updating dependencies

I updated the PHP version to 7.1.9 then at composer update step the error happens is :

Problem 1  - The requested package friendsofphp/php-cs-fixer (locked at v2.2.20, required as ~2.10.0) is satisfiable by friendsofphp/php-cs-fixer[v2.2.20] but these conflict with your requirements or minimum-stability. Problem 2  - The requested package sebastian/phpcpd (locked at 2.0.4, required as ~3.0.0) is satisfiable by sebastian/phpcpd[2.0.4] but these conflict with your requirements or minimum-stability. Problem 3  - magento/framework 100.0.20 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.19 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.18 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.17 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.16 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.15 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.14 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.13 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.12 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.11 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.10 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.9 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.8 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.7 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.6 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.5 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.0.4 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.0.3 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.0.2 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.15 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.14 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.1.13 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.12 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.11 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.10 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.9 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.8 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.7 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.6 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.   - magento/framework 100.1.5 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.1.4 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.1.3 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.1.2 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.1.1 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.  - magento/framework 100.1.0 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.30) does not satisfy that requirement.  - php-cuong/magento2-regions-manager 2.2.1 requires magento/framework 100.0.*|100.1.*|101.0.* -> satisfiable by magento/framework[101.0.6, 100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.0.6, 100.0.7, 100.0.8, 100.0.9, 100.1.0, 100.0.10, 100.0.11, 100.1.1, 100.0.12, 100.1.2, 100.1.3, 100.0.13, 100.1.4, 100.0.14, 100.1.5, 100.0.15, 100.1.6, 100.1.7, 100.0.16, 100.0.17, 100.1.8, 100.1.9, 100.0.18, 101.0.0, 100.0.19, 101.0.1, 100.1.10, 100.1.11, 101.0.2, 100.0.20, 100.1.12, 101.0.3, 100.1.13, 101.0.4, 101.0.5, 100.1.14, 100.1.15, 100.1.16, 101.0.7, 100.1.17, 101.0.8, 100.1.18, 101.0.9].   - php-cuong/magento2-regions-manager 2.2.1 requires magento/framework 100.0.*|100.1.*|101.0.* -> satisfiable by magento/framework[101.0.6, 100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.0.6, 100.0.7, 100.0.8, 100.0.9, 100.1.0, 100.0.10, 100.0.11, 100.1.1, 100.0.12, 100.1.2, 100.1.3, 100.0.13, 100.1.4, 100.0.14, 100.1.5, 100.0.15, 100.1.6, 100.1.7, 100.0.16, 100.0.17, 100.1.8, 100.1.9, 100.0.18, 101.0.0, 100.0.19, 101.0.1, 100.1.10, 100.1.11, 101.0.2, 100.0.20, 100.1.12, 101.0.3, 100.1.13, 101.0.4, 101.0.5, 100.1.14, 100.1.15, 100.1.16, 101.0.7, 100.1.17, 101.0.8, 100.1.18, 101.0.9].    - php-cuong/magento2-regions-manager 2.2.1 requires magento/framework 100.0.*|100.1.*|101.0.* -> satisfiable by magento/framework[101.0.6, 100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.0.6, 100.0.7, 100.0.8, 100.0.9, 100.1.0, 100.0.10, 100.0.11, 100.1.1, 100.0.12, 100.1.2, 100.1.3, 100.0.13, 100.1.4, 100.0.14, 100.1.5, 100.0.15, 100.1.6, 100.1.7, 100.0.16, 100.0.17, 100.1.8, 100.1.9, 100.0.18, 101.0.0, 100.0.19, 101.0.1, 100.1.10, 100.1.11, 101.0.2, 100.0.20, 100.1.12, 101.0.3, 100.1.13, 101.0.4, 101.0.5, 100.1.14, 100.1.15, 100.1.16, 101.0.7, 100.1.17, 101.0.8, 100.1.18, 101.0.9].   - Can only install one of: magento/framework[102.0.1, 101.0.6].  - Can only install one of: magento/framework[102.0.1, 101.0.0].  - Can only install one of: magento/framework[102.0.1, 101.0.1].  - Can only install one of: magento/framework[102.0.1, 101.0.2].  - Can only install one of: magento/framework[102.0.1, 101.0.3].  - Can only install one of: magento/framework[102.0.1, 101.0.4].  - Can only install one of: magento/framework[102.0.1, 101.0.5].  - Can only install one of: magento/framework[102.0.1, 101.0.6].  - Can only install one of: magento/framework[102.0.1, 101.0.7].  - Can only install one of: magento/framework[101.0.8, 102.0.1].  - Can only install one of: magento/framework[101.0.9, 102.0.1].  - Can only install one of: magento/framework[101.0.6, 102.0.1].  - Can only install one of: magento/framework[102.0.1, 100.1.16].  - Can only install one of: magento/framework[102.0.1, 100.1.17].  - Can only install one of: magento/framework[100.1.18, 102.0.1].  - magento/product-community-edition 2.3.1 requires magento/framework 102.0.1 -> satisfiable by magento/framework[102.0.1].  - Installation request for magento/product-community-edition 2.3.1 -> satisfiable by magento/product-community-edition[2.3.1].  - Installation request for php-cuong/magento2-regions-manager (locked at 2.2.1, required as *) -> satisfiable by php-cuong/magento2-regions-manager[2.2.1]. 

After that I tried

   composer update --lock 

then the errors is

enter image description here

How should i solve this issues and upgrade my magento version(2.2.6) to the version 2.3.1 ?? Please do respond if anyone knows the solution. Thanks.

Magento 2.2.6 – Mixin does not work

I try to add more KO functions to the Magento_Checkout/template/summary.html

I have an own extension “XXX_Checkout”

For this i do the follow parts:

  1. Create Mixin

/app/code/XXX/Checkout/view/frontend/requirejs-config.js

    var config = {     map: {         '*': {             'Magento_Checkout/js/view/shipping': 'XXX_Checkout/js/view/shipping',             'Magento_Checkout/js/view/payment': 'XXX_Checkout/js/view/payment',             'Magento_Checkout/js/model/shipping-save-processor/default': 'XXX_Checkout/js/model/shipping-save-processor/default',             'Magento_Checkout/template/summary.html': 'XXX_Checkout/template/summary.html'         }     },     config: {         mixins: {             'Magento_Checkout/js/action/set-payment-information': {                 'XXX_Checkout/js/order/set-payment-information-mixin': true             },             'Magento_Checkout/js/view/summary': {                 'XXX_Checkout/js/view/summary-mixin': true             }         }     } }; 

For this i place the original summary.html in my Extension and place some additional code:

/app/code/XXX/Checkout/view/frontend/web/template/summary.html

<div class="opc-block-summary" data-bind="blockLoader: isLoading">     <span data-bind="i18n: 'Order Summary'" class="title"></span>     <!-- ko foreach: elems() -->     <!-- ko template: getTemplate() --><!-- /ko -->     <!-- /ko --> </div>  <!-- ko if: (isVisiblePaymentButton()) --> <div class="actions-toolbar-trigger" id="place-order-trigger-wrapper">     <button type="button" class="button action primary" id="place-order-trigger">         <span><!-- ko i18n: 'Place Order'--><!-- /ko --></span>     </button> </div> <!-- /ko --> 

Now i add the summary-mixin.js

/app/code/Team23/Checkout/view/frontend/web/js/view/summary-mixin.js

define([     'jquery',     'jquery/ui',     'ko',     'Magento_Checkout/js/model/step-navigator' ], function($  , ui, ko, stepNavigator){     'use strict';     var mixin = {         isVisibleShippingButton: function () {             return !stepNavigator.getActiveItemIndex();         },          isVisiblePaymentButton: function () {             return stepNavigator.getActiveItemIndex();         },          initialize: function () {             var self = this;              $  (function() {                 $  ('body').on('click', '#place-order-trigger', function () {                     $  ('.payment-method._active').find('.action.primary.checkout').trigger('click');                 });             });              this._super();         }     };      return function (target) {         return target.extend(mixin);     }; }); 

After build and cache clean i get this error in my console:

knockout.js:3012 Uncaught ReferenceError: Unable to process binding "if: function(){return (isVisiblePaymentButton()) }" Message: isVisiblePaymentButton is not defined     at if (eval at createBindingsStringEvaluator (knockout.js:2624),  

So i think, the mixin is not working.

What is wrong?

Best regards Andre

Unable to serialize value problem with Magento 2.2.6

Please teach in order to solve the problem.

cd /vagrant sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy sudo php bin/magento setup:static-content:deploy ja_JP sudo php bin/magento cache:flush; sudo php bin/magento cache:clean sudo php bin/magento indexer:reindex sudo find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + sudo find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + sudo chown -R :www-data . sudo chmod u+x bin/magento 

1 exception(s): Exception #0 (InvalidArgumentException): Unable to serialize value.

Exception #0 (InvalidArgumentException): Unable to serialize value. #0 /vagrant/vendor/magento/framework/App/PageCache/Kernel.php(153): 

Magento\Framework\Serialize\Serializer\Json->serialize(Array) #1 /vagrant/vendor/magento/module-page-cache/Model/Controller/Result/BuiltinPlugin.php(96): Magento\Framework\App\PageCache\Kernel->process(Object(Magento\Framework\App\Response\Http\Interceptor)) #2 /vagrant/vendor/magento/framework/Interception/Interceptor.php(146): Magento\PageCache\Model\Controller\Result\BuiltinPlugin->afterRenderResult(Object(Magento\Framework\View\Result\Page\Interceptor), Object(Magento\Framework\View\Result\Page\Interceptor), Object(Magento\Framework\App\Response\Http\Interceptor)) #3 /vagrant/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #4 /vagrant/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): Magento\Framework\View\Result\Page\Interceptor->___callPlugins(‘renderResult’, Array, Array) #5 /vagrant/vendor/magento/framework/App/Http.php(139): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #6 /vagrant/vendor/magento/framework/App/Bootstrap.php(257): Magento\Framework\App\Http->launch() #7 /vagrant/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #8 {main}

Upgrading from Magento 2.2.6 to 2.3.1 broke credit memo partial refund functionality

In credit memo, there is a field “Adjustment Refund” on the bottom. Before upgrading to 2.3.1 If I entered a value in this field, there was an “Update Totals” Button which would update total. But after upgrading to 2.3.1 this button does not appear. Attaching screenshots for more details.

Credit Memo Broken[![][1]]2