CSS inlining error: DOMXPath::query(): Invalid expression in selector in Magento 2.2.5












0















In magento 2.2.5, I am using the custom theme and I have used the blank theme's files. In mail I am getting this error :




CSS inlining error: DOMXPath::query(): Invalid expression in selector
input[type="text"] in /root/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 372.




I have tried these solutions:
1. link 1










share|improve this question





























    0















    In magento 2.2.5, I am using the custom theme and I have used the blank theme's files. In mail I am getting this error :




    CSS inlining error: DOMXPath::query(): Invalid expression in selector
    input[type="text"] in /root/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 372.




    I have tried these solutions:
    1. link 1










    share|improve this question



























      0












      0








      0








      In magento 2.2.5, I am using the custom theme and I have used the blank theme's files. In mail I am getting this error :




      CSS inlining error: DOMXPath::query(): Invalid expression in selector
      input[type="text"] in /root/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 372.




      I have tried these solutions:
      1. link 1










      share|improve this question
















      In magento 2.2.5, I am using the custom theme and I have used the blank theme's files. In mail I am getting this error :




      CSS inlining error: DOMXPath::query(): Invalid expression in selector
      input[type="text"] in /root/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 372.




      I have tried these solutions:
      1. link 1







      email email-templates magento-2.2.5 dom






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 18 '18 at 13:01









      Ylgen Guxholli

      786415




      786415










      asked Dec 18 '18 at 11:42









      Saravanan DSSaravanan DS

      477524




      477524






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Sorry for the late replay but maybe it will help someone.



          On Magento 2.2.5 you can use the following workaround:



          create the files

          /web/css/email.less

          /web/css/email-inline.less

          in your custom theme and add the content from

          /vendor/magento/theme-frontend-blank/web/css/email.less and

          /vendor/magento/theme-frontend-blank/web/css/email-inline.css

          respectively

          but each with the line "@import 'source/_theme.less';" commented out (or removed)



          still works with Magento 2.2.7






          share|improve this answer










          New contributor




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




















            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%2f255053%2fcss-inlining-error-domxpathquery-invalid-expression-in-selector-in-magento%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Sorry for the late replay but maybe it will help someone.



            On Magento 2.2.5 you can use the following workaround:



            create the files

            /web/css/email.less

            /web/css/email-inline.less

            in your custom theme and add the content from

            /vendor/magento/theme-frontend-blank/web/css/email.less and

            /vendor/magento/theme-frontend-blank/web/css/email-inline.css

            respectively

            but each with the line "@import 'source/_theme.less';" commented out (or removed)



            still works with Magento 2.2.7






            share|improve this answer










            New contributor




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

























              0














              Sorry for the late replay but maybe it will help someone.



              On Magento 2.2.5 you can use the following workaround:



              create the files

              /web/css/email.less

              /web/css/email-inline.less

              in your custom theme and add the content from

              /vendor/magento/theme-frontend-blank/web/css/email.less and

              /vendor/magento/theme-frontend-blank/web/css/email-inline.css

              respectively

              but each with the line "@import 'source/_theme.less';" commented out (or removed)



              still works with Magento 2.2.7






              share|improve this answer










              New contributor




              CHammedinger 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







                Sorry for the late replay but maybe it will help someone.



                On Magento 2.2.5 you can use the following workaround:



                create the files

                /web/css/email.less

                /web/css/email-inline.less

                in your custom theme and add the content from

                /vendor/magento/theme-frontend-blank/web/css/email.less and

                /vendor/magento/theme-frontend-blank/web/css/email-inline.css

                respectively

                but each with the line "@import 'source/_theme.less';" commented out (or removed)



                still works with Magento 2.2.7






                share|improve this answer










                New contributor




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










                Sorry for the late replay but maybe it will help someone.



                On Magento 2.2.5 you can use the following workaround:



                create the files

                /web/css/email.less

                /web/css/email-inline.less

                in your custom theme and add the content from

                /vendor/magento/theme-frontend-blank/web/css/email.less and

                /vendor/magento/theme-frontend-blank/web/css/email-inline.css

                respectively

                but each with the line "@import 'source/_theme.less';" commented out (or removed)



                still works with Magento 2.2.7







                share|improve this answer










                New contributor




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









                share|improve this answer



                share|improve this answer








                edited 4 mins ago





















                New contributor




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









                answered 15 mins ago









                CHammedingerCHammedinger

                11




                11




                New contributor




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





                New contributor





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






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






























                    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%2f255053%2fcss-inlining-error-domxpathquery-invalid-expression-in-selector-in-magento%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

                    what is the purpose of having a “thru cal” on RF PCB?

                    What does Gandalf whisper to the Moth on the Orthanc in Isengard?

                    magento2 creating a lot of catalogrule_product_temp tables