Magento 2 less compilation error while setup:static-content:deploy The Next CEO of Stack OverflowMagento 2: Less Compilation FailingLess Compilation in Magento 2Magento Grunt Less Compilation behaves weirdMagento 2 and Client Side Less CompilationHow do you include a custom LESS file inside of a child theme?Magento 2.1 LESS compilation issuessetup:static-content:deploy errorsDifference between _extend.less . and _extends.lessHow to install node_modules in server for grunt configuationImport new custom less files after grunt configuration

What happens if you roll doubles 3 times then land on "Go to jail?"

Increase performance creating Mandelbrot set in python

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

How do scammers retract money, while you can’t?

Why do professional authors make "consistency" mistakes? And how to avoid them?

The King's new dress

Natural language into sentence logic

How do I go from 300 unfinished/half written blog posts, to published posts?

How to write papers efficiently when English isn't my first language?

Why do remote companies require working in the US?

Why is there a PLL in CPU?

Why were Madagascar and New Zealand discovered so late?

Grabbing quick drinks

Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?

How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?

Is a stroke of luck acceptable after a series of unfavorable events?

How to make a software documentation "officially" citable?

Is it okay to store user locations?

Visit to the USA with ESTA approved before trip to Iran

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

Apart from "berlinern", do any other German dialects have a corresponding verb?

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

Is it safe to use c_str() on a temporary string?



Magento 2 less compilation error while setup:static-content:deploy



The Next CEO of Stack OverflowMagento 2: Less Compilation FailingLess Compilation in Magento 2Magento Grunt Less Compilation behaves weirdMagento 2 and Client Side Less CompilationHow do you include a custom LESS file inside of a child theme?Magento 2.1 LESS compilation issuessetup:static-content:deploy errorsDifference between _extend.less . and _extends.lessHow to install node_modules in server for grunt configuationImport new custom less files after grunt configuration










2















After updating to Magento 2.1.16 on my staging server with nginx server and php7.0 I am facing issue in compiling less and css files.
The files styles-l.css and styles-m.css are missing - not generated.



During static contend deploy I get errors:




Compilation from source: /srv/www/rmstaging/public_html/vendor/magento/theme-frontend-blank/web/css/styles-l.less



Compilation from source:
frontend/Smartwave/porto_rtl/en_US/css/styles-l.less
variable @modal-popup-breakpoint-screen__m is undefined in file /srv/www/rmstaging/public_html/var/view_preprocessed/css/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41




I tried many solution including on given in https://stackoverflow.com/questions/50764127/magento-2-less-compilation-error-while-setupstatic-contentdeploy-and-frontend given by @Ashsih Raj. But did not work either.



I had the same issue on localhost but that was fixed mysteriously. I think the only change is that on my localhost I compiles using PHP7.1



Please advise.










share|improve this question






















  • You can delete this file if it is not necessary

    – Vu Tran Kien
    Dec 8 '18 at 9:34











  • Which file should be deleted?

    – Abid Malik
    Dec 8 '18 at 15:08











  • Delete file .less you have the error

    – Vu Tran Kien
    Dec 13 '18 at 3:40











  • @VuTranKien Did that already but no use.

    – Abid Malik
    Dec 13 '18 at 6:33















2















After updating to Magento 2.1.16 on my staging server with nginx server and php7.0 I am facing issue in compiling less and css files.
The files styles-l.css and styles-m.css are missing - not generated.



During static contend deploy I get errors:




Compilation from source: /srv/www/rmstaging/public_html/vendor/magento/theme-frontend-blank/web/css/styles-l.less



Compilation from source:
frontend/Smartwave/porto_rtl/en_US/css/styles-l.less
variable @modal-popup-breakpoint-screen__m is undefined in file /srv/www/rmstaging/public_html/var/view_preprocessed/css/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41




I tried many solution including on given in https://stackoverflow.com/questions/50764127/magento-2-less-compilation-error-while-setupstatic-contentdeploy-and-frontend given by @Ashsih Raj. But did not work either.



I had the same issue on localhost but that was fixed mysteriously. I think the only change is that on my localhost I compiles using PHP7.1



Please advise.










share|improve this question






















  • You can delete this file if it is not necessary

    – Vu Tran Kien
    Dec 8 '18 at 9:34











  • Which file should be deleted?

    – Abid Malik
    Dec 8 '18 at 15:08











  • Delete file .less you have the error

    – Vu Tran Kien
    Dec 13 '18 at 3:40











  • @VuTranKien Did that already but no use.

    – Abid Malik
    Dec 13 '18 at 6:33













2












2








2


2






After updating to Magento 2.1.16 on my staging server with nginx server and php7.0 I am facing issue in compiling less and css files.
The files styles-l.css and styles-m.css are missing - not generated.



During static contend deploy I get errors:




Compilation from source: /srv/www/rmstaging/public_html/vendor/magento/theme-frontend-blank/web/css/styles-l.less



Compilation from source:
frontend/Smartwave/porto_rtl/en_US/css/styles-l.less
variable @modal-popup-breakpoint-screen__m is undefined in file /srv/www/rmstaging/public_html/var/view_preprocessed/css/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41




I tried many solution including on given in https://stackoverflow.com/questions/50764127/magento-2-less-compilation-error-while-setupstatic-contentdeploy-and-frontend given by @Ashsih Raj. But did not work either.



I had the same issue on localhost but that was fixed mysteriously. I think the only change is that on my localhost I compiles using PHP7.1



Please advise.










share|improve this question














After updating to Magento 2.1.16 on my staging server with nginx server and php7.0 I am facing issue in compiling less and css files.
The files styles-l.css and styles-m.css are missing - not generated.



During static contend deploy I get errors:




Compilation from source: /srv/www/rmstaging/public_html/vendor/magento/theme-frontend-blank/web/css/styles-l.less



Compilation from source:
frontend/Smartwave/porto_rtl/en_US/css/styles-l.less
variable @modal-popup-breakpoint-screen__m is undefined in file /srv/www/rmstaging/public_html/var/view_preprocessed/css/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41




I tried many solution including on given in https://stackoverflow.com/questions/50764127/magento-2-less-compilation-error-while-setupstatic-contentdeploy-and-frontend given by @Ashsih Raj. But did not work either.



I had the same issue on localhost but that was fixed mysteriously. I think the only change is that on my localhost I compiles using PHP7.1



Please advise.







magento-2.1 less less-css






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 8 '18 at 8:32









Abid MalikAbid Malik

6812




6812












  • You can delete this file if it is not necessary

    – Vu Tran Kien
    Dec 8 '18 at 9:34











  • Which file should be deleted?

    – Abid Malik
    Dec 8 '18 at 15:08











  • Delete file .less you have the error

    – Vu Tran Kien
    Dec 13 '18 at 3:40











  • @VuTranKien Did that already but no use.

    – Abid Malik
    Dec 13 '18 at 6:33

















  • You can delete this file if it is not necessary

    – Vu Tran Kien
    Dec 8 '18 at 9:34











  • Which file should be deleted?

    – Abid Malik
    Dec 8 '18 at 15:08











  • Delete file .less you have the error

    – Vu Tran Kien
    Dec 13 '18 at 3:40











  • @VuTranKien Did that already but no use.

    – Abid Malik
    Dec 13 '18 at 6:33
















You can delete this file if it is not necessary

– Vu Tran Kien
Dec 8 '18 at 9:34





You can delete this file if it is not necessary

– Vu Tran Kien
Dec 8 '18 at 9:34













Which file should be deleted?

– Abid Malik
Dec 8 '18 at 15:08





Which file should be deleted?

– Abid Malik
Dec 8 '18 at 15:08













Delete file .less you have the error

– Vu Tran Kien
Dec 13 '18 at 3:40





Delete file .less you have the error

– Vu Tran Kien
Dec 13 '18 at 3:40













@VuTranKien Did that already but no use.

– Abid Malik
Dec 13 '18 at 6:33





@VuTranKien Did that already but no use.

– Abid Malik
Dec 13 '18 at 6:33










5 Answers
5






active

oldest

votes


















2














For all Porto Theme users upgrading to Magento 2.3:



Edit the following files (also other language codes if available):



var/view_preprocessed/pub/static/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less
var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less


Replace the following piece of code, found on line 11:



@checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;


with the following code:



@checkout-tooltip-breakpoint__screen-m: @screen__m;


Diff



11c11
< @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;
---
> @checkout-tooltip-breakpoint__screen-m: @screen__m;





share|improve this answer

























  • the correct line is like in the diff: @checkout-tooltip-breakpoint__screen-m: @screen__m; We had the en_GB version,so the error code if anyone is wondering was: report.ERROR: variable @modal-popup-breakpoint-screen__m is undefined in file [...]/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_GB/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41

    – Savvas Radevic
    3 hours ago



















1














Define @modal-popup-breakpoint-screen__m in your theme. Here is the location:
Magento_Checkout/css/source/module/checkout/_tooltip.less



Here is the example how you define






share|improve this answer

























  • tried this but did not work. I see the files css/styles-l.css and css/styles-m.css are still missing.

    – Abid Malik
    Dec 8 '18 at 17:22












  • I think you missing your less file where define all constant. Make sure that you have all less file otherwise you can't proceed with it.

    – Sohel Rana
    Dec 9 '18 at 1:38











  • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken.

    – Abid Malik
    Dec 10 '18 at 17:04











  • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to Magento 2.1.16 somehow the theme fallback is not working. I am using custom theme -> child of Smartwave Porto theme -> child of Magento Blank. When doing static_content deploy, the CSS from porto is not loaded especially for Checkout module. I copied the files from porto to custom theme and it worked. BUT I DON'T THINK IT IS PROPER SOLUTION. AND ONE MORE THING THE WHOLE THING IS WORKING FINE ON LCLHST

    – Abid Malik
    Dec 10 '18 at 17:09











  • I just copied files from parent theme SmartWave Porto to My Child theme and things worked. But I need more robust solution.

    – Abid Malik
    Dec 30 '18 at 8:44


















0














@Abid Malik. I have exactly the same Problem with the Porto Theme, but with upgrade from 2.2.3 to 2.3. Do you have any fix?






share|improve this answer






























    0














    Has anyone discovered a fix for this yet?



    Experiencing the same issue.



    PHP - 7.2
    Magento - 2.3.0
    Porto - 3.1.7






    share|improve this answer






























      0














      Update:



      This is not a permanent fix, but to get your website back up & running,



      /frontend/Smartwave/porto/Magento_Checkout/web/css/source/module/checkout



      Rename _tooltip.less to _tooltip.less-removed



      Remember to clear your cached files & redeploy:



      rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy





      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%2f252894%2fmagento-2-less-compilation-error-while-setupstatic-contentdeploy%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2














        For all Porto Theme users upgrading to Magento 2.3:



        Edit the following files (also other language codes if available):



        var/view_preprocessed/pub/static/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less
        var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less


        Replace the following piece of code, found on line 11:



        @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;


        with the following code:



        @checkout-tooltip-breakpoint__screen-m: @screen__m;


        Diff



        11c11
        < @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;
        ---
        > @checkout-tooltip-breakpoint__screen-m: @screen__m;





        share|improve this answer

























        • the correct line is like in the diff: @checkout-tooltip-breakpoint__screen-m: @screen__m; We had the en_GB version,so the error code if anyone is wondering was: report.ERROR: variable @modal-popup-breakpoint-screen__m is undefined in file [...]/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_GB/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41

          – Savvas Radevic
          3 hours ago
















        2














        For all Porto Theme users upgrading to Magento 2.3:



        Edit the following files (also other language codes if available):



        var/view_preprocessed/pub/static/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less
        var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less


        Replace the following piece of code, found on line 11:



        @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;


        with the following code:



        @checkout-tooltip-breakpoint__screen-m: @screen__m;


        Diff



        11c11
        < @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;
        ---
        > @checkout-tooltip-breakpoint__screen-m: @screen__m;





        share|improve this answer

























        • the correct line is like in the diff: @checkout-tooltip-breakpoint__screen-m: @screen__m; We had the en_GB version,so the error code if anyone is wondering was: report.ERROR: variable @modal-popup-breakpoint-screen__m is undefined in file [...]/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_GB/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41

          – Savvas Radevic
          3 hours ago














        2












        2








        2







        For all Porto Theme users upgrading to Magento 2.3:



        Edit the following files (also other language codes if available):



        var/view_preprocessed/pub/static/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less
        var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less


        Replace the following piece of code, found on line 11:



        @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;


        with the following code:



        @checkout-tooltip-breakpoint__screen-m: @screen__m;


        Diff



        11c11
        < @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;
        ---
        > @checkout-tooltip-breakpoint__screen-m: @screen__m;





        share|improve this answer















        For all Porto Theme users upgrading to Magento 2.3:



        Edit the following files (also other language codes if available):



        var/view_preprocessed/pub/static/frontend/Smartwave/porto_rtl/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less
        var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less


        Replace the following piece of code, found on line 11:



        @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;


        with the following code:



        @checkout-tooltip-breakpoint__screen-m: @screen__m;


        Diff



        11c11
        < @checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;
        ---
        > @checkout-tooltip-breakpoint__screen-m: @screen__m;






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 4 mins ago









        Savvas Radevic

        1014




        1014










        answered Mar 2 at 15:03









        schnereschnere

        514




        514












        • the correct line is like in the diff: @checkout-tooltip-breakpoint__screen-m: @screen__m; We had the en_GB version,so the error code if anyone is wondering was: report.ERROR: variable @modal-popup-breakpoint-screen__m is undefined in file [...]/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_GB/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41

          – Savvas Radevic
          3 hours ago


















        • the correct line is like in the diff: @checkout-tooltip-breakpoint__screen-m: @screen__m; We had the en_GB version,so the error code if anyone is wondering was: report.ERROR: variable @modal-popup-breakpoint-screen__m is undefined in file [...]/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_GB/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41

          – Savvas Radevic
          3 hours ago

















        the correct line is like in the diff: @checkout-tooltip-breakpoint__screen-m: @screen__m; We had the en_GB version,so the error code if anyone is wondering was: report.ERROR: variable @modal-popup-breakpoint-screen__m is undefined in file [...]/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_GB/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41

        – Savvas Radevic
        3 hours ago






        the correct line is like in the diff: @checkout-tooltip-breakpoint__screen-m: @screen__m; We had the en_GB version,so the error code if anyone is wondering was: report.ERROR: variable @modal-popup-breakpoint-screen__m is undefined in file [...]/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_GB/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41

        – Savvas Radevic
        3 hours ago














        1














        Define @modal-popup-breakpoint-screen__m in your theme. Here is the location:
        Magento_Checkout/css/source/module/checkout/_tooltip.less



        Here is the example how you define






        share|improve this answer

























        • tried this but did not work. I see the files css/styles-l.css and css/styles-m.css are still missing.

          – Abid Malik
          Dec 8 '18 at 17:22












        • I think you missing your less file where define all constant. Make sure that you have all less file otherwise you can't proceed with it.

          – Sohel Rana
          Dec 9 '18 at 1:38











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken.

          – Abid Malik
          Dec 10 '18 at 17:04











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to Magento 2.1.16 somehow the theme fallback is not working. I am using custom theme -> child of Smartwave Porto theme -> child of Magento Blank. When doing static_content deploy, the CSS from porto is not loaded especially for Checkout module. I copied the files from porto to custom theme and it worked. BUT I DON'T THINK IT IS PROPER SOLUTION. AND ONE MORE THING THE WHOLE THING IS WORKING FINE ON LCLHST

          – Abid Malik
          Dec 10 '18 at 17:09











        • I just copied files from parent theme SmartWave Porto to My Child theme and things worked. But I need more robust solution.

          – Abid Malik
          Dec 30 '18 at 8:44















        1














        Define @modal-popup-breakpoint-screen__m in your theme. Here is the location:
        Magento_Checkout/css/source/module/checkout/_tooltip.less



        Here is the example how you define






        share|improve this answer

























        • tried this but did not work. I see the files css/styles-l.css and css/styles-m.css are still missing.

          – Abid Malik
          Dec 8 '18 at 17:22












        • I think you missing your less file where define all constant. Make sure that you have all less file otherwise you can't proceed with it.

          – Sohel Rana
          Dec 9 '18 at 1:38











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken.

          – Abid Malik
          Dec 10 '18 at 17:04











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to Magento 2.1.16 somehow the theme fallback is not working. I am using custom theme -> child of Smartwave Porto theme -> child of Magento Blank. When doing static_content deploy, the CSS from porto is not loaded especially for Checkout module. I copied the files from porto to custom theme and it worked. BUT I DON'T THINK IT IS PROPER SOLUTION. AND ONE MORE THING THE WHOLE THING IS WORKING FINE ON LCLHST

          – Abid Malik
          Dec 10 '18 at 17:09











        • I just copied files from parent theme SmartWave Porto to My Child theme and things worked. But I need more robust solution.

          – Abid Malik
          Dec 30 '18 at 8:44













        1












        1








        1







        Define @modal-popup-breakpoint-screen__m in your theme. Here is the location:
        Magento_Checkout/css/source/module/checkout/_tooltip.less



        Here is the example how you define






        share|improve this answer















        Define @modal-popup-breakpoint-screen__m in your theme. Here is the location:
        Magento_Checkout/css/source/module/checkout/_tooltip.less



        Here is the example how you define







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 8 '18 at 9:49









        nikin

        778315




        778315










        answered Dec 8 '18 at 8:46









        Sohel RanaSohel Rana

        22.9k34460




        22.9k34460












        • tried this but did not work. I see the files css/styles-l.css and css/styles-m.css are still missing.

          – Abid Malik
          Dec 8 '18 at 17:22












        • I think you missing your less file where define all constant. Make sure that you have all less file otherwise you can't proceed with it.

          – Sohel Rana
          Dec 9 '18 at 1:38











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken.

          – Abid Malik
          Dec 10 '18 at 17:04











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to Magento 2.1.16 somehow the theme fallback is not working. I am using custom theme -> child of Smartwave Porto theme -> child of Magento Blank. When doing static_content deploy, the CSS from porto is not loaded especially for Checkout module. I copied the files from porto to custom theme and it worked. BUT I DON'T THINK IT IS PROPER SOLUTION. AND ONE MORE THING THE WHOLE THING IS WORKING FINE ON LCLHST

          – Abid Malik
          Dec 10 '18 at 17:09











        • I just copied files from parent theme SmartWave Porto to My Child theme and things worked. But I need more robust solution.

          – Abid Malik
          Dec 30 '18 at 8:44

















        • tried this but did not work. I see the files css/styles-l.css and css/styles-m.css are still missing.

          – Abid Malik
          Dec 8 '18 at 17:22












        • I think you missing your less file where define all constant. Make sure that you have all less file otherwise you can't proceed with it.

          – Sohel Rana
          Dec 9 '18 at 1:38











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken.

          – Abid Malik
          Dec 10 '18 at 17:04











        • Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to Magento 2.1.16 somehow the theme fallback is not working. I am using custom theme -> child of Smartwave Porto theme -> child of Magento Blank. When doing static_content deploy, the CSS from porto is not loaded especially for Checkout module. I copied the files from porto to custom theme and it worked. BUT I DON'T THINK IT IS PROPER SOLUTION. AND ONE MORE THING THE WHOLE THING IS WORKING FINE ON LCLHST

          – Abid Malik
          Dec 10 '18 at 17:09











        • I just copied files from parent theme SmartWave Porto to My Child theme and things worked. But I need more robust solution.

          – Abid Malik
          Dec 30 '18 at 8:44
















        tried this but did not work. I see the files css/styles-l.css and css/styles-m.css are still missing.

        – Abid Malik
        Dec 8 '18 at 17:22






        tried this but did not work. I see the files css/styles-l.css and css/styles-m.css are still missing.

        – Abid Malik
        Dec 8 '18 at 17:22














        I think you missing your less file where define all constant. Make sure that you have all less file otherwise you can't proceed with it.

        – Sohel Rana
        Dec 9 '18 at 1:38





        I think you missing your less file where define all constant. Make sure that you have all less file otherwise you can't proceed with it.

        – Sohel Rana
        Dec 9 '18 at 1:38













        Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken.

        – Abid Malik
        Dec 10 '18 at 17:04





        Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken.

        – Abid Malik
        Dec 10 '18 at 17:04













        Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to Magento 2.1.16 somehow the theme fallback is not working. I am using custom theme -> child of Smartwave Porto theme -> child of Magento Blank. When doing static_content deploy, the CSS from porto is not loaded especially for Checkout module. I copied the files from porto to custom theme and it worked. BUT I DON'T THINK IT IS PROPER SOLUTION. AND ONE MORE THING THE WHOLE THING IS WORKING FINE ON LCLHST

        – Abid Malik
        Dec 10 '18 at 17:09





        Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to Magento 2.1.16 somehow the theme fallback is not working. I am using custom theme -> child of Smartwave Porto theme -> child of Magento Blank. When doing static_content deploy, the CSS from porto is not loaded especially for Checkout module. I copied the files from porto to custom theme and it worked. BUT I DON'T THINK IT IS PROPER SOLUTION. AND ONE MORE THING THE WHOLE THING IS WORKING FINE ON LCLHST

        – Abid Malik
        Dec 10 '18 at 17:09













        I just copied files from parent theme SmartWave Porto to My Child theme and things worked. But I need more robust solution.

        – Abid Malik
        Dec 30 '18 at 8:44





        I just copied files from parent theme SmartWave Porto to My Child theme and things worked. But I need more robust solution.

        – Abid Malik
        Dec 30 '18 at 8:44











        0














        @Abid Malik. I have exactly the same Problem with the Porto Theme, but with upgrade from 2.2.3 to 2.3. Do you have any fix?






        share|improve this answer



























          0














          @Abid Malik. I have exactly the same Problem with the Porto Theme, but with upgrade from 2.2.3 to 2.3. Do you have any fix?






          share|improve this answer

























            0












            0








            0







            @Abid Malik. I have exactly the same Problem with the Porto Theme, but with upgrade from 2.2.3 to 2.3. Do you have any fix?






            share|improve this answer













            @Abid Malik. I have exactly the same Problem with the Porto Theme, but with upgrade from 2.2.3 to 2.3. Do you have any fix?







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 19 at 18:33









            FloWordFloWord

            658




            658





















                0














                Has anyone discovered a fix for this yet?



                Experiencing the same issue.



                PHP - 7.2
                Magento - 2.3.0
                Porto - 3.1.7






                share|improve this answer



























                  0














                  Has anyone discovered a fix for this yet?



                  Experiencing the same issue.



                  PHP - 7.2
                  Magento - 2.3.0
                  Porto - 3.1.7






                  share|improve this answer

























                    0












                    0








                    0







                    Has anyone discovered a fix for this yet?



                    Experiencing the same issue.



                    PHP - 7.2
                    Magento - 2.3.0
                    Porto - 3.1.7






                    share|improve this answer













                    Has anyone discovered a fix for this yet?



                    Experiencing the same issue.



                    PHP - 7.2
                    Magento - 2.3.0
                    Porto - 3.1.7







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 20 at 21:45









                    Conor TomkinsConor Tomkins

                    11




                    11





















                        0














                        Update:



                        This is not a permanent fix, but to get your website back up & running,



                        /frontend/Smartwave/porto/Magento_Checkout/web/css/source/module/checkout



                        Rename _tooltip.less to _tooltip.less-removed



                        Remember to clear your cached files & redeploy:



                        rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy





                        share|improve this answer





























                          0














                          Update:



                          This is not a permanent fix, but to get your website back up & running,



                          /frontend/Smartwave/porto/Magento_Checkout/web/css/source/module/checkout



                          Rename _tooltip.less to _tooltip.less-removed



                          Remember to clear your cached files & redeploy:



                          rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy





                          share|improve this answer



























                            0












                            0








                            0







                            Update:



                            This is not a permanent fix, but to get your website back up & running,



                            /frontend/Smartwave/porto/Magento_Checkout/web/css/source/module/checkout



                            Rename _tooltip.less to _tooltip.less-removed



                            Remember to clear your cached files & redeploy:



                            rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy





                            share|improve this answer















                            Update:



                            This is not a permanent fix, but to get your website back up & running,



                            /frontend/Smartwave/porto/Magento_Checkout/web/css/source/module/checkout



                            Rename _tooltip.less to _tooltip.less-removed



                            Remember to clear your cached files & redeploy:



                            rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Feb 20 at 23:26

























                            answered Feb 20 at 22:20









                            Conor TomkinsConor Tomkins

                            11




                            11



























                                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%2f252894%2fmagento-2-less-compilation-error-while-setupstatic-contentdeploy%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

                                Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

                                Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                                How to solve knockout JS error in Magento 2 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?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2