Skip to content

Installing Porto theme on Magento 2.4.8 Error when static content deploy

I’m trying to install Porto theme on Magento 2.4.8

After uploading, I used setup:upgrade and setup:static-content:deploy -f
And on content deploy I have this error:

Compilation from source: K:/Xampp/htdocs/vendor/magento/theme-frontend-blank/web/css/styles-l.less
error evaluating function `ceil` math functions take numbers as parameters index: 28611 in _extends.less on line 1286, column 21
1284|             .page-title-wrapper {
1285|                 .order-date {
1286|                     @order-date-indent: ceil(@h1__margin-bottom/1.5);
1287|                     margin: -@order-date-indent 0 18px;
1288|                 }
1289|             } in _responsive.less

Error happened during deploy process:

>Compilation from source: K:/Xampp/htdocs/vendor/magento/theme-frontend-blank/web/css/styles-l.less
error evaluating function `ceil` math functions take numbers as parameters index: 28611 in _extends.less on line 1286, column 21
1284|             .page-title-wrapper {
1285|                 .order-date {
1286|                     @order-date-indent: ceil(@h1__margin-bottom/1.5);
1287|                     margin: -@order-date-indent 0 18px;
1288|                 }
1289|             } in _responsive.less