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
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
add a comment |
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
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
add a comment |
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
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
magento-2.1 less less-css
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
add a comment |
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
add a comment |
5 Answers
5
active
oldest
votes
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;
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
add a comment |
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
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
add a comment |
@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?
add a comment |
Has anyone discovered a fix for this yet?
Experiencing the same issue.
PHP - 7.2
Magento - 2.3.0
Porto - 3.1.7
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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;
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
add a comment |
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;
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
add a comment |
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;
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;
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
add a comment |
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
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
@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?
add a comment |
@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?
add a comment |
@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?
@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?
answered Feb 19 at 18:33
FloWordFloWord
658
658
add a comment |
add a comment |
Has anyone discovered a fix for this yet?
Experiencing the same issue.
PHP - 7.2
Magento - 2.3.0
Porto - 3.1.7
add a comment |
Has anyone discovered a fix for this yet?
Experiencing the same issue.
PHP - 7.2
Magento - 2.3.0
Porto - 3.1.7
add a comment |
Has anyone discovered a fix for this yet?
Experiencing the same issue.
PHP - 7.2
Magento - 2.3.0
Porto - 3.1.7
Has anyone discovered a fix for this yet?
Experiencing the same issue.
PHP - 7.2
Magento - 2.3.0
Porto - 3.1.7
answered Feb 20 at 21:45
Conor TomkinsConor Tomkins
11
11
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
edited Feb 20 at 23:26
answered Feb 20 at 22:20
Conor TomkinsConor Tomkins
11
11
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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