Incompatible argument type error in Magento 2.2.2Magento 2.2 Incompatible argument typeMagento 2: Error during compilation Incompatible argument typeI created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?main.CRITICAL: Plugin class doesn't exist“There has been an error processing your request” in Admin area after installationError during compilation after upgrade in magento 2.2.3Monolog Error After 2.2 UpgradeMagento 2.3 Can't view module's front end page output?Magento 2 How to remove price filter from category if module is enable?Magento2 REST API get all customers detailsDeleted ShipperHQ module causing error in “All Customers” section of Magento 2Incompatible argument type error during compilation in Magento2.2.5?

Is this popular optical illusion made of a grey-scale image with coloured lines?

Is there anyway to harden soft braised carrots?

Went to a big 4 but got fired for underperformance in a year recently - Now every one thinks I'm pro - How to balance expectations?

Derivative is just speed of change?

Is it really a problem to declare that a visitor to the UK is my "girlfriend", in terms of her successfully getting a Standard Visitor visa?

"Will flex for food". What does this phrase mean?

Conflict between senior and junior members

Why do MS SQL Server SEQUENCEs not have an ORDER parameter like Oracle?

Just how much information should you share with a former client?

Applying for mortgage when living together but only one will be on the mortgage

"DDoouubbllee ssppeeaakk!!"

How to structure presentation to avoid getting questions that will be answered later in the presentation?

Can the additional attack from a Samurai's Rapid Strike have advantage?

Feedback diagram

Has the US government provided details on plans to deal with AIDS and childhood cancer?

Why is “deal 6 damage” a legit phrase?

Adjective for when skills are not improving and I'm depressed about it

Gold Battle KoTH

Return last number in sub-sequences in a list of integers

How do discovery writers hibernate?

Can I shorten this filter, that finds disk sizes over 100G?

Were there any unmanned expeditions to the moon that returned to Earth prior to Apollo?

Guidelines for writing a chord progression

Reasons for using monsters as bioweapons



Incompatible argument type error in Magento 2.2.2


Magento 2.2 Incompatible argument typeMagento 2: Error during compilation Incompatible argument typeI created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?main.CRITICAL: Plugin class doesn't exist“There has been an error processing your request” in Admin area after installationError during compilation after upgrade in magento 2.2.3Monolog Error After 2.2 UpgradeMagento 2.3 Can't view module's front end page output?Magento 2 How to remove price filter from category if module is enable?Magento2 REST API get all customers detailsDeleted ShipperHQ module causing error in “All Customers” section of Magento 2Incompatible argument type error during compilation in Magento2.2.5?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have installed Magento 2.2.2.



Running php bin/magento setup:di:compile result in this error:



MagentoBackendModelViewLayoutGeneratorPool
Incompatible argument type: Required type: MagentoFrameworkViewLayoutConditionConditionFactory.php

Actual type: MagentoFrameworkAppConfigScopeConfigInterface; File:
vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php


In




vendor/magento/framework/View/Layout/Condition/ConditionFactory.php:




<?php

namespace MagentoFrameworkViewLayoutCondition;

use MagentoFrameworkObjectManagerInterface;

/**
* Factory for composite.
*/
class ConditionFactory

/**
* @var ObjectManagerInterface
*/
private $objectManager;

/**
* @param ObjectManagerInterface $objectManager
*/
public function __construct(ObjectManagerInterface $objectManager)

$this->objectManager = $objectManager;


/**
* @param array $elementVisibilityConditions
*
* @return Condition
*/
public function create(array $elementVisibilityConditions)

$conditions = [];
foreach ($elementVisibilityConditions as $condition)
$conditions[] = $this->objectManager->create($condition['name']);

return $this->objectManager->create(Condition::class, ['conditions' => $conditions]);




In




vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php:




<?php
namespace MagentoBackendModelViewLayout;

use MagentoFrameworkViewLayoutScheduledStructure;
use MagentoFrameworkViewLayoutDataStructure;

/**
* Pool of generators for structural elements
*/
class GeneratorPool extends MagentoFrameworkViewLayoutGeneratorPool

/**
* @var FilterAcl
*/
protected $aclFilter;

/**
* @param ScheduledStructureHelper $helper
* @param MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig
* @param MagentoFrameworkAppScopeResolverInterface $scopeResolver
* @param PsrLogLoggerInterface $logger
* @param FilterAcl $aclFilter
* @param array $generators
*/
public function __construct(
ScheduledStructureHelper $helper,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoFrameworkAppScopeResolverInterface $scopeResolver,
PsrLogLoggerInterface $logger,
FilterAcl $aclFilter,
array $generators = null
)
$this->aclFilter = $aclFilter;
parent::__construct(
$helper,
$scopeConfig,
$scopeResolver,
$logger,
$generators
);


/**
* Build structure that is based on scheduled structure
*
* @param ScheduledStructure $scheduledStructure
* @param Structure $structure
* @return $this
*/
protected function buildStructure(ScheduledStructure $scheduledStructure, Structure $structure)

parent::buildStructure($scheduledStructure, $structure);
$this->aclFilter->filterAclElements($scheduledStructure, $structure);
return $this;




What is the fix?










share|improve this question


























  • could you show your full code of php class?

    – Rakesh Jesadiya
    Apr 13 '18 at 8:50












  • I just did. Check it out.

    – Razvan Zamfir
    Apr 13 '18 at 8:56











  • Did you do php bin/magento setup:upgrade?

    – Evgeny Levinsky
    Apr 13 '18 at 14:47











  • Yes, I did. Just before php bin/magento setup:di:compile

    – Razvan Zamfir
    Apr 13 '18 at 14:49











  • did you install a fresh Magento2.2 or you upgraded from older version, If you have upgraded Magento from older version you may read this comment here [github.com/magento/magento2/issues/…

    – WISAM HAKIM
    Apr 15 '18 at 22:31

















2















I have installed Magento 2.2.2.



Running php bin/magento setup:di:compile result in this error:



MagentoBackendModelViewLayoutGeneratorPool
Incompatible argument type: Required type: MagentoFrameworkViewLayoutConditionConditionFactory.php

Actual type: MagentoFrameworkAppConfigScopeConfigInterface; File:
vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php


In




vendor/magento/framework/View/Layout/Condition/ConditionFactory.php:




<?php

namespace MagentoFrameworkViewLayoutCondition;

use MagentoFrameworkObjectManagerInterface;

/**
* Factory for composite.
*/
class ConditionFactory

/**
* @var ObjectManagerInterface
*/
private $objectManager;

/**
* @param ObjectManagerInterface $objectManager
*/
public function __construct(ObjectManagerInterface $objectManager)

$this->objectManager = $objectManager;


/**
* @param array $elementVisibilityConditions
*
* @return Condition
*/
public function create(array $elementVisibilityConditions)

$conditions = [];
foreach ($elementVisibilityConditions as $condition)
$conditions[] = $this->objectManager->create($condition['name']);

return $this->objectManager->create(Condition::class, ['conditions' => $conditions]);




In




vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php:




<?php
namespace MagentoBackendModelViewLayout;

use MagentoFrameworkViewLayoutScheduledStructure;
use MagentoFrameworkViewLayoutDataStructure;

/**
* Pool of generators for structural elements
*/
class GeneratorPool extends MagentoFrameworkViewLayoutGeneratorPool

/**
* @var FilterAcl
*/
protected $aclFilter;

/**
* @param ScheduledStructureHelper $helper
* @param MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig
* @param MagentoFrameworkAppScopeResolverInterface $scopeResolver
* @param PsrLogLoggerInterface $logger
* @param FilterAcl $aclFilter
* @param array $generators
*/
public function __construct(
ScheduledStructureHelper $helper,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoFrameworkAppScopeResolverInterface $scopeResolver,
PsrLogLoggerInterface $logger,
FilterAcl $aclFilter,
array $generators = null
)
$this->aclFilter = $aclFilter;
parent::__construct(
$helper,
$scopeConfig,
$scopeResolver,
$logger,
$generators
);


/**
* Build structure that is based on scheduled structure
*
* @param ScheduledStructure $scheduledStructure
* @param Structure $structure
* @return $this
*/
protected function buildStructure(ScheduledStructure $scheduledStructure, Structure $structure)

parent::buildStructure($scheduledStructure, $structure);
$this->aclFilter->filterAclElements($scheduledStructure, $structure);
return $this;




What is the fix?










share|improve this question


























  • could you show your full code of php class?

    – Rakesh Jesadiya
    Apr 13 '18 at 8:50












  • I just did. Check it out.

    – Razvan Zamfir
    Apr 13 '18 at 8:56











  • Did you do php bin/magento setup:upgrade?

    – Evgeny Levinsky
    Apr 13 '18 at 14:47











  • Yes, I did. Just before php bin/magento setup:di:compile

    – Razvan Zamfir
    Apr 13 '18 at 14:49











  • did you install a fresh Magento2.2 or you upgraded from older version, If you have upgraded Magento from older version you may read this comment here [github.com/magento/magento2/issues/…

    – WISAM HAKIM
    Apr 15 '18 at 22:31













2












2








2


1






I have installed Magento 2.2.2.



Running php bin/magento setup:di:compile result in this error:



MagentoBackendModelViewLayoutGeneratorPool
Incompatible argument type: Required type: MagentoFrameworkViewLayoutConditionConditionFactory.php

Actual type: MagentoFrameworkAppConfigScopeConfigInterface; File:
vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php


In




vendor/magento/framework/View/Layout/Condition/ConditionFactory.php:




<?php

namespace MagentoFrameworkViewLayoutCondition;

use MagentoFrameworkObjectManagerInterface;

/**
* Factory for composite.
*/
class ConditionFactory

/**
* @var ObjectManagerInterface
*/
private $objectManager;

/**
* @param ObjectManagerInterface $objectManager
*/
public function __construct(ObjectManagerInterface $objectManager)

$this->objectManager = $objectManager;


/**
* @param array $elementVisibilityConditions
*
* @return Condition
*/
public function create(array $elementVisibilityConditions)

$conditions = [];
foreach ($elementVisibilityConditions as $condition)
$conditions[] = $this->objectManager->create($condition['name']);

return $this->objectManager->create(Condition::class, ['conditions' => $conditions]);




In




vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php:




<?php
namespace MagentoBackendModelViewLayout;

use MagentoFrameworkViewLayoutScheduledStructure;
use MagentoFrameworkViewLayoutDataStructure;

/**
* Pool of generators for structural elements
*/
class GeneratorPool extends MagentoFrameworkViewLayoutGeneratorPool

/**
* @var FilterAcl
*/
protected $aclFilter;

/**
* @param ScheduledStructureHelper $helper
* @param MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig
* @param MagentoFrameworkAppScopeResolverInterface $scopeResolver
* @param PsrLogLoggerInterface $logger
* @param FilterAcl $aclFilter
* @param array $generators
*/
public function __construct(
ScheduledStructureHelper $helper,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoFrameworkAppScopeResolverInterface $scopeResolver,
PsrLogLoggerInterface $logger,
FilterAcl $aclFilter,
array $generators = null
)
$this->aclFilter = $aclFilter;
parent::__construct(
$helper,
$scopeConfig,
$scopeResolver,
$logger,
$generators
);


/**
* Build structure that is based on scheduled structure
*
* @param ScheduledStructure $scheduledStructure
* @param Structure $structure
* @return $this
*/
protected function buildStructure(ScheduledStructure $scheduledStructure, Structure $structure)

parent::buildStructure($scheduledStructure, $structure);
$this->aclFilter->filterAclElements($scheduledStructure, $structure);
return $this;




What is the fix?










share|improve this question
















I have installed Magento 2.2.2.



Running php bin/magento setup:di:compile result in this error:



MagentoBackendModelViewLayoutGeneratorPool
Incompatible argument type: Required type: MagentoFrameworkViewLayoutConditionConditionFactory.php

Actual type: MagentoFrameworkAppConfigScopeConfigInterface; File:
vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php


In




vendor/magento/framework/View/Layout/Condition/ConditionFactory.php:




<?php

namespace MagentoFrameworkViewLayoutCondition;

use MagentoFrameworkObjectManagerInterface;

/**
* Factory for composite.
*/
class ConditionFactory

/**
* @var ObjectManagerInterface
*/
private $objectManager;

/**
* @param ObjectManagerInterface $objectManager
*/
public function __construct(ObjectManagerInterface $objectManager)

$this->objectManager = $objectManager;


/**
* @param array $elementVisibilityConditions
*
* @return Condition
*/
public function create(array $elementVisibilityConditions)

$conditions = [];
foreach ($elementVisibilityConditions as $condition)
$conditions[] = $this->objectManager->create($condition['name']);

return $this->objectManager->create(Condition::class, ['conditions' => $conditions]);




In




vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php:




<?php
namespace MagentoBackendModelViewLayout;

use MagentoFrameworkViewLayoutScheduledStructure;
use MagentoFrameworkViewLayoutDataStructure;

/**
* Pool of generators for structural elements
*/
class GeneratorPool extends MagentoFrameworkViewLayoutGeneratorPool

/**
* @var FilterAcl
*/
protected $aclFilter;

/**
* @param ScheduledStructureHelper $helper
* @param MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig
* @param MagentoFrameworkAppScopeResolverInterface $scopeResolver
* @param PsrLogLoggerInterface $logger
* @param FilterAcl $aclFilter
* @param array $generators
*/
public function __construct(
ScheduledStructureHelper $helper,
MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig,
MagentoFrameworkAppScopeResolverInterface $scopeResolver,
PsrLogLoggerInterface $logger,
FilterAcl $aclFilter,
array $generators = null
)
$this->aclFilter = $aclFilter;
parent::__construct(
$helper,
$scopeConfig,
$scopeResolver,
$logger,
$generators
);


/**
* Build structure that is based on scheduled structure
*
* @param ScheduledStructure $scheduledStructure
* @param Structure $structure
* @return $this
*/
protected function buildStructure(ScheduledStructure $scheduledStructure, Structure $structure)

parent::buildStructure($scheduledStructure, $structure);
$this->aclFilter->filterAclElements($scheduledStructure, $structure);
return $this;




What is the fix?







magento2 error compilation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 '18 at 15:42







Razvan Zamfir

















asked Apr 13 '18 at 8:38









Razvan ZamfirRazvan Zamfir

1611 gold badge6 silver badges34 bronze badges




1611 gold badge6 silver badges34 bronze badges















  • could you show your full code of php class?

    – Rakesh Jesadiya
    Apr 13 '18 at 8:50












  • I just did. Check it out.

    – Razvan Zamfir
    Apr 13 '18 at 8:56











  • Did you do php bin/magento setup:upgrade?

    – Evgeny Levinsky
    Apr 13 '18 at 14:47











  • Yes, I did. Just before php bin/magento setup:di:compile

    – Razvan Zamfir
    Apr 13 '18 at 14:49











  • did you install a fresh Magento2.2 or you upgraded from older version, If you have upgraded Magento from older version you may read this comment here [github.com/magento/magento2/issues/…

    – WISAM HAKIM
    Apr 15 '18 at 22:31

















  • could you show your full code of php class?

    – Rakesh Jesadiya
    Apr 13 '18 at 8:50












  • I just did. Check it out.

    – Razvan Zamfir
    Apr 13 '18 at 8:56











  • Did you do php bin/magento setup:upgrade?

    – Evgeny Levinsky
    Apr 13 '18 at 14:47











  • Yes, I did. Just before php bin/magento setup:di:compile

    – Razvan Zamfir
    Apr 13 '18 at 14:49











  • did you install a fresh Magento2.2 or you upgraded from older version, If you have upgraded Magento from older version you may read this comment here [github.com/magento/magento2/issues/…

    – WISAM HAKIM
    Apr 15 '18 at 22:31
















could you show your full code of php class?

– Rakesh Jesadiya
Apr 13 '18 at 8:50






could you show your full code of php class?

– Rakesh Jesadiya
Apr 13 '18 at 8:50














I just did. Check it out.

– Razvan Zamfir
Apr 13 '18 at 8:56





I just did. Check it out.

– Razvan Zamfir
Apr 13 '18 at 8:56













Did you do php bin/magento setup:upgrade?

– Evgeny Levinsky
Apr 13 '18 at 14:47





Did you do php bin/magento setup:upgrade?

– Evgeny Levinsky
Apr 13 '18 at 14:47













Yes, I did. Just before php bin/magento setup:di:compile

– Razvan Zamfir
Apr 13 '18 at 14:49





Yes, I did. Just before php bin/magento setup:di:compile

– Razvan Zamfir
Apr 13 '18 at 14:49













did you install a fresh Magento2.2 or you upgraded from older version, If you have upgraded Magento from older version you may read this comment here [github.com/magento/magento2/issues/…

– WISAM HAKIM
Apr 15 '18 at 22:31





did you install a fresh Magento2.2 or you upgraded from older version, If you have upgraded Magento from older version you may read this comment here [github.com/magento/magento2/issues/…

– WISAM HAKIM
Apr 15 '18 at 22:31










3 Answers
3






active

oldest

votes


















1














It used to be there but was removed. Make sure no di.xml still references it. So look for something like this:



<preference for="MagentoFrameworkViewLayoutGeneratorPool"
type="MagentoBackendModelViewLayoutGeneratorPool" />


On the cause:
It looks like you copied Magento 2.2 over an earlier version and something botched your upgrade path. Did you follow these instructions?






share|improve this answer

























  • What shell I do?

    – Razvan Zamfir
    Apr 23 '18 at 21:16


















0














https://github.com/magento/magento2/tree/2.2/app/code/Magento/Backend/Model/View/Layout



You can see there is no GeneratorPool.php file there



Be sure you are working with stable version, you can download from here https://magento.com/tech-resources/download






share|improve this answer
































    0














    I removed




    vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php




    entirely which then allowed the compile command to process normally.



    Got the suggestion from https://github.com/magento/magento2/issues/11190






    share|improve this answer



























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f222177%2fincompatible-argument-type-error-in-magento-2-2-2%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      It used to be there but was removed. Make sure no di.xml still references it. So look for something like this:



      <preference for="MagentoFrameworkViewLayoutGeneratorPool"
      type="MagentoBackendModelViewLayoutGeneratorPool" />


      On the cause:
      It looks like you copied Magento 2.2 over an earlier version and something botched your upgrade path. Did you follow these instructions?






      share|improve this answer

























      • What shell I do?

        – Razvan Zamfir
        Apr 23 '18 at 21:16















      1














      It used to be there but was removed. Make sure no di.xml still references it. So look for something like this:



      <preference for="MagentoFrameworkViewLayoutGeneratorPool"
      type="MagentoBackendModelViewLayoutGeneratorPool" />


      On the cause:
      It looks like you copied Magento 2.2 over an earlier version and something botched your upgrade path. Did you follow these instructions?






      share|improve this answer

























      • What shell I do?

        – Razvan Zamfir
        Apr 23 '18 at 21:16













      1












      1








      1







      It used to be there but was removed. Make sure no di.xml still references it. So look for something like this:



      <preference for="MagentoFrameworkViewLayoutGeneratorPool"
      type="MagentoBackendModelViewLayoutGeneratorPool" />


      On the cause:
      It looks like you copied Magento 2.2 over an earlier version and something botched your upgrade path. Did you follow these instructions?






      share|improve this answer













      It used to be there but was removed. Make sure no di.xml still references it. So look for something like this:



      <preference for="MagentoFrameworkViewLayoutGeneratorPool"
      type="MagentoBackendModelViewLayoutGeneratorPool" />


      On the cause:
      It looks like you copied Magento 2.2 over an earlier version and something botched your upgrade path. Did you follow these instructions?







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Apr 20 '18 at 8:21









      MelvynMelvyn

      1,9771 gold badge7 silver badges26 bronze badges




      1,9771 gold badge7 silver badges26 bronze badges















      • What shell I do?

        – Razvan Zamfir
        Apr 23 '18 at 21:16

















      • What shell I do?

        – Razvan Zamfir
        Apr 23 '18 at 21:16
















      What shell I do?

      – Razvan Zamfir
      Apr 23 '18 at 21:16





      What shell I do?

      – Razvan Zamfir
      Apr 23 '18 at 21:16













      0














      https://github.com/magento/magento2/tree/2.2/app/code/Magento/Backend/Model/View/Layout



      You can see there is no GeneratorPool.php file there



      Be sure you are working with stable version, you can download from here https://magento.com/tech-resources/download






      share|improve this answer





























        0














        https://github.com/magento/magento2/tree/2.2/app/code/Magento/Backend/Model/View/Layout



        You can see there is no GeneratorPool.php file there



        Be sure you are working with stable version, you can download from here https://magento.com/tech-resources/download






        share|improve this answer



























          0












          0








          0







          https://github.com/magento/magento2/tree/2.2/app/code/Magento/Backend/Model/View/Layout



          You can see there is no GeneratorPool.php file there



          Be sure you are working with stable version, you can download from here https://magento.com/tech-resources/download






          share|improve this answer













          https://github.com/magento/magento2/tree/2.2/app/code/Magento/Backend/Model/View/Layout



          You can see there is no GeneratorPool.php file there



          Be sure you are working with stable version, you can download from here https://magento.com/tech-resources/download







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 20 '18 at 8:07









          Raul SanchezRaul Sanchez

          2,1273 gold badges13 silver badges39 bronze badges




          2,1273 gold badges13 silver badges39 bronze badges
























              0














              I removed




              vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php




              entirely which then allowed the compile command to process normally.



              Got the suggestion from https://github.com/magento/magento2/issues/11190






              share|improve this answer





























                0














                I removed




                vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php




                entirely which then allowed the compile command to process normally.



                Got the suggestion from https://github.com/magento/magento2/issues/11190






                share|improve this answer



























                  0












                  0








                  0







                  I removed




                  vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php




                  entirely which then allowed the compile command to process normally.



                  Got the suggestion from https://github.com/magento/magento2/issues/11190






                  share|improve this answer













                  I removed




                  vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php




                  entirely which then allowed the compile command to process normally.



                  Got the suggestion from https://github.com/magento/magento2/issues/11190







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 23 at 8:33









                  Mika SalakkaMika Salakka

                  176 bronze badges




                  176 bronze badges






























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f222177%2fincompatible-argument-type-error-in-magento-2-2-2%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                      Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?