Jet Theme issue with 2.4.7
If i recall Jet theme is no longer being updated. so I am seeing if someone has found a fix to this. When attempting to upgrade to 2.4.7 and running php bin/magento setup:static-content:deploy -f
I get this error:
- Compilation from source: public_html/lib/web/mage/gallery/gallery.less
- ParseError: Unexpected input in _layout.less on line 13, column 22
- 11|
- 12| // Widths
- 13| @layout__max-width: {{width (layout_width)}};
- 14|
- 15| // Indents layout
- 16| @layout-indent__custom: {{width (indent_width)}};
- Error happened during deploy process: Magento\Framework\Exception\LocalizedException::__construct(): Argument #1 ($phrase) must be of type Magento\Framework\Phrase, string given, called in public_html/vendor/magento/module-deploy/Service/DeployPackage.php on line 142
If I hard code the value into the max width and indent, this error goes and away and is replaced by
- Compilation from source: /public_html/lib/web/mage/gallery/gallery.less
- ParseError: Unexpected input in _colors-system.less on line 5, column 28
- 3| // ____________________________________________
- 4|
- 5| @amtheme__primary__color: {{color (success_notification_color)}};
- 6| @amtheme__secondary__color: {{color (secondary_color)}};
- 7| @amtheme__outline__color: {{color (url_color)}};
- 8| @amtheme__text-primary__color: {{color (primary_font_color)}};
- Error happened during deploy process: Magento\Framework\Exception\LocalizedException::__construct(): Argument #1 ($phrase) must be of type Magento\Framework\Phrase, string given, called in public_html/vendor/magento/module-deploy/Service/DeployPackage.php on line 142
Is there an easy fix that someone can point me toward? I assume it is related to the way the values are being pulled from the database. I don't know much about less files and variables used within less files. When I look into variables in less files I just find @ style coding. I can't find anything on {{}} use in less files.