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

Only print output after finding pattern

How to get regions to plot as graphics

Why does C# sound extremely flat when saxophone is tuned to G?

What can we do to stop prior company from asking us questions?

Why did we only see the N-1 starfighters in one film?

When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?

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

Rotate a column

Describing a person. What needs to be mentioned?

How do I construct this japanese bowl?

Should I tutor a student who I know has cheated on their homework?

Unreliable Magic - Is it worth it?

Visit to the USA with ESTA approved before trip to Iran

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

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

WOW air has ceased operation, can I get my tickets refunded?

Too much space between section and text in a twocolumn document

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

How do spells that require an ability check vs. the caster's spell save DC work?

How do I solve this limit?

Can the Reverse Gravity spell affect the Meteor Swarm spell?

What's the point of interval inversion?

% symbol leads to superlong (forever?) compilations

Is the concept of a "numerable" fiber bundle really useful or an empty generalization?



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 7 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

                                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

                                Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

                                Aasi (pallopeli) Navigointivalikko