Magento 2.2.6: Programatically updating product custom options

I am working on custom script to update product custom options.

 $  objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $  _product = $  objectManager->create('Magento\Catalog\Api\ProductRepositoryInterface')->get($  sku,true); $  customOptions = $  objectManager->get('Magento\Catalog\Model\Product\Option')->getProductOptionCollection($  _product); if(isset($  customOptions) && !empty($  customOptions)){     foreach($  customOptions as $  customOption):         if($  customOption->getTitle()=='Custom'){                                         $  customOption->delete();                                                     }                                    endforeach;                          } $  _product->save(); 

When We save product to update it shows error below error –

 PHP Fatal error:  Uncaught Magento\Framework\Exception\NoSuchEntityException: No such entity. in /home/dermpro/m2-customer3.dermpro.com/vendor/magento/module-catalog/Model/Product/Option/Repository.php:170 Stack trace: #0 /home/dermpro/m2-customer3.dermpro.com/vendor/magento/module-catalog/Model/Product/Option/SaveHandler.php(56): Magento\Catalog\Model\Product\Option\Repository->save(Object(Magento\Catalog\Model\Product\Option)) #1 /home/dermpro/m2-customer3.dermpro.com/vendor/magento/framework/EntityManager/Operation/Update/UpdateExtensions.php(49): Magento\Catalog\Model\Product\Option\SaveHandler->execute(Object(Magento\Catalog\Model\Product\Interceptor), Array) #2 /home/dermpro/m2-customer3.dermpro.com/vendor/magento/framework/EntityManager/Operation/Update.php(109): Magento\Framework\EntityManager\Operation\Update\UpdateExtensions->execute(Object(Magento\Catalog\Model\Product\Interceptor), Array) #3 /home/dermpro/m2-customer3.dermpro.com/vendor/magento/framework/EntityManager/EntityManager.php(96): Magento\Framework\Entity in /home/dermpro/m2-customer3.dermpro.com/vendor/magento/module-catalog/Model/Product/Option/Repository.php on line 170 

Any one go through this type of issue?

Geting Error In Checkout Page Magento 2.2.6

I Getting This Error On My Checkout page in magento 2.2.6 Version. When I Open error_log File From public_html Directory Then Here Showing this message `

/home/khalis/public_html/vendor/magento/framework/Stdlib/BooleanUtils.php:64

` AnyOne Can Help Me To Fix This Problem

Here The Error

    1 exception(s): Exception #0 (InvalidArgumentException): Boolean value is expected, supported values: array (   0 => true,   1 => 1,   2 => 'true',   3 => '1',   4 => false,   5 => 0,   6 => 'false',   7 => '0', )  Exception #0 (InvalidArgumentException): Boolean value is expected, supported values: array (   0 => true,   1 => 1,   2 => 'true',   3 => '1',   4 => false,   5 => 0,   6 => 'false',   7 => '0', ) #0 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Boolean.php(40): Magento\Framework\Stdlib\BooleanUtils->toBoolean('fasle') #1 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\Interpreter\Boolean->evaluate(Array) #2 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #3 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #4 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #5 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #6 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #7 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #8 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #9 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #10 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #11 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #12 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #13 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #14 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #15 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #16 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #17 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #18 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #19 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #20 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #21 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #22 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #23 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #24 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #25 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #26 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #27 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #28 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #29 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #30 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #31 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #32 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #33 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #34 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #35 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #36 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #37 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #38 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #39 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #40 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #41 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #42 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #43 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #44 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Block.php(370): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #45 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Block.php(169): Magento\Framework\View\Layout\Reader\Block->evaluateArguments(Object(Magento\Framework\View\Layout\Element), Array) #46 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Block.php(138): Magento\Framework\View\Layout\Reader\Block->scheduleBlock(Object(Magento\Framework\View\Layout\ScheduledStructure), Object(Magento\Framework\View\Layout\Element)) #47 /home/khalis/public_html/vendor/magento/framework/View/Layout/ReaderPool.php(105): Magento\Framework\View\Layout\Reader\Block->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element), Object(Magento\Framework\View\Layout\Element)) #48 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Container.php(89): Magento\Framework\View\Layout\ReaderPool->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element)) #49 /home/khalis/public_html/vendor/magento/framework/View/Layout/ReaderPool.php(105): Magento\Framework\View\Layout\Reader\Container->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element), Object(Magento\Framework\View\Layout\Element)) #50 /home/khalis/public_html/vendor/magento/framework/View/Page/Config/Reader/Body.php(68): Magento\Framework\View\Layout\ReaderPool->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element)) #51 /home/khalis/public_html/vendor/magento/framework/View/Layout/ReaderPool.php(105): Magento\Framework\View\Page\Config\Reader\Body->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element), Object(Magento\Framework\View\Layout\Element)) #52 /home/khalis/public_html/vendor/magento/framework/View/Layout.php(325): Magento\Framework\View\Layout\ReaderPool->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element)) #53 /home/khalis/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(89): Magento\Framework\View\Layout->generateElements() #54 /home/khalis/public_html/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements() #55 /home/khalis/public_html/vendor/magento/framework/View/Page/Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks() #56 /home/khalis/public_html/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks() #57 /home/khalis/public_html/vendor/magento/framework/View/Page/Config.php(208): Magento\Framework\View\Layout\Builder->build() #58 /home/khalis/public_html/vendor/magento/framework/View/Page/Config.php(228): Magento\Framework\View\Page\Config->build() #59 /home/khalis/public_html/app/code/IWD/Opc/Controller/Index/Index.php(62): Magento\Framework\View\Page\Config->getTitle() #60 /home/khalis/public_html/generated/code/IWD/Opc/Controller/Index/Index/Interceptor.php(37): IWD\Opc\Controller\Index\Index->execute() #61 /home/khalis/public_html/vendor/magento/framework/App/Action/Action.php(107): IWD\Opc\Controller\Index\Index\Interceptor->execute() #62 /home/khalis/public_html/app/code/IWD/Opc/Controller/Index/Index.php(25): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #63 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(58): IWD\Opc\Controller\Index\Index->dispatch(Object(Magento\Framework\App\Request\Http)) #64 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(138): IWD\Opc\Controller\Index\Index\Interceptor->___callParent('dispatch', Array) #65 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(153): IWD\Opc\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #66 /home/khalis/public_html/generated/code/IWD/Opc/Controller/Index/Index/Interceptor.php(26): IWD\Opc\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array) #67 /home/khalis/public_html/vendor/magento/framework/App/FrontController.php(55): IWD\Opc\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #68 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #69 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #70 /home/khalis/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #71 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #72 /home/khalis/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #73 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #74 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #75 /home/khalis/public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL) #76 /home/khalis/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #77 /home/khalis/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #78 /home/khalis/public_html/vendor/magento/framework/App/Bootstrap.php(257): Magento\Framework\App\Http\Interceptor->launch() #79 /home/khalis/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #80 {main} 

BooleanUtils.php Code

<?php /**  * Copyright © Magento, Inc. All rights reserved.  * See COPYING.txt for license details.  */ namespace Magento\Framework\Stdlib;  /**  * Utility methods for the boolean data type  *  * @api  */ class BooleanUtils {     /**      * Expressions that mean boolean TRUE      *      * @var array      */     private $  trueValues;      /**      * Expressions that mean boolean FALSE      *      * @var array      */     private $  falseValues;      /**      * @param array $  trueValues      * @param array $  falseValues      * @codingStandardsIgnoreStart      */     public function __construct(         array $  trueValues = [true, 1, 'true', '1'],         array $  falseValues = [false, 0, 'false', '0']     ) {         $  this->trueValues = $  trueValues;         $  this->falseValues = $  falseValues;     }      // @codingStandardsIgnoreEnd      /**      * Retrieve boolean value for an expression      *      * @param mixed $  value Boolean expression      * @return bool      * @throws \InvalidArgumentException      */     public function toBoolean($  value)     {         /**          * Built-in function filter_var() is not used, because such values as on/off are irrelevant in some contexts          * @link http://www.php.net/manual/en/filter.filters.validate.php          */         if (in_array($  value, $  this->trueValues, true)) {             return true;         }         if (in_array($  value, $  this->falseValues, true)) {             return false;         }         $  allowedValues = array_merge($  this->trueValues, $  this->falseValues);         throw new \InvalidArgumentException(             'Boolean value is expected, supported values: ' . var_export($  allowedValues, true)         );     }      /**      * Try to convert $  value to boolean else return non processed $  value      *      * @param mixed $  value      * @return mixed      * @since 100.2.0      */     public function convert($  value)     {         if (in_array($  value, $  this->trueValues, true)) {             return true;         } elseif (in_array($  value, $  this->falseValues, true)) {             return false;         } else {             return $  value;         }     } } 

Magento 2.2.6: Error after upgrading to Magento 2.3.0

Just updated from M2.2.6 to M2.3.0, everything seemed to go without a hitch, but after loading the front-end of the website I’m seeing the following error:

Exception #0 (BadMethodCallException): Missing required argument $ variablePluginConfigProvider of Magento\Cms\Model\Wysiwyg\CompositeConfigProvider.

Here’s the full error:

Exception #0 (BadMethodCallException): Missing required argument  $  variablePluginConfigProvider of  Magento\Cms\Model\Wysiwyg\CompositeConfigProvider. #0 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\Dynamic\Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\Cms\Mod...', Array, Array) #1 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\Dynamic\Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Cms\Mod...', Array, Array) #2 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Cms\Mod...') #3 C:\xampp\htdocs\m2\vendor\magento\module-cms\Model\Wysiwyg\Config.php(157): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Cms\Mod...') #4 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\AbstractFactory.php(116): Magento\Cms\Model\Wysiwyg\Config->__construct(Object(Magento\Backend\Model\Url), Object(Magento\Framework\Event\Manager\Proxy), Object(Magento\Framework\Authorization\Interceptor), Object(Magento\Framework\View\Asset\Repository), Object(Magento\Variable\Model\Variable\Config), Object(Magento\Widget\Model\Widget\Config), Object(Magento\Framework\App\Config), Object(Magento\Store\Model\StoreManager), Object(Magento\Framework\Filesystem), Array, Array, NULL) #5 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\Dynamic\Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Cms\Mod...', Array) #6 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Cms\Mod...') #7 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Cms\Mod...') #8 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Cms\Mod...', NULL, 'wysiwygConfig', 'Plumrocket\RMA\...') #9 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\Dynamic\Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Plumrocket\RMA\...', Array, Array) #10 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\Dynamic\Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Plumrocket\RMA\...', Array, Array) #11 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Plumrocket\RMA\...') #12 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Plumrocket\RMA\...') #13 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Plumrocket\RMA\...', NULL, 'dataHelper', 'Plumrocket\RMA\...') #14 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\Dynamic\Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Plumrocket\RMA\...', Array, Array) #15 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\Factory\Dynamic\Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Plumrocket\RMA\...', Array, Array) #16 C:\xampp\htdocs\m2\vendor\magento\framework\ObjectManager\ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Plumrocket\RMA\...') #17 C:\xampp\htdocs\m2\vendor\magento\framework\Event\ObserverFactory.php(33): Magento\Framework\ObjectManager\ObjectManager->get('Plumrocket\RMA\...') #18 C:\xampp\htdocs\m2\vendor\magento\framework\Event\Invoker\InvokerDefault.php(58): Magento\Framework\Event\ObserverFactory->get('Plumrocket\RMA\...') #19 C:\xampp\htdocs\m2\vendor\magento\framework\Event\Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #20 C:\xampp\htdocs\m2\generated\code\Magento\Framework\Event\Manager\Proxy.php(95): Magento\Framework\Event\Manager->dispatch('view_block_abst...', Array) #21 C:\xampp\htdocs\m2\vendor\magento\framework\View\Element\AbstractBlock.php(653): Magento\Framework\Event\Manager\Proxy->dispatch('view_block_abst...', Array) #22 C:\xampp\htdocs\m2\vendor\magento\framework\View\Result\Page.php(249): Magento\Framework\View\Element\AbstractBlock->toHtml() #23 C:\xampp\htdocs\m2\vendor\magento\framework\View\Result\Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #24 C:\xampp\htdocs\m2\vendor\magento\framework\Interception\Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #25 C:\xampp\htdocs\m2\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #26 C:\xampp\htdocs\m2\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #27 C:\xampp\htdocs\m2\generated\code\Magento\Framework\View\Result\Page\Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #28 C:\xampp\htdocs\m2\vendor\magento\framework\App\Http.php(139): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #29 C:\xampp\htdocs\m2\generated\code\Magento\Framework\App\Http\Interceptor.php(24): Magento\Framework\App\Http->launch() #30 C:\xampp\htdocs\m2\vendor\magento\framework\App\Bootstrap.php(258): Magento\Framework\App\Http\Interceptor->launch() #31 C:\xampp\htdocs\m2\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #32 {main} 

Any ideas what exactly could be missing?

Error when upgrading from 2.2.6 to 2.2.7

I’m trying to upgrade 2.2.6

When I run the web setup wizard I get this response.

Check Component Dependency

We found conflicting component dependencies.

Command “update” failed: Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1 – magento/product-community-edition 2.2.7 requires composer/composer 1.4.1 -> satisfiable by composer/composer[1.4.1]. – magento/product-community-edition 2.2.7 requires composer/composer 1.4.1 -> satisfiable by composer/composer[1.4.1]. – Conclusion: don’t install composer/composer 1.4.1 – Installation request for magento/product-community-edition 2.2.7 -> satisfiable by magento/product-community-edition[2.2.7].

When I try the command line upgrade I just get memory errors due to forkbomb protection.

My composer version is 1.6.4 so newer than 1.4.1

The site is on shared hosting so I can’t downgrade or upgrade composer.

System role “Magento_Braintree::get_client_token” not found – Magento 2.2.6

Below URL throws the permission issue

https://host/admin/braintree/payment/getClientToken/key/c21228d08eaede792c0256b56e18c861d90c4598adae24e63f6fcc8ea8325e0d/?isAjax=true

Sorry, you need permissions to view this content.

While debugging, I see the below admin resource in vendor/magento/module-braintree/Controller/Adminhtml/Payment/GetClientToken.php

const ADMIN_RESOURCE = ‘Magento_Braintree::get_client_token’;

I don’t see this role in anywhere in acl.xml and admin system role.

is this bug?

Improving server response times for magento 2.2.6

Is there a list of which apache 2.2.4 modules are necessary for the smoot running of magento 2.2.6?

I am trying to improve server response times and would like to disable unnecesary apache modules. Here is a list of the apache modules currently loaded on my server:

  1. access_compat_module (shared)
  2. actions_module (shared)
  3. alias_module (shared)
  4. auth_basic_module (shared)
  5. authn_core_module (shared)
  6. authn_file_module (shared)
  7. authz_core_module (shared)
  8. authz_groupfile_module (shared)
  9. authz_host_module (shared)
  10. authz_user_module (shared)
  11. autoindex_module (shared)
  12. bwlimited_module (shared)
  13. cgi_module (shared)
  14. core_module (static)
  15. deflate_module (shared)
  16. dir_module (shared)
  17. expires_module (shared)
  18. filter_module (shared)
  19. headers_module (shared)
  20. http_module (static)
  21. include_module (shared)
  22. Loaded Modules:
  23. log_config_module (shared)
  24. logio_module (shared)
  25. mime_module (shared)
  26. mpm_prefork_module (shared)
  27. negotiation_module (shared)
  28. proxy_fcgi_module (shared)
  29. proxy_http_module (shared)
  30. proxy_module (shared)
  31. proxy_wstunnel_module (shared)
  32. rewrite_module (shared)
  33. ruid2_module (shared)
  34. security2_module (shared)
  35. setenvif_module (shared)
  36. slotmem_shm_module (shared)
  37. socache_dbm_module (shared)
  38. socache_shmcb_module (shared)
  39. so_module (static)
  40. ssl_module (shared)
  41. status_module (shared)
  42. unique_id_module (shared)
  43. unixd_module (shared)
  44. userdir_module (shared)
  45. version_module (shared)

Which of these can be safely disabled? Any help will be most appreciated.

Running Magento 2.2.6, Centos 6, Apache 2.4.4, PHP 7.0

2.2.6 New product form fields disappeared

The problem is I am unable to reproduce this. Suddenly the product entry fields disappeared which resulted in inability to create products. Only thing that I did was install Wyomind Elastic Search which required me to execute composer require guzzlehttp/guzzle and guzzlehttp/ring.

But I disable and remove the extension and the composer packages as well and also disabled and removed all of the installed extensions. Couldn’t solve this issue. Only thing I did was restore from previous day backup. I am still not sure what could have caused this issue.

Any pointers to this issues would be appreciated. enter image description here

Geting Error In Checkout Page Magento 2.2.6

AnyOne Tells me How to fix this issue This error showing in Only Checkout page.

1 exception(s): Exception #0 (InvalidArgumentException): Boolean value is expected, supported values: array (   0 => true,   1 => 1,   2 => 'true',   3 => '1',   4 => false,   5 => 0,   6 => 'false',   7 => '0', )  Exception #0 (InvalidArgumentException): Boolean value is expected, supported values: array (   0 => true,   1 => 1,   2 => 'true',   3 => '1',   4 => false,   5 => 0,   6 => 'false',   7 => '0', ) #0 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Boolean.php(40): Magento\Framework\Stdlib\BooleanUtils->toBoolean('fasle') #1 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\Interpreter\Boolean->evaluate(Array) #2 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #3 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #4 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #5 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #6 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #7 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #8 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #9 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #10 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #11 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #12 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #13 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #14 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #15 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #16 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #17 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #18 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #19 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #20 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #21 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #22 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #23 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #24 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #25 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #26 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #27 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #28 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #29 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #30 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #31 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #32 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #33 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #34 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #35 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #36 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #37 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #38 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #39 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #40 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #41 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/ArrayType.php(44): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #42 /home/khalis/public_html/generated/code/Magento/Framework/Data/Argument/InterpreterInterface/Proxy.php(95): Magento\Framework\Data\Argument\Interpreter\ArrayType->evaluate(Array) #43 /home/khalis/public_html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Framework\Data\Argument\InterpreterInterface\Proxy->evaluate(Array) #44 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Block.php(370): Magento\Framework\Data\Argument\Interpreter\Composite->evaluate(Array) #45 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Block.php(169): Magento\Framework\View\Layout\Reader\Block->evaluateArguments(Object(Magento\Framework\View\Layout\Element), Array) #46 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Block.php(138): Magento\Framework\View\Layout\Reader\Block->scheduleBlock(Object(Magento\Framework\View\Layout\ScheduledStructure), Object(Magento\Framework\View\Layout\Element)) #47 /home/khalis/public_html/vendor/magento/framework/View/Layout/ReaderPool.php(105): Magento\Framework\View\Layout\Reader\Block->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element), Object(Magento\Framework\View\Layout\Element)) #48 /home/khalis/public_html/vendor/magento/framework/View/Layout/Reader/Container.php(89): Magento\Framework\View\Layout\ReaderPool->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element)) #49 /home/khalis/public_html/vendor/magento/framework/View/Layout/ReaderPool.php(105): Magento\Framework\View\Layout\Reader\Container->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element), Object(Magento\Framework\View\Layout\Element)) #50 /home/khalis/public_html/vendor/magento/framework/View/Page/Config/Reader/Body.php(68): Magento\Framework\View\Layout\ReaderPool->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element)) #51 /home/khalis/public_html/vendor/magento/framework/View/Layout/ReaderPool.php(105): Magento\Framework\View\Page\Config\Reader\Body->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element), Object(Magento\Framework\View\Layout\Element)) #52 /home/khalis/public_html/vendor/magento/framework/View/Layout.php(325): Magento\Framework\View\Layout\ReaderPool->interpret(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Element)) #53 /home/khalis/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(89): Magento\Framework\View\Layout->generateElements() #54 /home/khalis/public_html/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements() #55 /home/khalis/public_html/vendor/magento/framework/View/Page/Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks() #56 /home/khalis/public_html/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks() #57 /home/khalis/public_html/vendor/magento/framework/View/Page/Config.php(208): Magento\Framework\View\Layout\Builder->build() #58 /home/khalis/public_html/vendor/magento/framework/View/Page/Config.php(228): Magento\Framework\View\Page\Config->build() #59 /home/khalis/public_html/app/code/IWD/Opc/Controller/Index/Index.php(62): Magento\Framework\View\Page\Config->getTitle() #60 /home/khalis/public_html/generated/code/IWD/Opc/Controller/Index/Index/Interceptor.php(37): IWD\Opc\Controller\Index\Index->execute() #61 /home/khalis/public_html/vendor/magento/framework/App/Action/Action.php(107): IWD\Opc\Controller\Index\Index\Interceptor->execute() #62 /home/khalis/public_html/app/code/IWD/Opc/Controller/Index/Index.php(25): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #63 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(58): IWD\Opc\Controller\Index\Index->dispatch(Object(Magento\Framework\App\Request\Http)) #64 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(138): IWD\Opc\Controller\Index\Index\Interceptor->___callParent('dispatch', Array) #65 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(153): IWD\Opc\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #66 /home/khalis/public_html/generated/code/IWD/Opc/Controller/Index/Index/Interceptor.php(26): IWD\Opc\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array) #67 /home/khalis/public_html/vendor/magento/framework/App/FrontController.php(55): IWD\Opc\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #68 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #69 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #70 /home/khalis/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #71 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #72 /home/khalis/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #73 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #74 /home/khalis/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #75 /home/khalis/public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL) #76 /home/khalis/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #77 /home/khalis/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #78 /home/khalis/public_html/vendor/magento/framework/App/Bootstrap.php(257): Magento\Framework\App\Http\Interceptor->launch() #79 /home/khalis/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #80 {main} 

How to Customize Checkout Page In Magento 2.2.6 Using checkout_index_index.xml

Any Magento Expert Developer Can Help Me In Modify Magento Checkout Page. I Want To Change Checkout Form Default To Like That Showing In Picture.enter image description here

Here’s The Code Of checkout_index_index.xml

public_html/vendor/magento/module-checkout/view/frontend/layout

        <referenceContainer name="content">             <block class="Magento\Checkout\Block\Onepage" name="checkout.root" template="Magento_Checkout::onepage.phtml" cacheable="false">                 <arguments>                     <argument name="jsLayout" xsi:type="array">                         <item name="types" xsi:type="array">                             <item name="form.input" xsi:type="array">                                 <item name="component" xsi:type="string">Magento_Ui/js/form/element/abstract</item>                                 <item name="config" xsi:type="array">                                     <item name="provider" xsi:type="string">checkoutProvider</item>                                     <item name="deps" xsi:type="array">                                         <item name="0" xsi:type="string">checkoutProvider</item>                                     </item>                                     <item name="template" xsi:type="string">ui/form/field</item>                                     <item name="elementTmpl" xsi:type="string">ui/form/element/input</item>                                 </item>                             </item>                         </item>                         <item name="components" xsi:type="array">                             <item name="checkout" xsi:type="array">                                 <item name="component" xsi:type="string">uiComponent</item>                                 <item name="config" xsi:type="array">                                     <item name="template" xsi:type="string">Magento_Checkout/onepage</item>                                 </item>                                 <item name="children" xsi:type="array">                                     <item name="errors" xsi:type="array">                                         <item name="sortOrder" xsi:type="string">0</item>                                         <item name="component" xsi:type="string">Magento_Ui/js/view/messages</item>                                         <item name="displayArea" xsi:type="string">messages</item>                                     </item>                                     <item name="authentication" xsi:type="array">                                         <item name="sortOrder" xsi:type="string">1</item>                                         <item name="component" xsi:type="string">Magento_Checkout/js/view/authentication</item>                                         <item name="displayArea" xsi:type="string">authentication</item>                                         <item name="children" xsi:type="array">                                             <!--Additional authentication fields-->                                             <item name="errors" xsi:type="array">                                                 <item name="sortOrder" xsi:type="string">0</item>                                                 <item name="component" xsi:type="string">Magento_Checkout/js/view/authentication-messages</item>                                                 <item name="displayArea" xsi:type="string">messages</item>                                             </item>                                         </item>                                     </item>                                     <item name="progressBar" xsi:type="array">                                         <item name="sortOrder" xsi:type="string">0</item>                                         <item name="component" xsi:type="string">Magento_Checkout/js/view/progress-bar</item>                                         <item name="displayArea" xsi:type="string">progressBar</item>                                         <item name="config" xsi:type="array">                                             <item name="deps" xsi:type="array">                                                 <item name="0" xsi:type="string">checkout.steps.shipping-step.shippingAddress</item>                                                 <item name="1" xsi:type="string">checkout.steps.billing-step.payment</item>                                             </item>                                         </item>                                     </item>                                     <item name="estimation" xsi:type="array">                                         <item name="sortOrder" xsi:type="string">10</item>                                         <item name="component" xsi:type="string">Magento_Checkout/js/view/estimation</item>                                         <item name="displayArea" xsi:type="string">estimation</item>                                         <item name="config" xsi:type="array">                                             <item name="template" xsi:type="string">Magento_Checkout/estimation</item>                                             <item name="deps" xsi:type="array">                                                 <item name="0" xsi:type="string">checkout.sidebar</item>                                             </item>                                         </item>                                     </item>                                     <item name="steps" xsi:type="array">                                         <item name="component" xsi:type="string">uiComponent</item>                                         <item name="displayArea" xsi:type="string">steps</item>                                         <item name="children" xsi:type="array">                                             <item name="shipping-step" xsi:type="array">                                                 <item name="component" xsi:type="string">uiComponent</item>                                                 <item name="sortOrder" xsi:type="string">1</item>                                                 <item name="children" xsi:type="array">                                                     <item name="step-config" xsi:type="array">                                                         <item name="component" xsi:type="string">uiComponent</item>                                                         <item name="children" xsi:type="array">                                                             <item name="shipping-rates-validation" xsi:type="array">                                                                 <item name="children" xsi:type="array">                                                                     <!--Step configuration components-->                                                                 </item>                                                             </item>                                                         </item>                                                     </item>                                                     <item name="shippingAddress" xsi:type="array">                                                         <item name="config" xsi:type="array">                                                             <item name="deps" xsi:type="array">                                                                 <item name="0" xsi:type="string">checkout.steps.shipping-step.step-config</item>                                                                 <item name="1" xsi:type="string">checkoutProvider</item>                                                             </item>                                                             <item name="popUpForm" xsi:type="array">                                                                 <item name="element" xsi:type="string">#opc-new-shipping-address</item>                                                                 <item name="options" xsi:type="array">                                                                     <item name="type" xsi:type="string">popup</item>                                                                     <item name="responsive" xsi:type="boolean">true</item>                                                                     <item name="innerScroll" xsi:type="boolean">true</item>                                                                     <item name="title" xsi:type="string" translate="true">Shipping Address</item>                                                                     <item name="trigger" xsi:type="string">opc-new-shipping-address</item>                                                                     <item name="buttons" xsi:type="array">                                                                         <item name="save" xsi:type="array">                                                                             <item name="text" xsi:type="string" translate="true">Save Address</item>                                                                             <item name="class" xsi:type="string">action primary action-save-address</item>                                                                         </item>                                                                         <item name="cancel" xsi:type="array">                                                                             <item name="text" xsi:type="string" translate="true">Cancel</item>                                                                             <item name="class" xsi:type="string">action secondary action-hide-popup</item>                                                                         </item>                                                                     </item>                                                                 </item>                                                             </item>                                                         </item>                                                         <item name="component" xsi:type="string">Magento_Checkout/js/view/shipping</item>                                                         <item name="provider" xsi:type="string">checkoutProvider</item>                                                         <item name="sortOrder" xsi:type="string">1</item>                                                         <item name="children" xsi:type="array">                                                             <item name="customer-email" xsi:type="array">                                                                 <item name="component" xsi:type="string">Magento_Checkout/js/view/form/element/email</item>                                                                 <item name="displayArea" xsi:type="string">customer-email</item>                                                                 <item name="tooltip" xsi:type="array">                                                                     <item name="description" xsi:type="string" translate="true">We'll send your order confirmation here.</item>                                                                 </item>                                                                 <item name="children" xsi:type="array">                                                                     <item name="before-login-form" xsi:type="array">                                                                         <item name="component" xsi:type="string">uiComponent</item>                                                                         <item name="displayArea" xsi:type="string">before-login-form</item>                                                                         <item name="children" xsi:type="array">                                                                             <!-- before login form fields -->                                                                         </item>                                                                     </item>                                                                     <item name="additional-login-form-fields" xsi:type="array">                                                                         <item name="component" xsi:type="string">uiComponent</item>                                                                         <item name="displayArea" xsi:type="string">additional-login-form-fields</item>                                                                         <item name="children" xsi:type="array">                                                                             <!-- additional login form fields -->                                                                         </item>                                                                     </item>                                                                 </item>                                                             </item>                                                             <item name="before-form" xsi:type="array">                                                                 <item name="component" xsi:type="string">uiComponent</item>                                                                 <item name="displayArea" xsi:type="string">before-form</item>                                                                 <item name="children" xsi:type="array">                                                                     <!-- before form fields -->                                                                 </item>                                                             </item>                                                             <item name="before-fields" xsi:type="array">                                                                 <item name="component" xsi:type="string">uiComponent</item>                                                                 <item name="displayArea" xsi:type="string">before-fields</item>                                                                 <item name="children" xsi:type="array">                                                                     <!-- before fields -->                                                                 </item>                                                             </item>                                                             <item name="address-list" xsi:type="array">                                                                 <item name="component" xsi:type="string">Magento_Checkout/js/view/shipping-address/list</item>                                                                 <item name="displayArea" xsi:type="string">address-list</item>                                                             </item>                                                             <item name="address-list-additional-addresses" xsi:type="array">                                                                 <item name="component" xsi:type="string">uiComponent</item>                                                                 <item name="displayArea" xsi:type="string">address-list-additional-addresses</item>                                                                 <item name="children" xsi:type="array">                                                                     <!-- address-list-additional-addresses -->                                                                 </item>                                                             </item>                                                             <item name="before-shipping-method-form" xsi:type="array">                                                                 <item name="component" xsi:type="string">uiComponent</item>                                                                 <item name="displayArea" xsi:type="string">before-shipping-method-form</item>                                                                 <item name="children" xsi:type="array">                                                                     <!-- address-list-additional-addresses -->                                                                 </item>                                                             </item>                                                             <item name="shipping-address-fieldset" xsi:type="array">                                                                 <item name="component" xsi:type="string">uiComponent</item>                                                                 <item name="config" xsi:type="array">                                                                     <item name="deps" xsi:type="array">                                                                         <item name="0" xsi:type="string">checkoutProvider</item>                                                                     </item>                                                                 </item>                                                                 <item name="displayArea" xsi:type="string">additional-fieldsets</item>                                                                 <item name="children" xsi:type="array">                                                                     <!-- The following items override configuration of corresponding address attributes -->                                                                     <item name="region" xsi:type="array">                                                                         <!-- Make region attribute invisible on frontend. Corresponding input element is created by region_id field -->                                                                         <item name="visible" xsi:type="boolean">false</item>                                                                     </item>                                                                     <item name="region_id" xsi:type="array">                                                                         <item name="component" xsi:type="string">Magento_Ui/js/form/element/region</item>                                                                         <item name="config" xsi:type="array">                                                                             <item name="template" xsi:type="string">ui/form/field</item>                                                                             <item name="elementTmpl" xsi:type="string">ui/form/element/select</item>                                                                             <item name="customEntry" xsi:type="string">shippingAddress.region</item>                                                                         </item>                                                                         <item name="validation" xsi:type="array">                                                                             <item name="required-entry" xsi:type="boolean">true</item>                                                                         </item>                                                                         <!-- Value of region_id field is filtered by the value of county_id attribute -->                                                                         <item name="filterBy" xsi:type="array">                                                                             <item name="target" xsi:type="string"><![CDATA[$  { $  .provider }:$  { $  .parentScope }.country_id]]></item>                                                                             <item name="field" xsi:type="string">country_id</item>                                                                         </item>                                                                     </item>                                                                     <item name="postcode" xsi:type="array">                                                                         <!-- post-code field has custom UI component -->                                                                         <item name="component" xsi:type="string">Magento_Ui/js/form/element/post-code</item>                                                                         <item name="validation" xsi:type="array">                                                                             <item name="required-entry" xsi:type="boolean">false</item>                                                                         </item>                                                                     </item>                                                                     <item name="company" xsi:type="array">                                                                         <item name="validation" xsi:type="array">                                                                             <item name="min_text_length" xsi:type="number">0</item>                                                                         </item>                                                                     </item>                                                                     <item name="fax" xsi:type="array">                                                                         <item name="validation" xsi:type="array">                                                                             <item name="min_text_length" xsi:type="number">0</item>                                                                         </item>                                                                     </item>                                                                     <item name="country_id" xsi:type="array">                                                                         <item name="sortOrder" xsi:type="string">115</item>                                                                     </item>                                                                     <item name="telephone" xsi:type="array">                                                                         <item name="config" xsi:type="array">                                                                             <item name="tooltip" xsi:type="array">                                                                                 <item name="description" xsi:type="string" translate="true">For delivery questions.</item>                                                                             </item>                                                                         </item>                                                                     </item>                                                                 </item>                                                             </item>                                                         </item>                                                     </item>                                                 </item>                                             </item>                                             <item name="billing-step" xsi:type="array">                                                 <item name="component" xsi:type="string">uiComponent</item>                                                 <item name="sortOrder" xsi:type="string">2</item>                                                 <item name="children" xsi:type="array">                                                     <item name="payment" xsi:type="array">                                                         <item name="component" xsi:type="string">Magento_Checkout/js/view/payment</item>                                                         <item name="config" xsi:type="array">                                                             <item name="title" xsi:type="string" translate="true">Payment</item>                                                         </item>                                                         <item name="children" xsi:type="array">                                                             <item name="renders" xsi:type="array">                                                                 <item name="component" xsi:type="string">uiComponent</item>                                                                 <item name="children" xsi:type="array">                                                                     <!-- merge payment method renders here -->                                                                 </item>                                                             </item>                                                             <item name="additional-payment-validators" xsi:type="array">                                                                 <item name="component" xsi:type="string">uiComponent</item>                                                                 <item name="children" xsi:type="array">                                                                     <!-- merge payment validators here -->                                                                     <item name="email-validator" xsi:type="array">                                                                         <item name="component" xsi:type="string">Magento_Checkout/js/view/payment/email-validator</item>                                                                     </item>                                                                 </item>                                                             </item>                                                             <item name="customer-email" xsi:type="array">                                                                 <item name="component" xsi:type="string">Magento_Checkout/js/view/form/element/email</item>                                                                 <item name="displayArea" xsi:type="string">customer-email</item>                                                                 <item name="tooltip" xsi:type="array">                                                                     <item name="description" xsi:type="string" translate="true">We'll send your order confirmation here.</item>                                                                 </item>