'Invalid header value type; must be a string or numeric; received %s',
is_object($value) ? $value::class : gettype($value)
));
}
if (! self::isValid($value)) {
throw new Exception\InvalidArgumentException(sprintf(
'"%s" is not valid header value',
$value
));
}
}
. 'cannot be an empty array'
);
}
return array_map(static function ($value): string {
HeaderSecurity::assertValid($value);
$value = (string) $value;
// Normalize line folding to a single space (RFC 7230#3.2.4).
$value = str_replace(["\r\n\t", "\r\n "], ' ', $value);
'Invalid header value: must be a string or array of strings; '
. 'cannot be an empty array'
);
}
return array_map(static function ($value): string {
HeaderSecurity::assertValid($value);
$value = (string) $value;
// Normalize line folding to a single space (RFC 7230#3.2.4).
$new = clone $this;
if ($new->hasHeader($name)) {
unset($new->headers[$new->headerNames[$normalized]]);
}
$value = $this->filterHeaderValue($value);
$new->headerNames[$normalized] = $name;
$new->headers[$name] = $value;
return $new;
public function withAddedHeader($name, $value): MessageInterface
{
$this->assertHeader($name);
if (! $this->hasHeader($name)) {
return $this->withHeader($name, $value);
}
$header = $this->headerNames[strtolower($name)];
$new = clone $this;
if ($replace && $response->hasHeader($name)) {
$response = $response->withoutHeader($name);
}
// Add the header to the internal array.
$this->setResponse($response->withAddedHeader($name, $value));
return $this;
}
/**
if ($errorReporting === "development" || $errorReporting === "maximum") {
$status .= ' ' . str_replace("\n", ' ', $this->_error->getMessage());
}
CmsFactory::getApplication()->setHeader('status', $status);
// Set variables
$this->debug = $params['debug'] ?? false;
$this->error = $this->_error;
ob_end_clean();
}
$this->getDocument()->setTitle(Text::_('Error') . ': ' . $error->getCode());
return $this->getDocument()->render(
false,
[
'template' => $template->template,
'directory' => JPATH_THEMES,
'debug' => JDEBUG,
'subject' => $app,
'document' => $renderer->getDocument(),
])
);
$data = $renderer->render($error);
// If nothing was rendered, just use the message from the Exception
if (empty($data)) {
$data = $error->getMessage();
}
* @since 3.10.0
*/
public static function handleException(\Throwable $error)
{
static::logException($error);
static::render($error);
}
/**
* Render the error page based on an exception.
*
);
// Trigger the onError event.
$this->dispatchEvent('onError', $event);
ExceptionHandler::handleException($event->getError());
}
// Trigger the onBeforeRespond event.
$this->dispatchEvent(
'onBeforeRespond',
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once __DIR__ . '/includes/app.php';
return new MultiSpanSassFormatException($this->originalMessage, $this->span, '', [$label => $span], $previous);
}
public function withTrace(Trace $trace, ?\Throwable $previous = null): SassRuntimeException
{
return new SimpleSassRuntimeException($this->originalMessage, $this->span, $trace, $previous);
}
}
try {
return $callback();
} catch (SassRuntimeException $e) {
throw $e;
} catch (SassException $e) {
throw $e->withTrace($this->stackTrace($e->getSpan()), $e);
}
}
/**
* Runs $callback, and converts any {@see SassRuntimeException}s containing an
// TODO check how to handle stdin
$this->loadedUrls[$urlString] = true;
}
/** @var ExtensionStore $extensionStore */
[$css, $extensionStore] = $this->addExceptionTrace(fn() => $this->execute($importer, $node, $initialVariables));
$selectors = $extensionStore->getSimpleSelectors();
$unsatisfiedExtension = IterableUtil::firstOrNull($extensionStore->extensionsWhereTarget(fn (SimpleSelector $target) => !EquatableUtil::iterableContains($selectors, $target)));
if ($unsatisfiedExtension !== null) {
$this->throwForUnsatisfiedExtension($unsatisfiedExtension);
}
{
$oldContext = self::$evaluationContext;
self::$evaluationContext = $context;
try {
return $callback();
} finally {
self::$evaluationContext = $oldContext;
}
}
/**
* @param array<string, Value> $initialVariables
*/
public function run(?Importer $importer, Stylesheet $node, array $initialVariables = []): EvaluateResult
{
return EvaluationContext::withEvaluationContext(new VisitorEvaluationContext($this, $node), function () use ($importer, $node, $initialVariables) {
$url = $node->getSpan()->getSourceUrl();
if ($url !== null) {
$urlString = (string) $url;
$this->activeModules[$urlString] = null;
}
$variableName = str_replace('_', '-', $variableName);
$initialVariables[$variableName] = $variable;
}
$evaluateResult = (new EvaluateVisitor($importCache, $functions, $logger, $this->quietDeps, sourceMap: $wantsSourceMap))->run($importer, $stylesheet, $initialVariables);
$serializeResult = Serializer::serialize($evaluateResult->getStylesheet(), style: $this->outputStyle, sourceMap: $wantsSourceMap, charset: $this->charset, logger: $logger);
$css = $serializeResult->css;
$sourceMap = null;
$importCache = $this->createImportCache($logger);
$stylesheet = Stylesheet::parse($source, $syntax, $logger, $url);
$importer ??= $url === null ? new NoOpImporter() : new FilesystemImporter(null);
$result = $this->compileStylesheet($stylesheet, $importCache, $logger, $importer);
$logger->summarize();
return $result;
}
if ($color_mode && $color_mode_dark) {
$content .= '@include color-mode(dark) {'. $color_mode_dark .'}';
}
}
$css = $scss->compileString($content);
Framework::getDebugger()->log('Rendering Scss');
Helper::putContents($path, $css->getCss());
}
public function renderCss(): string
// rendering scss
Framework::getReporter('Logs')->add('Rendering Scss');
// clearing previous versions
Helper::clearCache($template->template, ['compiled-' . $scssVersion, 'template']);
// adding compiled scss in css file
$this->renderScss($cssFile);
if ($template->isDefault()) {
Helper::clearCache($template->template, ['template']);
File::copy($cssFile, JPATH_SITE . '/media/templates/site/' . $template->template . '/css/template.css');
}
} else {
public static function styles()
{
$document = Framework::getDocument();
$document->loadFontAwesome();
$document->astroidCSS();
return '';
}
}
}
Helper::triggerEvent('onBeforeAstroidRender'); // at last process all astroid:include
$document = Framework::getDocument();
Component\Utility::meta(); // site meta
Component\Utility::typography(); // site typography
Helper\Head::styles(); // site Styles
Component\LazyLoad::run(); // to execute lazy load
Component\Utility::cursorEffect(); // smooth scroll utility
Component\Utility::smoothScroll(); // smooth scroll utility
Helper\Head::scripts(); // site scripts
}
public function onBeforeRender()
{
if (defined('_ASTROID')) {
Framework::getClient()->onBeforeRender();
}
}
public function onAfterRender()
{
}
// Convert to indexed array for unpacking.
$arguments = array_values($arguments);
$result = $this->{$methodName}(...$arguments);
// Ignore null results
if ($result === null) {
return;
}
foreach ($this->listeners[$event->getName()] as $listener) {
if ($event->isStopped()) {
return $event;
}
$listener($event);
}
}
return $event;
}
$dispatcher = $this->getDispatcher();
} catch (\UnexpectedValueException $exception) {
return null;
}
return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
}
/**
* Method to run the application routines.
*
// Parse the document.
$this->document->parse($this->docOptions);
// Trigger the onBeforeRender event.
PluginHelper::importPlugin('system', null, true, $this->getDispatcher());
$this->dispatchEvent(
'onBeforeRender',
new BeforeRenderEvent('onBeforeRender', ['subject' => $this])
);
$caching = false;
$this->set('themeInherits', $template->parent);
break;
}
parent::render();
}
/**
* Route the application.
*
$this->doExecute();
// If we have an application document object, render it.
if ($this->document instanceof \Joomla\CMS\Document\Document) {
// Render the application output.
$this->render();
}
// If gzip compression is enabled in configuration and the server is compliant, compress the output.
if ($this->get('gzip') && !\ini_get('zlib.output_compression') && \ini_get('output_handler') !== 'ob_gzhandler') {
$this->compress();
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once __DIR__ . '/includes/app.php';
if (0 === stripos($error->getMessage(), 'expected')) {
$span = $this->adjustExceptionSpan($span);
}
throw new SimpleSassFormatException($error->getMessage(), $span, $error);
}
}
/**
* Moves span to {@see firstNewlineBefore} if necessary.
/**
* @throws SassFormatException
*/
public function parse(): SelectorList
{
return $this->wrapSpanFormatException(function () {
$selector = $this->selectorList();
if (!$this->scanner->isDone()) {
$this->scanner->error('expected selector.');
}
*
* @throws SassFormatException if parsing fails.
*/
public static function parse(string $contents, ?LoggerInterface $logger = null, ?InterpolationMap $interpolationMap = null, ?UriInterface $url = null, bool $allowParent = true, bool $plainCss = false): SelectorList
{
return (new SelectorParser($contents, $logger, $url, $allowParent, $interpolationMap, $plainCss))->parse();
}
/**
* @param list<ComplexSelector> $components
*/
);
return null;
}
$parsedSelector = SelectorList::parse($selectorText, $this->logger, $selectorMap, plainCss: $this->getStylesheet()->isPlainCss());
$nest = !($this->getStyleRule()?->isFromPlainCss() ?? false);
if ($nest) {
if ($this->getStylesheet()->isPlainCss()) {
foreach ($parsedSelector->getComponents() as $complex) {
if (\count($complex->getLeadingCombinators()) > 0) {
return $this->span;
}
public function accept(StatementVisitor $visitor)
{
return $visitor->visitStyleRule($this);
}
public function __toString(): string
{
return $this->selector . ' {' . implode(' ', $this->getChildren()) . '}';
* @phpstan-impure
*/
public function visitStylesheet(Stylesheet $node): ?Value
{
foreach ($node->getChildren() as $child) {
$child->accept($this);
}
return null;
}
$oldStylesheet = $this->stylesheet;
$oldInDependency = $this->inDependency;
$this->importer = $result->getImporter();
$this->stylesheet = $stylesheet;
$this->inDependency = $result->isDependency();
$this->visitStylesheet($stylesheet);
$this->importer = $oldImporter;
$this->stylesheet = $oldStylesheet;
$this->inDependency = $oldInDependency;
if ($url !== null) {
private function withStackFrame(string $member, AstNode $nodeWithSpan, callable $callback)
{
$this->stack[] = [$this->member, $nodeWithSpan];
$oldMember = $this->member;
$this->member = $member;
$result = $callback();
$this->member = $oldMember;
array_pop($this->stack);
return $result;
}
/**
* Adds the stylesheet imported by $import to the current document.
*/
private function visitDynamicImport(DynamicImport $import): void
{
$this->withStackFrame('@import', $import, function () use ($import) {
$result = $this->loadStylesheet($import->getUrlString(), $import->getSpan(), true);
$stylesheet = $result->getStylesheet();
$url = $stylesheet->getSpan()->getSourceUrl();
public function visitImportRule(ImportRule $node): ?Value
{
foreach ($node->getImports() as $import) {
if ($import instanceof DynamicImport) {
$this->visitDynamicImport($import);
} else {
assert($import instanceof StaticImport);
$this->visitStaticImport($import);
}
}
return $this->span;
}
public function accept(StatementVisitor $visitor)
{
return $visitor->visitImportRule($this);
}
public function __toString(): string
{
return '@import ' . implode(', ', $this->imports) . ';';
* @phpstan-impure
*/
public function visitStylesheet(Stylesheet $node): ?Value
{
foreach ($node->getChildren() as $child) {
$child->accept($this);
}
return null;
}
$this->declarationName = null;
$this->inUnknownAtRule = false;
$this->atRootExcludingStyleRule = false;
$this->inKeyFrames = false;
$this->visitStylesheet($stylesheet);
$css = $this->outOfOrderImports === null ? $root : new ModifiableCssStylesheet($stylesheet->getSpan(), $this->addOutOfOrderImports());
$this->importer = $oldImporter;
$this->stylesheet = $oldStylesheet;
$this->root = $oldRoot;
*/
private function withEnvironment(Environment $environment, callable $callback)
{
$oldEnvironment = $this->environment;
$this->environment = $environment;
$result = $callback();
$this->environment = $oldEnvironment;
return $result;
}
$css = null;
$extensionStore = ConcreteExtensionStore::create();
$this->withEnvironment($environment, function () use ($importer, $stylesheet, $extensionStore, &$css) {
$oldImporter = $this->importer;
$oldStylesheet = $this->stylesheet;
$oldRoot = $this->root;
$oldParent = $this->parent;
$oldEndOfImports = $this->endOfImports;
// TODO check how to handle stdin
$this->loadedUrls[$urlString] = true;
}
/** @var ExtensionStore $extensionStore */
[$css, $extensionStore] = $this->addExceptionTrace(fn() => $this->execute($importer, $node, $initialVariables));
$selectors = $extensionStore->getSimpleSelectors();
$unsatisfiedExtension = IterableUtil::firstOrNull($extensionStore->extensionsWhereTarget(fn (SimpleSelector $target) => !EquatableUtil::iterableContains($selectors, $target)));
if ($unsatisfiedExtension !== null) {
$this->throwForUnsatisfiedExtension($unsatisfiedExtension);
}
* @param-immediately-invoked-callable $callback
*/
private function addExceptionTrace(callable $callback)
{
try {
return $callback();
} catch (SassRuntimeException $e) {
throw $e;
} catch (SassException $e) {
throw $e->withTrace($this->stackTrace($e->getSpan()), $e);
}
// TODO check how to handle stdin
$this->loadedUrls[$urlString] = true;
}
/** @var ExtensionStore $extensionStore */
[$css, $extensionStore] = $this->addExceptionTrace(fn() => $this->execute($importer, $node, $initialVariables));
$selectors = $extensionStore->getSimpleSelectors();
$unsatisfiedExtension = IterableUtil::firstOrNull($extensionStore->extensionsWhereTarget(fn (SimpleSelector $target) => !EquatableUtil::iterableContains($selectors, $target)));
if ($unsatisfiedExtension !== null) {
$this->throwForUnsatisfiedExtension($unsatisfiedExtension);
}
{
$oldContext = self::$evaluationContext;
self::$evaluationContext = $context;
try {
return $callback();
} finally {
self::$evaluationContext = $oldContext;
}
}
/**
* @param array<string, Value> $initialVariables
*/
public function run(?Importer $importer, Stylesheet $node, array $initialVariables = []): EvaluateResult
{
return EvaluationContext::withEvaluationContext(new VisitorEvaluationContext($this, $node), function () use ($importer, $node, $initialVariables) {
$url = $node->getSpan()->getSourceUrl();
if ($url !== null) {
$urlString = (string) $url;
$this->activeModules[$urlString] = null;
}
$variableName = str_replace('_', '-', $variableName);
$initialVariables[$variableName] = $variable;
}
$evaluateResult = (new EvaluateVisitor($importCache, $functions, $logger, $this->quietDeps, sourceMap: $wantsSourceMap))->run($importer, $stylesheet, $initialVariables);
$serializeResult = Serializer::serialize($evaluateResult->getStylesheet(), style: $this->outputStyle, sourceMap: $wantsSourceMap, charset: $this->charset, logger: $logger);
$css = $serializeResult->css;
$sourceMap = null;
$importCache = $this->createImportCache($logger);
$stylesheet = Stylesheet::parse($source, $syntax, $logger, $url);
$importer ??= $url === null ? new NoOpImporter() : new FilesystemImporter(null);
$result = $this->compileStylesheet($stylesheet, $importCache, $logger, $importer);
$logger->summarize();
return $result;
}
if ($color_mode && $color_mode_dark) {
$content .= '@include color-mode(dark) {'. $color_mode_dark .'}';
}
}
$css = $scss->compileString($content);
Framework::getDebugger()->log('Rendering Scss');
Helper::putContents($path, $css->getCss());
}
public function renderCss(): string
// rendering scss
Framework::getReporter('Logs')->add('Rendering Scss');
// clearing previous versions
Helper::clearCache($template->template, ['compiled-' . $scssVersion, 'template']);
// adding compiled scss in css file
$this->renderScss($cssFile);
if ($template->isDefault()) {
Helper::clearCache($template->template, ['template']);
File::copy($cssFile, JPATH_SITE . '/media/templates/site/' . $template->template . '/css/template.css');
}
} else {
public static function styles()
{
$document = Framework::getDocument();
$document->loadFontAwesome();
$document->astroidCSS();
return '';
}
}
}
Helper::triggerEvent('onBeforeAstroidRender'); // at last process all astroid:include
$document = Framework::getDocument();
Component\Utility::meta(); // site meta
Component\Utility::typography(); // site typography
Helper\Head::styles(); // site Styles
Component\LazyLoad::run(); // to execute lazy load
Component\Utility::cursorEffect(); // smooth scroll utility
Component\Utility::smoothScroll(); // smooth scroll utility
Helper\Head::scripts(); // site scripts
}
public function onBeforeRender()
{
if (defined('_ASTROID')) {
Framework::getClient()->onBeforeRender();
}
}
public function onAfterRender()
{
}
// Convert to indexed array for unpacking.
$arguments = array_values($arguments);
$result = $this->{$methodName}(...$arguments);
// Ignore null results
if ($result === null) {
return;
}
foreach ($this->listeners[$event->getName()] as $listener) {
if ($event->isStopped()) {
return $event;
}
$listener($event);
}
}
return $event;
}
$dispatcher = $this->getDispatcher();
} catch (\UnexpectedValueException $exception) {
return null;
}
return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
}
/**
* Method to run the application routines.
*
// Parse the document.
$this->document->parse($this->docOptions);
// Trigger the onBeforeRender event.
PluginHelper::importPlugin('system', null, true, $this->getDispatcher());
$this->dispatchEvent(
'onBeforeRender',
new BeforeRenderEvent('onBeforeRender', ['subject' => $this])
);
$caching = false;
$this->set('themeInherits', $template->parent);
break;
}
parent::render();
}
/**
* Route the application.
*
$this->doExecute();
// If we have an application document object, render it.
if ($this->document instanceof \Joomla\CMS\Document\Document) {
// Render the application output.
$this->render();
}
// If gzip compression is enabled in configuration and the server is compliant, compress the output.
if ($this->get('gzip') && !\ini_get('zlib.output_compression') && \ini_get('output_handler') !== 'ob_gzhandler') {
$this->compress();
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once __DIR__ . '/includes/app.php';
$source = $this->mapSpan($error->getSpan());
$startIndex = $this->indexInContents($source->getStart());
$endIndex = $this->indexInContents($source->getEnd());
if (!IterableUtil::any(array_slice($this->interpolation->getContents(), $startIndex, $endIndex - $startIndex + 1), fn ($content) => $content instanceof Expression)) {
return new FormatException($error->getMessage(), $source, $error);
}
return new MultiSourceFormatException($error->getMessage(), $source, '', ['error in interpolated output' => $error->getSpan()], $error);
}
} catch (FormatException $e) {
if ($this->interpolationMap === null) {
throw $e;
}
throw $this->interpolationMap->mapException($e);
}
} catch (MultiSourceFormatException $error) {
$span = $error->getSpan();
$secondarySpans = $error->secondarySpans;
/**
* @throws SassFormatException
*/
public function parse(): SelectorList
{
return $this->wrapSpanFormatException(function () {
$selector = $this->selectorList();
if (!$this->scanner->isDone()) {
$this->scanner->error('expected selector.');
}
*
* @throws SassFormatException if parsing fails.
*/
public static function parse(string $contents, ?LoggerInterface $logger = null, ?InterpolationMap $interpolationMap = null, ?UriInterface $url = null, bool $allowParent = true, bool $plainCss = false): SelectorList
{
return (new SelectorParser($contents, $logger, $url, $allowParent, $interpolationMap, $plainCss))->parse();
}
/**
* @param list<ComplexSelector> $components
*/
);
return null;
}
$parsedSelector = SelectorList::parse($selectorText, $this->logger, $selectorMap, plainCss: $this->getStylesheet()->isPlainCss());
$nest = !($this->getStyleRule()?->isFromPlainCss() ?? false);
if ($nest) {
if ($this->getStylesheet()->isPlainCss()) {
foreach ($parsedSelector->getComponents() as $complex) {
if (\count($complex->getLeadingCombinators()) > 0) {
return $this->span;
}
public function accept(StatementVisitor $visitor)
{
return $visitor->visitStyleRule($this);
}
public function __toString(): string
{
return $this->selector . ' {' . implode(' ', $this->getChildren()) . '}';
* @phpstan-impure
*/
public function visitStylesheet(Stylesheet $node): ?Value
{
foreach ($node->getChildren() as $child) {
$child->accept($this);
}
return null;
}
$oldStylesheet = $this->stylesheet;
$oldInDependency = $this->inDependency;
$this->importer = $result->getImporter();
$this->stylesheet = $stylesheet;
$this->inDependency = $result->isDependency();
$this->visitStylesheet($stylesheet);
$this->importer = $oldImporter;
$this->stylesheet = $oldStylesheet;
$this->inDependency = $oldInDependency;
if ($url !== null) {
private function withStackFrame(string $member, AstNode $nodeWithSpan, callable $callback)
{
$this->stack[] = [$this->member, $nodeWithSpan];
$oldMember = $this->member;
$this->member = $member;
$result = $callback();
$this->member = $oldMember;
array_pop($this->stack);
return $result;
}
/**
* Adds the stylesheet imported by $import to the current document.
*/
private function visitDynamicImport(DynamicImport $import): void
{
$this->withStackFrame('@import', $import, function () use ($import) {
$result = $this->loadStylesheet($import->getUrlString(), $import->getSpan(), true);
$stylesheet = $result->getStylesheet();
$url = $stylesheet->getSpan()->getSourceUrl();
public function visitImportRule(ImportRule $node): ?Value
{
foreach ($node->getImports() as $import) {
if ($import instanceof DynamicImport) {
$this->visitDynamicImport($import);
} else {
assert($import instanceof StaticImport);
$this->visitStaticImport($import);
}
}
return $this->span;
}
public function accept(StatementVisitor $visitor)
{
return $visitor->visitImportRule($this);
}
public function __toString(): string
{
return '@import ' . implode(', ', $this->imports) . ';';
* @phpstan-impure
*/
public function visitStylesheet(Stylesheet $node): ?Value
{
foreach ($node->getChildren() as $child) {
$child->accept($this);
}
return null;
}
$this->declarationName = null;
$this->inUnknownAtRule = false;
$this->atRootExcludingStyleRule = false;
$this->inKeyFrames = false;
$this->visitStylesheet($stylesheet);
$css = $this->outOfOrderImports === null ? $root : new ModifiableCssStylesheet($stylesheet->getSpan(), $this->addOutOfOrderImports());
$this->importer = $oldImporter;
$this->stylesheet = $oldStylesheet;
$this->root = $oldRoot;
*/
private function withEnvironment(Environment $environment, callable $callback)
{
$oldEnvironment = $this->environment;
$this->environment = $environment;
$result = $callback();
$this->environment = $oldEnvironment;
return $result;
}
$css = null;
$extensionStore = ConcreteExtensionStore::create();
$this->withEnvironment($environment, function () use ($importer, $stylesheet, $extensionStore, &$css) {
$oldImporter = $this->importer;
$oldStylesheet = $this->stylesheet;
$oldRoot = $this->root;
$oldParent = $this->parent;
$oldEndOfImports = $this->endOfImports;
// TODO check how to handle stdin
$this->loadedUrls[$urlString] = true;
}
/** @var ExtensionStore $extensionStore */
[$css, $extensionStore] = $this->addExceptionTrace(fn() => $this->execute($importer, $node, $initialVariables));
$selectors = $extensionStore->getSimpleSelectors();
$unsatisfiedExtension = IterableUtil::firstOrNull($extensionStore->extensionsWhereTarget(fn (SimpleSelector $target) => !EquatableUtil::iterableContains($selectors, $target)));
if ($unsatisfiedExtension !== null) {
$this->throwForUnsatisfiedExtension($unsatisfiedExtension);
}
* @param-immediately-invoked-callable $callback
*/
private function addExceptionTrace(callable $callback)
{
try {
return $callback();
} catch (SassRuntimeException $e) {
throw $e;
} catch (SassException $e) {
throw $e->withTrace($this->stackTrace($e->getSpan()), $e);
}
// TODO check how to handle stdin
$this->loadedUrls[$urlString] = true;
}
/** @var ExtensionStore $extensionStore */
[$css, $extensionStore] = $this->addExceptionTrace(fn() => $this->execute($importer, $node, $initialVariables));
$selectors = $extensionStore->getSimpleSelectors();
$unsatisfiedExtension = IterableUtil::firstOrNull($extensionStore->extensionsWhereTarget(fn (SimpleSelector $target) => !EquatableUtil::iterableContains($selectors, $target)));
if ($unsatisfiedExtension !== null) {
$this->throwForUnsatisfiedExtension($unsatisfiedExtension);
}
{
$oldContext = self::$evaluationContext;
self::$evaluationContext = $context;
try {
return $callback();
} finally {
self::$evaluationContext = $oldContext;
}
}
/**
* @param array<string, Value> $initialVariables
*/
public function run(?Importer $importer, Stylesheet $node, array $initialVariables = []): EvaluateResult
{
return EvaluationContext::withEvaluationContext(new VisitorEvaluationContext($this, $node), function () use ($importer, $node, $initialVariables) {
$url = $node->getSpan()->getSourceUrl();
if ($url !== null) {
$urlString = (string) $url;
$this->activeModules[$urlString] = null;
}
$variableName = str_replace('_', '-', $variableName);
$initialVariables[$variableName] = $variable;
}
$evaluateResult = (new EvaluateVisitor($importCache, $functions, $logger, $this->quietDeps, sourceMap: $wantsSourceMap))->run($importer, $stylesheet, $initialVariables);
$serializeResult = Serializer::serialize($evaluateResult->getStylesheet(), style: $this->outputStyle, sourceMap: $wantsSourceMap, charset: $this->charset, logger: $logger);
$css = $serializeResult->css;
$sourceMap = null;
$importCache = $this->createImportCache($logger);
$stylesheet = Stylesheet::parse($source, $syntax, $logger, $url);
$importer ??= $url === null ? new NoOpImporter() : new FilesystemImporter(null);
$result = $this->compileStylesheet($stylesheet, $importCache, $logger, $importer);
$logger->summarize();
return $result;
}
if ($color_mode && $color_mode_dark) {
$content .= '@include color-mode(dark) {'. $color_mode_dark .'}';
}
}
$css = $scss->compileString($content);
Framework::getDebugger()->log('Rendering Scss');
Helper::putContents($path, $css->getCss());
}
public function renderCss(): string
// rendering scss
Framework::getReporter('Logs')->add('Rendering Scss');
// clearing previous versions
Helper::clearCache($template->template, ['compiled-' . $scssVersion, 'template']);
// adding compiled scss in css file
$this->renderScss($cssFile);
if ($template->isDefault()) {
Helper::clearCache($template->template, ['template']);
File::copy($cssFile, JPATH_SITE . '/media/templates/site/' . $template->template . '/css/template.css');
}
} else {
public static function styles()
{
$document = Framework::getDocument();
$document->loadFontAwesome();
$document->astroidCSS();
return '';
}
}
}
Helper::triggerEvent('onBeforeAstroidRender'); // at last process all astroid:include
$document = Framework::getDocument();
Component\Utility::meta(); // site meta
Component\Utility::typography(); // site typography
Helper\Head::styles(); // site Styles
Component\LazyLoad::run(); // to execute lazy load
Component\Utility::cursorEffect(); // smooth scroll utility
Component\Utility::smoothScroll(); // smooth scroll utility
Helper\Head::scripts(); // site scripts
}
public function onBeforeRender()
{
if (defined('_ASTROID')) {
Framework::getClient()->onBeforeRender();
}
}
public function onAfterRender()
{
}
// Convert to indexed array for unpacking.
$arguments = array_values($arguments);
$result = $this->{$methodName}(...$arguments);
// Ignore null results
if ($result === null) {
return;
}
foreach ($this->listeners[$event->getName()] as $listener) {
if ($event->isStopped()) {
return $event;
}
$listener($event);
}
}
return $event;
}
$dispatcher = $this->getDispatcher();
} catch (\UnexpectedValueException $exception) {
return null;
}
return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
}
/**
* Method to run the application routines.
*
// Parse the document.
$this->document->parse($this->docOptions);
// Trigger the onBeforeRender event.
PluginHelper::importPlugin('system', null, true, $this->getDispatcher());
$this->dispatchEvent(
'onBeforeRender',
new BeforeRenderEvent('onBeforeRender', ['subject' => $this])
);
$caching = false;
$this->set('themeInherits', $template->parent);
break;
}
parent::render();
}
/**
* Route the application.
*
$this->doExecute();
// If we have an application document object, render it.
if ($this->document instanceof \Joomla\CMS\Document\Document) {
// Render the application output.
$this->render();
}
// If gzip compression is enabled in configuration and the server is compliant, compress the output.
if ($this->get('gzip') && !\ini_get('zlib.output_compression') && \ini_get('output_handler') !== 'ob_gzhandler') {
$this->compress();
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once __DIR__ . '/includes/app.php';
$position ??= $this->position;
$length ??= 0;
$span = $this->sourceFile->span($position, $position + $length);
throw new FormatException($message, $span);
}
/**
* @throws FormatException
*/
{
return $this->wrapSpanFormatException(function () {
$selector = $this->selectorList();
if (!$this->scanner->isDone()) {
$this->scanner->error('expected selector.');
}
return $selector;
});
}
*/
protected function wrapSpanFormatException(callable $callback)
{
try {
try {
return $callback();
} catch (FormatException $e) {
if ($this->interpolationMap === null) {
throw $e;
}
/**
* @throws SassFormatException
*/
public function parse(): SelectorList
{
return $this->wrapSpanFormatException(function () {
$selector = $this->selectorList();
if (!$this->scanner->isDone()) {
$this->scanner->error('expected selector.');
}
*
* @throws SassFormatException if parsing fails.
*/
public static function parse(string $contents, ?LoggerInterface $logger = null, ?InterpolationMap $interpolationMap = null, ?UriInterface $url = null, bool $allowParent = true, bool $plainCss = false): SelectorList
{
return (new SelectorParser($contents, $logger, $url, $allowParent, $interpolationMap, $plainCss))->parse();
}
/**
* @param list<ComplexSelector> $components
*/
);
return null;
}
$parsedSelector = SelectorList::parse($selectorText, $this->logger, $selectorMap, plainCss: $this->getStylesheet()->isPlainCss());
$nest = !($this->getStyleRule()?->isFromPlainCss() ?? false);
if ($nest) {
if ($this->getStylesheet()->isPlainCss()) {
foreach ($parsedSelector->getComponents() as $complex) {
if (\count($complex->getLeadingCombinators()) > 0) {
return $this->span;
}
public function accept(StatementVisitor $visitor)
{
return $visitor->visitStyleRule($this);
}
public function __toString(): string
{
return $this->selector . ' {' . implode(' ', $this->getChildren()) . '}';
* @phpstan-impure
*/
public function visitStylesheet(Stylesheet $node): ?Value
{
foreach ($node->getChildren() as $child) {
$child->accept($this);
}
return null;
}
$oldStylesheet = $this->stylesheet;
$oldInDependency = $this->inDependency;
$this->importer = $result->getImporter();
$this->stylesheet = $stylesheet;
$this->inDependency = $result->isDependency();
$this->visitStylesheet($stylesheet);
$this->importer = $oldImporter;
$this->stylesheet = $oldStylesheet;
$this->inDependency = $oldInDependency;
if ($url !== null) {
private function withStackFrame(string $member, AstNode $nodeWithSpan, callable $callback)
{
$this->stack[] = [$this->member, $nodeWithSpan];
$oldMember = $this->member;
$this->member = $member;
$result = $callback();
$this->member = $oldMember;
array_pop($this->stack);
return $result;
}
/**
* Adds the stylesheet imported by $import to the current document.
*/
private function visitDynamicImport(DynamicImport $import): void
{
$this->withStackFrame('@import', $import, function () use ($import) {
$result = $this->loadStylesheet($import->getUrlString(), $import->getSpan(), true);
$stylesheet = $result->getStylesheet();
$url = $stylesheet->getSpan()->getSourceUrl();
public function visitImportRule(ImportRule $node): ?Value
{
foreach ($node->getImports() as $import) {
if ($import instanceof DynamicImport) {
$this->visitDynamicImport($import);
} else {
assert($import instanceof StaticImport);
$this->visitStaticImport($import);
}
}
return $this->span;
}
public function accept(StatementVisitor $visitor)
{
return $visitor->visitImportRule($this);
}
public function __toString(): string
{
return '@import ' . implode(', ', $this->imports) . ';';
* @phpstan-impure
*/
public function visitStylesheet(Stylesheet $node): ?Value
{
foreach ($node->getChildren() as $child) {
$child->accept($this);
}
return null;
}
$this->declarationName = null;
$this->inUnknownAtRule = false;
$this->atRootExcludingStyleRule = false;
$this->inKeyFrames = false;
$this->visitStylesheet($stylesheet);
$css = $this->outOfOrderImports === null ? $root : new ModifiableCssStylesheet($stylesheet->getSpan(), $this->addOutOfOrderImports());
$this->importer = $oldImporter;
$this->stylesheet = $oldStylesheet;
$this->root = $oldRoot;
*/
private function withEnvironment(Environment $environment, callable $callback)
{
$oldEnvironment = $this->environment;
$this->environment = $environment;
$result = $callback();
$this->environment = $oldEnvironment;
return $result;
}
$css = null;
$extensionStore = ConcreteExtensionStore::create();
$this->withEnvironment($environment, function () use ($importer, $stylesheet, $extensionStore, &$css) {
$oldImporter = $this->importer;
$oldStylesheet = $this->stylesheet;
$oldRoot = $this->root;
$oldParent = $this->parent;
$oldEndOfImports = $this->endOfImports;
// TODO check how to handle stdin
$this->loadedUrls[$urlString] = true;
}
/** @var ExtensionStore $extensionStore */
[$css, $extensionStore] = $this->addExceptionTrace(fn() => $this->execute($importer, $node, $initialVariables));
$selectors = $extensionStore->getSimpleSelectors();
$unsatisfiedExtension = IterableUtil::firstOrNull($extensionStore->extensionsWhereTarget(fn (SimpleSelector $target) => !EquatableUtil::iterableContains($selectors, $target)));
if ($unsatisfiedExtension !== null) {
$this->throwForUnsatisfiedExtension($unsatisfiedExtension);
}
* @param-immediately-invoked-callable $callback
*/
private function addExceptionTrace(callable $callback)
{
try {
return $callback();
} catch (SassRuntimeException $e) {
throw $e;
} catch (SassException $e) {
throw $e->withTrace($this->stackTrace($e->getSpan()), $e);
}
// TODO check how to handle stdin
$this->loadedUrls[$urlString] = true;
}
/** @var ExtensionStore $extensionStore */
[$css, $extensionStore] = $this->addExceptionTrace(fn() => $this->execute($importer, $node, $initialVariables));
$selectors = $extensionStore->getSimpleSelectors();
$unsatisfiedExtension = IterableUtil::firstOrNull($extensionStore->extensionsWhereTarget(fn (SimpleSelector $target) => !EquatableUtil::iterableContains($selectors, $target)));
if ($unsatisfiedExtension !== null) {
$this->throwForUnsatisfiedExtension($unsatisfiedExtension);
}
{
$oldContext = self::$evaluationContext;
self::$evaluationContext = $context;
try {
return $callback();
} finally {
self::$evaluationContext = $oldContext;
}
}
/**
* @param array<string, Value> $initialVariables
*/
public function run(?Importer $importer, Stylesheet $node, array $initialVariables = []): EvaluateResult
{
return EvaluationContext::withEvaluationContext(new VisitorEvaluationContext($this, $node), function () use ($importer, $node, $initialVariables) {
$url = $node->getSpan()->getSourceUrl();
if ($url !== null) {
$urlString = (string) $url;
$this->activeModules[$urlString] = null;
}
$variableName = str_replace('_', '-', $variableName);
$initialVariables[$variableName] = $variable;
}
$evaluateResult = (new EvaluateVisitor($importCache, $functions, $logger, $this->quietDeps, sourceMap: $wantsSourceMap))->run($importer, $stylesheet, $initialVariables);
$serializeResult = Serializer::serialize($evaluateResult->getStylesheet(), style: $this->outputStyle, sourceMap: $wantsSourceMap, charset: $this->charset, logger: $logger);
$css = $serializeResult->css;
$sourceMap = null;
$importCache = $this->createImportCache($logger);
$stylesheet = Stylesheet::parse($source, $syntax, $logger, $url);
$importer ??= $url === null ? new NoOpImporter() : new FilesystemImporter(null);
$result = $this->compileStylesheet($stylesheet, $importCache, $logger, $importer);
$logger->summarize();
return $result;
}
if ($color_mode && $color_mode_dark) {
$content .= '@include color-mode(dark) {'. $color_mode_dark .'}';
}
}
$css = $scss->compileString($content);
Framework::getDebugger()->log('Rendering Scss');
Helper::putContents($path, $css->getCss());
}
public function renderCss(): string
// rendering scss
Framework::getReporter('Logs')->add('Rendering Scss');
// clearing previous versions
Helper::clearCache($template->template, ['compiled-' . $scssVersion, 'template']);
// adding compiled scss in css file
$this->renderScss($cssFile);
if ($template->isDefault()) {
Helper::clearCache($template->template, ['template']);
File::copy($cssFile, JPATH_SITE . '/media/templates/site/' . $template->template . '/css/template.css');
}
} else {
public static function styles()
{
$document = Framework::getDocument();
$document->loadFontAwesome();
$document->astroidCSS();
return '';
}
}
}
Helper::triggerEvent('onBeforeAstroidRender'); // at last process all astroid:include
$document = Framework::getDocument();
Component\Utility::meta(); // site meta
Component\Utility::typography(); // site typography
Helper\Head::styles(); // site Styles
Component\LazyLoad::run(); // to execute lazy load
Component\Utility::cursorEffect(); // smooth scroll utility
Component\Utility::smoothScroll(); // smooth scroll utility
Helper\Head::scripts(); // site scripts
}
public function onBeforeRender()
{
if (defined('_ASTROID')) {
Framework::getClient()->onBeforeRender();
}
}
public function onAfterRender()
{
}
// Convert to indexed array for unpacking.
$arguments = array_values($arguments);
$result = $this->{$methodName}(...$arguments);
// Ignore null results
if ($result === null) {
return;
}
foreach ($this->listeners[$event->getName()] as $listener) {
if ($event->isStopped()) {
return $event;
}
$listener($event);
}
}
return $event;
}
$dispatcher = $this->getDispatcher();
} catch (\UnexpectedValueException $exception) {
return null;
}
return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
}
/**
* Method to run the application routines.
*
// Parse the document.
$this->document->parse($this->docOptions);
// Trigger the onBeforeRender event.
PluginHelper::importPlugin('system', null, true, $this->getDispatcher());
$this->dispatchEvent(
'onBeforeRender',
new BeforeRenderEvent('onBeforeRender', ['subject' => $this])
);
$caching = false;
$this->set('themeInherits', $template->parent);
break;
}
parent::render();
}
/**
* Route the application.
*
$this->doExecute();
// If we have an application document object, render it.
if ($this->document instanceof \Joomla\CMS\Document\Document) {
// Render the application output.
$this->render();
}
// If gzip compression is enabled in configuration and the server is compliant, compress the output.
if ($this->get('gzip') && !\ini_get('zlib.output_compression') && \ini_get('output_handler') !== 'ob_gzhandler') {
$this->compress();
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once __DIR__ . '/includes/app.php';
[5/5]
InvalidArgumentException
|
---|
Laminas\Diactoros\Exception\InvalidArgumentException: "500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ ' custom/custom.scss 109:19 @import - 1:266 root stylesheet" is not valid header value at /var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/laminas/laminas-diactoros/src/HeaderSecurity.php:135 at Laminas\Diactoros\HeaderSecurity::assertValid('500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ \' custom/custom.scss 109:19 @import - 1:266 root stylesheet') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/laminas/laminas-diactoros/src/MessageTrait.php:392) at Laminas\Diactoros\Response::Laminas\Diactoros\{closure}('500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ \' custom/custom.scss 109:19 @import - 1:266 root stylesheet') at array_map(object(Closure), array('500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ \' custom/custom.scss 109:19 @import - 1:266 root stylesheet')) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/laminas/laminas-diactoros/src/MessageTrait.php:391) at Laminas\Diactoros\Response->filterHeaderValue(array('500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ \' custom/custom.scss 109:19 @import - 1:266 root stylesheet')) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/laminas/laminas-diactoros/src/MessageTrait.php:208) at Laminas\Diactoros\Response->withHeader('status', '500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ \' custom/custom.scss 109:19 @import - 1:266 root stylesheet') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/laminas/laminas-diactoros/src/MessageTrait.php:238) at Laminas\Diactoros\Response->withAddedHeader('status', '500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ \' custom/custom.scss 109:19 @import - 1:266 root stylesheet') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/application/src/AbstractWebApplication.php:562) at Joomla\Application\AbstractWebApplication->setHeader('status', '500 expected selector. , 109 | .headline-warning 3.module-title{ | ^ \' custom/custom.scss 109:19 @import - 1:266 root stylesheet') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Document/ErrorDocument.php:131) at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'tp_schule', 'directory' => '/var/www/virtual/rs-karlsbad.de/htdocs/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Error/Renderer/HtmlRenderer.php:70) at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(SimpleSassRuntimeException)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Exception/ExceptionHandler.php:136) at Joomla\CMS\Exception\ExceptionHandler::render(object(SimpleSassRuntimeException)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Exception/ExceptionHandler.php:73) at Joomla\CMS\Exception\ExceptionHandler::handleException(object(SimpleSassRuntimeException)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:334) at Joomla\CMS\Application\CMSApplication->execute() (/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php:58) at require_once('/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php') (/var/www/virtual/rs-karlsbad.de/htdocs/index.php:32) |
[4/5]
SimpleSassRuntimeException
|
---|
ScssPhp\ScssPhp\Exception\SimpleSassRuntimeException: expected selector. , 109 | .headline-warning 3.module-title{ | ^ ' custom/custom.scss 109:19 @import - 1:266 root stylesheet at /var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Exception/SimpleSassFormatException.php:61 at ScssPhp\ScssPhp\Exception\SimpleSassFormatException->withTrace(object(Trace), object(SimpleSassFormatException)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3499) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->addExceptionTrace(object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:621) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluationContext.php:57) at ScssPhp\ScssPhp\Evaluation\EvaluationContext::withEvaluationContext(object(VisitorEvaluationContext), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:610) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->run(object(NoOpImporter), object(Stylesheet), array('blue' => object(SassColor), 'indigo' => object(SassColor), 'purple' => object(SassColor), 'pink' => object(SassColor), 'red' => object(SassColor), 'orange' => object(SassColor), 'yellow' => object(SassColor), 'green' => object(SassColor), 'teal' => object(SassColor), 'cyan' => object(SassColor), 'white' => object(SassColor), 'gray100' => object(SassColor), 'gray600' => object(SassColor), 'gray800' => object(SassColor), 'primary' => object(SassColor), 'secondary' => object(SassColor), 'success' => object(SassColor), 'info' => object(SassColor), 'warning' => object(SassColor), 'danger' => object(SassColor), 'light' => object(SassColor), 'dark' => object(SassColor))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:488) at ScssPhp\ScssPhp\Compiler->compileStylesheet(object(Stylesheet), object(ImportCache), object(DeprecationProcessingLogger), object(NoOpImporter)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:421) at ScssPhp\ScssPhp\Compiler->compileString('@import "../../../media/astroid/assets/vendor/bootstrap/scss/functions";@import "variable_overrides";@import "../../../media/astroid/assets/vendor/bootstrap/scss/bootstrap";@import "../../../media/astroid/assets/vendor/astroid/scss/astroid";@import "style";@import "custom/custom";') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1119) at Astroid\Document->renderScss('/var/www/virtual/rs-karlsbad.de/htdocs/media/templates/site/tp_schule/css/compiled-b1c3cfddd7470ce227daf49d2f38b16d.css') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1305) at Astroid\Document->astroidCSS() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Helper/Head.php:103) at Astroid\Helper\Head::styles() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Site.php:37) at Astroid\Site->onBeforeRender() (/var/www/virtual/rs-karlsbad.de/htdocs/plugins/system/astroid/src/Extension/AstroidPlugin.php:61) at Joomla\Plugin\System\Astroid\Extension\AstroidPlugin->onBeforeRender(object(SiteApplication)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Plugin/CMSPlugin.php:311) at Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454) at Joomla\Event\Dispatcher->dispatch('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/application/src/AbstractApplication.php:99) at Joomla\Application\AbstractApplication->dispatchEvent('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:1108) at Joomla\CMS\Application\CMSApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/SiteApplication.php:745) at Joomla\CMS\Application\SiteApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:309) at Joomla\CMS\Application\CMSApplication->execute() (/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php:58) at require_once('/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php') (/var/www/virtual/rs-karlsbad.de/htdocs/index.php:32) |
[3/5]
SimpleSassFormatException
|
---|
ScssPhp\ScssPhp\Exception\SimpleSassFormatException: line 109, column 19 of templates/tp_schule/scss/custom/custom.scss: expected selector. , 109 | .headline-warning 3.module-title{ | ^ ' at /var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/Parser.php:965 at ScssPhp\ScssPhp\Parser\Parser->wrapSpanFormatException(object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/SelectorParser.php:83) at ScssPhp\ScssPhp\Parser\SelectorParser->parse() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Selector/SelectorList.php:66) at ScssPhp\ScssPhp\Ast\Selector\SelectorList::parse('.headline-warning 3.module-title', object(DeprecationProcessingLogger), object(InterpolationMap), null, true, false) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1674) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStyleRule(object(StyleRule)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Sass/Statement/StyleRule.php:62) at ScssPhp\ScssPhp\Ast\Sass\Statement\StyleRule->accept(object(EvaluateVisitor)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:736) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStylesheet(object(Stylesheet)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1339) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3334) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->withStackFrame('@import', object(DynamicImport), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1313) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitDynamicImport(object(DynamicImport)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1298) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitImportRule(object(ImportRule)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Sass/Statement/ImportRule.php:58) at ScssPhp\ScssPhp\Ast\Sass\Statement\ImportRule->accept(object(EvaluateVisitor)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:736) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStylesheet(object(Stylesheet)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:677) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3043) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->withEnvironment(object(Environment), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:648) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->execute(object(NoOpImporter), object(Stylesheet), array('blue' => object(SassColor), 'indigo' => object(SassColor), 'purple' => object(SassColor), 'pink' => object(SassColor), 'red' => object(SassColor), 'orange' => object(SassColor), 'yellow' => object(SassColor), 'green' => object(SassColor), 'teal' => object(SassColor), 'cyan' => object(SassColor), 'white' => object(SassColor), 'gray100' => object(SassColor), 'gray600' => object(SassColor), 'gray800' => object(SassColor), 'primary' => object(SassColor), 'secondary' => object(SassColor), 'success' => object(SassColor), 'info' => object(SassColor), 'warning' => object(SassColor), 'danger' => object(SassColor), 'light' => object(SassColor), 'dark' => object(SassColor))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:621) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3495) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->addExceptionTrace(object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:621) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluationContext.php:57) at ScssPhp\ScssPhp\Evaluation\EvaluationContext::withEvaluationContext(object(VisitorEvaluationContext), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:610) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->run(object(NoOpImporter), object(Stylesheet), array('blue' => object(SassColor), 'indigo' => object(SassColor), 'purple' => object(SassColor), 'pink' => object(SassColor), 'red' => object(SassColor), 'orange' => object(SassColor), 'yellow' => object(SassColor), 'green' => object(SassColor), 'teal' => object(SassColor), 'cyan' => object(SassColor), 'white' => object(SassColor), 'gray100' => object(SassColor), 'gray600' => object(SassColor), 'gray800' => object(SassColor), 'primary' => object(SassColor), 'secondary' => object(SassColor), 'success' => object(SassColor), 'info' => object(SassColor), 'warning' => object(SassColor), 'danger' => object(SassColor), 'light' => object(SassColor), 'dark' => object(SassColor))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:488) at ScssPhp\ScssPhp\Compiler->compileStylesheet(object(Stylesheet), object(ImportCache), object(DeprecationProcessingLogger), object(NoOpImporter)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:421) at ScssPhp\ScssPhp\Compiler->compileString('@import "../../../media/astroid/assets/vendor/bootstrap/scss/functions";@import "variable_overrides";@import "../../../media/astroid/assets/vendor/bootstrap/scss/bootstrap";@import "../../../media/astroid/assets/vendor/astroid/scss/astroid";@import "style";@import "custom/custom";') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1119) at Astroid\Document->renderScss('/var/www/virtual/rs-karlsbad.de/htdocs/media/templates/site/tp_schule/css/compiled-b1c3cfddd7470ce227daf49d2f38b16d.css') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1305) at Astroid\Document->astroidCSS() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Helper/Head.php:103) at Astroid\Helper\Head::styles() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Site.php:37) at Astroid\Site->onBeforeRender() (/var/www/virtual/rs-karlsbad.de/htdocs/plugins/system/astroid/src/Extension/AstroidPlugin.php:61) at Joomla\Plugin\System\Astroid\Extension\AstroidPlugin->onBeforeRender(object(SiteApplication)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Plugin/CMSPlugin.php:311) at Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454) at Joomla\Event\Dispatcher->dispatch('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/application/src/AbstractApplication.php:99) at Joomla\Application\AbstractApplication->dispatchEvent('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:1108) at Joomla\CMS\Application\CMSApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/SiteApplication.php:745) at Joomla\CMS\Application\SiteApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:309) at Joomla\CMS\Application\CMSApplication->execute() (/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php:58) at require_once('/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php') (/var/www/virtual/rs-karlsbad.de/htdocs/index.php:32) |
[2/5]
FormatException
|
---|
ScssPhp\ScssPhp\Parser\FormatException: expected selector. at /var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/InterpolationMap.php:67 at ScssPhp\ScssPhp\Parser\InterpolationMap->mapException(object(FormatException)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/Parser.php:946) at ScssPhp\ScssPhp\Parser\Parser->wrapSpanFormatException(object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/SelectorParser.php:83) at ScssPhp\ScssPhp\Parser\SelectorParser->parse() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Selector/SelectorList.php:66) at ScssPhp\ScssPhp\Ast\Selector\SelectorList::parse('.headline-warning 3.module-title', object(DeprecationProcessingLogger), object(InterpolationMap), null, true, false) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1674) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStyleRule(object(StyleRule)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Sass/Statement/StyleRule.php:62) at ScssPhp\ScssPhp\Ast\Sass\Statement\StyleRule->accept(object(EvaluateVisitor)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:736) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStylesheet(object(Stylesheet)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1339) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3334) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->withStackFrame('@import', object(DynamicImport), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1313) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitDynamicImport(object(DynamicImport)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1298) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitImportRule(object(ImportRule)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Sass/Statement/ImportRule.php:58) at ScssPhp\ScssPhp\Ast\Sass\Statement\ImportRule->accept(object(EvaluateVisitor)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:736) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStylesheet(object(Stylesheet)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:677) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3043) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->withEnvironment(object(Environment), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:648) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->execute(object(NoOpImporter), object(Stylesheet), array('blue' => object(SassColor), 'indigo' => object(SassColor), 'purple' => object(SassColor), 'pink' => object(SassColor), 'red' => object(SassColor), 'orange' => object(SassColor), 'yellow' => object(SassColor), 'green' => object(SassColor), 'teal' => object(SassColor), 'cyan' => object(SassColor), 'white' => object(SassColor), 'gray100' => object(SassColor), 'gray600' => object(SassColor), 'gray800' => object(SassColor), 'primary' => object(SassColor), 'secondary' => object(SassColor), 'success' => object(SassColor), 'info' => object(SassColor), 'warning' => object(SassColor), 'danger' => object(SassColor), 'light' => object(SassColor), 'dark' => object(SassColor))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:621) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3495) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->addExceptionTrace(object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:621) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluationContext.php:57) at ScssPhp\ScssPhp\Evaluation\EvaluationContext::withEvaluationContext(object(VisitorEvaluationContext), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:610) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->run(object(NoOpImporter), object(Stylesheet), array('blue' => object(SassColor), 'indigo' => object(SassColor), 'purple' => object(SassColor), 'pink' => object(SassColor), 'red' => object(SassColor), 'orange' => object(SassColor), 'yellow' => object(SassColor), 'green' => object(SassColor), 'teal' => object(SassColor), 'cyan' => object(SassColor), 'white' => object(SassColor), 'gray100' => object(SassColor), 'gray600' => object(SassColor), 'gray800' => object(SassColor), 'primary' => object(SassColor), 'secondary' => object(SassColor), 'success' => object(SassColor), 'info' => object(SassColor), 'warning' => object(SassColor), 'danger' => object(SassColor), 'light' => object(SassColor), 'dark' => object(SassColor))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:488) at ScssPhp\ScssPhp\Compiler->compileStylesheet(object(Stylesheet), object(ImportCache), object(DeprecationProcessingLogger), object(NoOpImporter)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:421) at ScssPhp\ScssPhp\Compiler->compileString('@import "../../../media/astroid/assets/vendor/bootstrap/scss/functions";@import "variable_overrides";@import "../../../media/astroid/assets/vendor/bootstrap/scss/bootstrap";@import "../../../media/astroid/assets/vendor/astroid/scss/astroid";@import "style";@import "custom/custom";') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1119) at Astroid\Document->renderScss('/var/www/virtual/rs-karlsbad.de/htdocs/media/templates/site/tp_schule/css/compiled-b1c3cfddd7470ce227daf49d2f38b16d.css') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1305) at Astroid\Document->astroidCSS() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Helper/Head.php:103) at Astroid\Helper\Head::styles() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Site.php:37) at Astroid\Site->onBeforeRender() (/var/www/virtual/rs-karlsbad.de/htdocs/plugins/system/astroid/src/Extension/AstroidPlugin.php:61) at Joomla\Plugin\System\Astroid\Extension\AstroidPlugin->onBeforeRender(object(SiteApplication)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Plugin/CMSPlugin.php:311) at Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454) at Joomla\Event\Dispatcher->dispatch('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/application/src/AbstractApplication.php:99) at Joomla\Application\AbstractApplication->dispatchEvent('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:1108) at Joomla\CMS\Application\CMSApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/SiteApplication.php:745) at Joomla\CMS\Application\SiteApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:309) at Joomla\CMS\Application\CMSApplication->execute() (/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php:58) at require_once('/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php') (/var/www/virtual/rs-karlsbad.de/htdocs/index.php:32) |
[1/5]
FormatException
|
---|
ScssPhp\ScssPhp\Parser\FormatException: expected selector. at /var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/StringScanner.php:299 at ScssPhp\ScssPhp\Parser\StringScanner->error('expected selector.') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/SelectorParser.php:87) at ScssPhp\ScssPhp\Parser\SelectorParser->ScssPhp\ScssPhp\Parser\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/Parser.php:940) at ScssPhp\ScssPhp\Parser\Parser->wrapSpanFormatException(object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Parser/SelectorParser.php:83) at ScssPhp\ScssPhp\Parser\SelectorParser->parse() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Selector/SelectorList.php:66) at ScssPhp\ScssPhp\Ast\Selector\SelectorList::parse('.headline-warning 3.module-title', object(DeprecationProcessingLogger), object(InterpolationMap), null, true, false) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1674) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStyleRule(object(StyleRule)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Sass/Statement/StyleRule.php:62) at ScssPhp\ScssPhp\Ast\Sass\Statement\StyleRule->accept(object(EvaluateVisitor)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:736) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStylesheet(object(Stylesheet)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1339) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3334) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->withStackFrame('@import', object(DynamicImport), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1313) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitDynamicImport(object(DynamicImport)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:1298) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitImportRule(object(ImportRule)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Ast/Sass/Statement/ImportRule.php:58) at ScssPhp\ScssPhp\Ast\Sass\Statement\ImportRule->accept(object(EvaluateVisitor)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:736) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->visitStylesheet(object(Stylesheet)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:677) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3043) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->withEnvironment(object(Environment), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:648) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->execute(object(NoOpImporter), object(Stylesheet), array('blue' => object(SassColor), 'indigo' => object(SassColor), 'purple' => object(SassColor), 'pink' => object(SassColor), 'red' => object(SassColor), 'orange' => object(SassColor), 'yellow' => object(SassColor), 'green' => object(SassColor), 'teal' => object(SassColor), 'cyan' => object(SassColor), 'white' => object(SassColor), 'gray100' => object(SassColor), 'gray600' => object(SassColor), 'gray800' => object(SassColor), 'primary' => object(SassColor), 'secondary' => object(SassColor), 'success' => object(SassColor), 'info' => object(SassColor), 'warning' => object(SassColor), 'danger' => object(SassColor), 'light' => object(SassColor), 'dark' => object(SassColor))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:621) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:3495) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->addExceptionTrace(object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:621) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->ScssPhp\ScssPhp\Evaluation\{closure}() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluationContext.php:57) at ScssPhp\ScssPhp\Evaluation\EvaluationContext::withEvaluationContext(object(VisitorEvaluationContext), object(Closure)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Evaluation/EvaluateVisitor.php:610) at ScssPhp\ScssPhp\Evaluation\EvaluateVisitor->run(object(NoOpImporter), object(Stylesheet), array('blue' => object(SassColor), 'indigo' => object(SassColor), 'purple' => object(SassColor), 'pink' => object(SassColor), 'red' => object(SassColor), 'orange' => object(SassColor), 'yellow' => object(SassColor), 'green' => object(SassColor), 'teal' => object(SassColor), 'cyan' => object(SassColor), 'white' => object(SassColor), 'gray100' => object(SassColor), 'gray600' => object(SassColor), 'gray800' => object(SassColor), 'primary' => object(SassColor), 'secondary' => object(SassColor), 'success' => object(SassColor), 'info' => object(SassColor), 'warning' => object(SassColor), 'danger' => object(SassColor), 'light' => object(SassColor), 'dark' => object(SassColor))) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:488) at ScssPhp\ScssPhp\Compiler->compileStylesheet(object(Stylesheet), object(ImportCache), object(DeprecationProcessingLogger), object(NoOpImporter)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/vendor/scssphp/scssphp/src/Compiler.php:421) at ScssPhp\ScssPhp\Compiler->compileString('@import "../../../media/astroid/assets/vendor/bootstrap/scss/functions";@import "variable_overrides";@import "../../../media/astroid/assets/vendor/bootstrap/scss/bootstrap";@import "../../../media/astroid/assets/vendor/astroid/scss/astroid";@import "style";@import "custom/custom";') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1119) at Astroid\Document->renderScss('/var/www/virtual/rs-karlsbad.de/htdocs/media/templates/site/tp_schule/css/compiled-b1c3cfddd7470ce227daf49d2f38b16d.css') (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Document.php:1305) at Astroid\Document->astroidCSS() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Helper/Head.php:103) at Astroid\Helper\Head::styles() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/astroid/framework/library/astroid/Site.php:37) at Astroid\Site->onBeforeRender() (/var/www/virtual/rs-karlsbad.de/htdocs/plugins/system/astroid/src/Extension/AstroidPlugin.php:61) at Joomla\Plugin\System\Astroid\Extension\AstroidPlugin->onBeforeRender(object(SiteApplication)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Plugin/CMSPlugin.php:311) at Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454) at Joomla\Event\Dispatcher->dispatch('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/vendor/joomla/application/src/AbstractApplication.php:99) at Joomla\Application\AbstractApplication->dispatchEvent('onBeforeRender', object(BeforeRenderEvent)) (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:1108) at Joomla\CMS\Application\CMSApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/SiteApplication.php:745) at Joomla\CMS\Application\SiteApplication->render() (/var/www/virtual/rs-karlsbad.de/htdocs/libraries/src/Application/CMSApplication.php:309) at Joomla\CMS\Application\CMSApplication->execute() (/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php:58) at require_once('/var/www/virtual/rs-karlsbad.de/htdocs/includes/app.php') (/var/www/virtual/rs-karlsbad.de/htdocs/index.php:32) |