Invalid template file in Magento 2.3magento 2 captcha not rendering if I override layout xmlmain.CRITICAL:...

Why would space fleets be aligned?

How to prevent cleaner from hanging my lock screen in Ubuntu 16.04

Broken patches on a road

Using only 1s, make 29 with the minimum number of digits

Can a person refuse a presidential pardon?

Early credit roll before the end of the film

Does windows 10s telemetry include sending *.docs if word crashed

Why did other German political parties disband so fast when Hitler was appointed chancellor?

Can a hotel cancel a confirmed reservation?

How to deal with an incendiary email that was recalled

Can an insurance company drop you after receiving a bill and refusing to pay?

How should I handle players who ignore the session zero agreement?

If I delete my router's history can my ISP still provide it to my parents?

how to acknowledge an embarrasing job interview, now that I work directly with the interviewer?

Why do neural networks need so many training examples to perform?

Why has the mole been redefined for 2019?

Can I write a book of my D&D game?

Is there any differences between "Gucken" and "Schauen"?

Publishing research using outdated methods

What is better: yes / no radio, or simple checkbox?

Difference between `vector<int> v;` and `vector<int> v = vector<int>();`

Strange Sign on Lab Door

How to Write Multiple Data Frames in an Excel Sheet

If I deleted a game I lost the disc for, can I reinstall it digitally?



Invalid template file in Magento 2.3


magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento2 Override Block - Invalid template file problemCustom module creates 'Invalid template file in module' errorInvalid Template File Magento 2.2.4Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.2.7 Enterprise Edition Error in frontend | Invalid template file: '…/page/js/require_js.phtml' in module: '' block's name: 'require.js'Invalid template file issue in Magento 2.3













1















I have been reading the forum but I can't find any solution to solve my case.



I have a custom module where I'm getting the error:
1 exception(s):
Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'simulator.phtml' in module: '' block's name: 'product.view.simulator'



My module works with Magento 2.2 but after upgrade to 2.3 it does not work. I use Mac & docker(Image:alexcheng/magento2:latest), no windows.
I think the problem is in the symlink which is not getting the right path.



File: catalog_product_view.xml (I have tried with template set to :simulator.phtml but it doesn't work)
I hace tried changing the module location: vendor//magento-2x/.. or app/code/... but it now works



<?xml version="1.0"?>
<page xmlns :xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="product.info.addtocart">
<block class="DigitalOriginPmtBlockProductSimulator"
name="product.view.simulator"
as="product_simulator"
template="simulator.phtml"/>
</referenceBlock>
</body>
</page>


Some ideas?



Thanks in advance.









share







New contributor




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

























    1















    I have been reading the forum but I can't find any solution to solve my case.



    I have a custom module where I'm getting the error:
    1 exception(s):
    Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'simulator.phtml' in module: '' block's name: 'product.view.simulator'



    My module works with Magento 2.2 but after upgrade to 2.3 it does not work. I use Mac & docker(Image:alexcheng/magento2:latest), no windows.
    I think the problem is in the symlink which is not getting the right path.



    File: catalog_product_view.xml (I have tried with template set to :simulator.phtml but it doesn't work)
    I hace tried changing the module location: vendor//magento-2x/.. or app/code/... but it now works



    <?xml version="1.0"?>
    <page xmlns :xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="product.info.addtocart">
    <block class="DigitalOriginPmtBlockProductSimulator"
    name="product.view.simulator"
    as="product_simulator"
    template="simulator.phtml"/>
    </referenceBlock>
    </body>
    </page>


    Some ideas?



    Thanks in advance.









    share







    New contributor




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























      1












      1








      1








      I have been reading the forum but I can't find any solution to solve my case.



      I have a custom module where I'm getting the error:
      1 exception(s):
      Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'simulator.phtml' in module: '' block's name: 'product.view.simulator'



      My module works with Magento 2.2 but after upgrade to 2.3 it does not work. I use Mac & docker(Image:alexcheng/magento2:latest), no windows.
      I think the problem is in the symlink which is not getting the right path.



      File: catalog_product_view.xml (I have tried with template set to :simulator.phtml but it doesn't work)
      I hace tried changing the module location: vendor//magento-2x/.. or app/code/... but it now works



      <?xml version="1.0"?>
      <page xmlns :xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
      <body>
      <referenceBlock name="product.info.addtocart">
      <block class="DigitalOriginPmtBlockProductSimulator"
      name="product.view.simulator"
      as="product_simulator"
      template="simulator.phtml"/>
      </referenceBlock>
      </body>
      </page>


      Some ideas?



      Thanks in advance.









      share







      New contributor




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












      I have been reading the forum but I can't find any solution to solve my case.



      I have a custom module where I'm getting the error:
      1 exception(s):
      Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'simulator.phtml' in module: '' block's name: 'product.view.simulator'



      My module works with Magento 2.2 but after upgrade to 2.3 it does not work. I use Mac & docker(Image:alexcheng/magento2:latest), no windows.
      I think the problem is in the symlink which is not getting the right path.



      File: catalog_product_view.xml (I have tried with template set to :simulator.phtml but it doesn't work)
      I hace tried changing the module location: vendor//magento-2x/.. or app/code/... but it now works



      <?xml version="1.0"?>
      <page xmlns :xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
      <body>
      <referenceBlock name="product.info.addtocart">
      <block class="DigitalOriginPmtBlockProductSimulator"
      name="product.view.simulator"
      as="product_simulator"
      template="simulator.phtml"/>
      </referenceBlock>
      </body>
      </page>


      Some ideas?



      Thanks in advance.







      magento2 template docker





      share







      New contributor




      pgarcess 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




      pgarcess 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




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









      asked 3 mins ago









      pgarcesspgarcess

      6




      6




      New contributor




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





      New contributor





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






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


          }
          });






          pgarcess 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%2f264069%2finvalid-template-file-in-magento-2-3%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








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










          draft saved

          draft discarded


















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













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












          pgarcess 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%2f264069%2finvalid-template-file-in-magento-2-3%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)...

          夢乃愛華...