Hallo,
ich habe einen Testshop auf einem uberspace eingereichtet, was gundsätzlich funktioniert auch das kompilieren von Themes, wenn etwas über das Shopware-Backend daran geändert wird. Jetzt habe ich ein Dashone V2 gekauft und das ließ sich auch die ersten Male richtig kompilieren, jetzt bleibt es aber immer hängen und in der logdatei landet ein ellenlanger Fehlereintrag.
Das Hauptproblem dürfte sein: ‚Less_Exception_Compiler‘ with message 'error evaluating function lighten
The first argument to lighten must be a color
Nur weiß ich damit nichts konkretes anzufangen.
An dem Theme wurde nur im Backend rumgefummelt und der Fehler kam auch schon oft bei dem vor Dashone verwendeten Theme, das von „Responsive“ abgeleitet war.
Würde mich über Kommmentare freuen.
Danke und Gruß
rowa
Hier noch der ganze Fehler (anonymisiert):
[2016-03-24 06:34:27] core.ERROR: exception 'Less_Exception_Compiler' with message 'error evaluating function `lighten` The first argument to lighten must be a color index: 420' in /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Tree/Call.php:80 Stack trace: #0 /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Call->compile(Object(Less_Environment)) #1 /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Tree/Call.php(45): Less_Tree_Expression->compile(Object(Less_Environment)) #2 /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Call->compile(Object(Less_Environment)) #3 /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment)) #4 /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment)) #5 /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment)) #6 /var/www/virtual//shopware..net/vendor/oyejorge/less.php/lib/Less/Parser.php(187): Less_Tree_Ruleset->compile(Object(Less_Environment)) #7 /var/www/virtual//shopware..net/engine/Shopware/Components/Theme/LessCompiler/Oyejorge.php(94): Less_Parser->getCss() #8 /var/www/virtual//shopware..net/engine/Shopware/Components/Theme/Compiler.php(204): Shopware\Components\Theme\LessCompiler\Oyejorge->get() #9 /var/www/virtual//shopware..net/engine/Shopware/Controllers/Backend/Cache.php(174): Shopware\Components\Theme\Compiler->compileLess('new', Object(Shopware\Models\Shop\Template), Object(Shopware\Models\Shop\Shop)) #10 /var/www/virtual//shopware..net/engine/Library/Enlight/Controller/Action.php(158): Shopware_Controllers_Backend_Cache->themeCacheWarmUpAction() #11 /var/www/virtual//shopware..net/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('themeCacheWarmU...') #12 /var/www/virtual//shopware..net/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #13 /var/www/virtual//shopware..net/engine/Shopware/Kernel.php(153): Enlight_Controller_Front->dispatch() #14 /var/www/virtual//shopware..net/vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /var/www/virtual//shopware..net/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /var/www/virtual//shopware..net/vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /var/www/virtual//shopware..net/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 /var/www/virtual//shopware..net/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main} [] {"uid":"8d45a11"}
Hier noch der Fehler aus der Firefox Dev-Console:
07:45:56.300 Ext.Error: You're trying to decode an invalid JSON String:
Ups! Ein Fehler ist aufgetreten!
Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.
error evaluating function `lighten` The first argument to lighten must be a color index: 420 in vendor/oyejorge/less.php/lib/Less/Tree/Call.php on line 80
Stack trace:
#0 vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Call->compile(Object(Less_Environment))
#1 vendor/oyejorge/less.php/lib/Less/Tree/Call.php(45): Less_Tree_Expression->compile(Object(Less_Environment))
#2 vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Call->compile(Object(Less_Environment))
#3 vendor/oyejorge/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment))
#4 vendor/oyejorge/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment))
#5 vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment))
#6 vendor/oyejorge/less.php/lib/Less/Parser.php(187): Less_Tree_Ruleset->compile(Object(Less_Environment))
#7 Shopware/Components/Theme/LessCompiler/Oyejorge.php(94): Less_Parser->getCss()
#8 Shopware/Components/Theme/Compiler.php(204): Shopware\Components\Theme\LessCompiler\Oyejorge->get()
#9 Shopware/Controllers/Backend/Cache.php(174): Shopware\Components\Theme\Compiler->compileLess('new', Object(Shopware\Models\Shop\Template), Object(Shopware\Models\Shop\Shop))
#10 Enlight/Controller/Action.php(158): Shopware_Controllers_Backend_Cache->themeCacheWarmUpAction()
#11 Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('themeCacheWarmU...')
#12 Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#13 Shopware/Kernel.php(153): Enlight_Controller_Front->dispatch()
#14 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#17 Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#18 shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#19 {main}
1