Magento 2.3.1 Incompatible argument type Planned maintenance scheduled April 23, 2019 at 23:30...

Why did Israel vote against lifting the American embargo on Cuba?

Compiling and throwing simple dynamic exceptions at runtime for JVM

When speaking, how do you change your mind mid-sentence?

Converting a text document with special format to Pandas DataFrame

Can this water damage be explained by lack of gutters and grading issues?

What is the definining line between a helicopter and a drone a person can ride in?

Is "ein Herz wie das meine" an antiquated or colloquial use of the possesive pronoun?

Is my guitar’s action too high?

Should man-made satellites feature an intelligent inverted "cow catcher"?

Putting Ant-Man on house arrest

Why do people think Winterfell crypts is the safest place for women, children & old people?

What helicopter has the most rotor blades?

What were wait-states, and why was it only an issue for PCs?

Is it OK if I do not take the receipt in Germany?

Are Flameskulls resistant to magical piercing damage?

Who can become a wight?

What is the ongoing value of the Kanban board to the developers as opposed to management

Can gravitational waves pass through a black hole?

Providing direct feedback to a product salesperson

Protagonist's race is hidden - should I reveal it?

Determine the generator of an ideal of ring of integers

Construct a nonabelian group of order 44

Sorting the characters in a utf-16 string in java

Why is one lightbulb in a string illuminated?



Magento 2.3.1 Incompatible argument type



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?M2 di compiling throws error because of incompatible argument typeMagento 2: Error during compilation Incompatible argument typeMagento 2.3.1 installation ErrorMagento 2.3.1 Error on checkout getAdditionalInformation()Issue while generating db_schema file for existing module Magento 2.3.1Magento 2.3.1 is not working in XamppMagento 2.3.1- Problem with Payment not showing the payment optionsProblems with button cart, and register in Magento 2.3.1htmlContent not working in Magento 2.3.1 from Magento 2.3.0Magento 2.3.1 - Cant Save Edits to Product. Nothing Happens





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







0















I have an issue on compile on customs extension




ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationDataProvider
Incompatible argument type: Required type: string. Actual type:
ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationname;
File:
/var/www/html/app/code/ImaginationMedia/SocialOrder/Ui/DataProvider/Sales/Order/Donation/DataProvider.php



Total Errors Count: 1



In Log.php line 92:
Error during compilation




>  public function getCollection()
> {
> return $this->helper->getDonationOrders($this->productId);
> }
>
> /**
> * Get data
> *
> * @return array
> */
> public function getData()
> {
> $items = $this->getCollection();
>
> $items = $this->helper->getItemsInArray($items);
>
> $result = [
> 'totalRecords' => $this->getCollection()->getSize(),
> 'items' => array_values($items),
> ];
> return $result;
> }
>
> /**
> * Add field to select
> *
> * @param string|array $field
> * @param string|null $alias








share







New contributor




Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I have an issue on compile on customs extension




    ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationDataProvider
    Incompatible argument type: Required type: string. Actual type:
    ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationname;
    File:
    /var/www/html/app/code/ImaginationMedia/SocialOrder/Ui/DataProvider/Sales/Order/Donation/DataProvider.php



    Total Errors Count: 1



    In Log.php line 92:
    Error during compilation




    >  public function getCollection()
    > {
    > return $this->helper->getDonationOrders($this->productId);
    > }
    >
    > /**
    > * Get data
    > *
    > * @return array
    > */
    > public function getData()
    > {
    > $items = $this->getCollection();
    >
    > $items = $this->helper->getItemsInArray($items);
    >
    > $result = [
    > 'totalRecords' => $this->getCollection()->getSize(),
    > 'items' => array_values($items),
    > ];
    > return $result;
    > }
    >
    > /**
    > * Add field to select
    > *
    > * @param string|array $field
    > * @param string|null $alias








    share







    New contributor




    Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I have an issue on compile on customs extension




      ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationDataProvider
      Incompatible argument type: Required type: string. Actual type:
      ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationname;
      File:
      /var/www/html/app/code/ImaginationMedia/SocialOrder/Ui/DataProvider/Sales/Order/Donation/DataProvider.php



      Total Errors Count: 1



      In Log.php line 92:
      Error during compilation




      >  public function getCollection()
      > {
      > return $this->helper->getDonationOrders($this->productId);
      > }
      >
      > /**
      > * Get data
      > *
      > * @return array
      > */
      > public function getData()
      > {
      > $items = $this->getCollection();
      >
      > $items = $this->helper->getItemsInArray($items);
      >
      > $result = [
      > 'totalRecords' => $this->getCollection()->getSize(),
      > 'items' => array_values($items),
      > ];
      > return $result;
      > }
      >
      > /**
      > * Add field to select
      > *
      > * @param string|array $field
      > * @param string|null $alias








      share







      New contributor




      Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have an issue on compile on customs extension




      ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationDataProvider
      Incompatible argument type: Required type: string. Actual type:
      ImaginationMediaSocialOrderUiDataProviderSalesOrderDonationname;
      File:
      /var/www/html/app/code/ImaginationMedia/SocialOrder/Ui/DataProvider/Sales/Order/Donation/DataProvider.php



      Total Errors Count: 1



      In Log.php line 92:
      Error during compilation




      >  public function getCollection()
      > {
      > return $this->helper->getDonationOrders($this->productId);
      > }
      >
      > /**
      > * Get data
      > *
      > * @return array
      > */
      > public function getData()
      > {
      > $items = $this->getCollection();
      >
      > $items = $this->helper->getItemsInArray($items);
      >
      > $result = [
      > 'totalRecords' => $this->getCollection()->getSize(),
      > 'items' => array_values($items),
      > ];
      > return $result;
      > }
      >
      > /**
      > * Add field to select
      > *
      > * @param string|array $field
      > * @param string|null $alias






      setup-di-compile magento2.3.1





      share







      New contributor




      Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 4 mins ago









      Ed TanEd Tan

      11




      11




      New contributor




      Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Ed Tan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          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
          });


          }
          });






          Ed Tan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f271005%2fmagento-2-3-1-incompatible-argument-type%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Ed Tan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Ed Tan is a new contributor. Be nice, and check out our Code of Conduct.













          Ed Tan is a new contributor. Be nice, and check out our Code of Conduct.












          Ed Tan is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f271005%2fmagento-2-3-1-incompatible-argument-type%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

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          夢乃愛華...