Quantcast
Channel: Themes & Design - Shopware Community Forum
Viewing all articles
Browse latest Browse all 1971

Theme Dashone V2 kompiliert nicht. (first argument to lighten must be a color)

$
0
0

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/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Tree/Call.php:80 Stack trace: #0 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Call->compile(Object(Less_Environment)) #1 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Tree/Call.php(45): Less_Tree_Expression->compile(Object(Less_Environment)) #2 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Call->compile(Object(Less_Environment)) #3 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment)) #4 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment)) #5 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment)) #6 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/oyejorge/less.php/lib/Less/Parser.php(187): Less_Tree_Ruleset->compile(Object(Less_Environment)) #7 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/engine/Shopware/Components/Theme/LessCompiler/Oyejorge.php(94): Less_Parser->getCss() #8 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/engine/Shopware/Components/Theme/Compiler.php(204): Shopware\Components\Theme\LessCompiler\Oyejorge->get() #9 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.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/<mein Benutzername>/shopware.<meine domain>.net/engine/Library/Enlight/Controller/Action.php(158): Shopware_Controllers_Backend_Cache->themeCacheWarmUpAction() #11 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('themeCacheWarmU...') #12 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.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/<mein Benutzername>/shopware.<meine domain>.net/engine/Shopware/Kernel.php(153): Enlight_Controller_Front->dispatch() #14 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.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/<mein Benutzername>/shopware.<meine domain>.net/vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.net/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 /var/www/virtual/<mein Benutzername>/shopware.<meine domain>.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: 
<h2><span class="frontend_error_exception">Ups! Ein Fehler ist aufgetreten!</span></h2>

    <p>
        <span class="frontend_error_exception">Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.</span>
    </p>

    <h3>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</h3>

    <h3>Stack trace:</h3>
    <div style="overflow:auto;">
        <pre>#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}</pre>
    </div>
<div class="doublespace"> </div>1 <unknown>

 


Viewing all articles
Browse latest Browse all 1971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>