main.CRITICAL: .border-radius is undefined

Hi,
After installing the latest module version [1.2.2] in Magento 2.4.5-p1 with php 8.1, Magento no longer compiles the css and in system.log it generates error:
main.ERROR: .border-radius is undefined in /var/view_preprocessed/pub/static/frontend//Ubertheme_UbContentSlider/css/source/module/_general.less [] []
main.CRITICAL: .border-radius is undefined in /var/view_preprocessed/pub/static/frontend//Ubertheme_UbContentSlider/css/source/module/_general.less [] []
We’ve tried emptying the var/view_preprocessed folder, recompiling, etc.
What can we do?
 
Regards

3 answers

Profile photo of Ziven Staff 100280.00 $tone December 2, 2022
Public

Hi There,

After installing the latest module version [1.2.2] in Magento 2.4.5-p1 with php 8.1, Magento no longer compiles the css and in system.log it generates error:

I would need to take a closer look at your site to detect the issue. Kindly share your site credentials as following:


URL and Admin credentials of your M2 instance
SSH credentials of your M2 instance
Let me know the path to your M2 folder

Please make sure that you mark this ticket private, then it’s safe to share your site info here as only you and our technical team can access.
 

Best Regards,
Ziven.

#1
Profile photo of Ziven Staff 100280.00 $tone December 5, 2022
Public

Hi There,

After installing the latest module version [1.2.2] in Magento 2.4.5-p1 with php 8.1, Magento no longer compiles the css and in system.log it generates error:

After checking I found that you’ve overwritten this file: /app/design/frontend/Mon-key/nottetempo2020/Ubertheme_UbContentSlider/web/css/source/module/_general.less, and this file is using the old variable after you upgraded to the new version.
To resolve this, please follow these steps:

  • Go to the file: /app/design/frontend/Mon-key/nottetempo2020/Ubertheme_UbContentSlider/web/css/source/module/_general.less at line 78 and change code like below:

.border-radius(2px);
change to:
.ub-border-radius(2px);

  • Then re-compile statics file.

 

Best Regards,
Ziven.
 
 
 
 

#3

Please login or Register to Submit Answer

Written By

Comments