Deprecated: Creation of dynamic property PlgSystemjsm_bootstrap::$subject is deprecated in /var/www/vhosts/esv-knittelfeld.at/httpdocs/plugins/system/jsm_bootstrap/jsm_bootstrap.php on line 85
WebAssetManager is locked, you came late (500 Whoops, looks like something went wrong.)

RuntimeException InvalidActionException

HTTP 500 Whoops, looks like something went wrong.

WebAssetManager is locked, you came late

Exceptions 2

Joomla\CMS\WebAsset\Exception\ InvalidActionException

  1. * @since 4.0.0
  2. */
  3. public function useAsset(string $type, string $name): WebAssetManagerInterface
  4. {
  5. if ($this->locked) {
  6. throw new InvalidActionException('WebAssetManager is locked, you came late');
  7. }
  8. // Check whether asset exists
  9. $asset = $this->registry->get($type, $name);
  1. if (empty($arguments[0])) {
  2. throw new \BadMethodCallException('An asset name is required');
  3. }
  4. return $this->useAsset($type, $arguments[0]);
  5. }
  6. if (str_starts_with($method, 'addinline')) {
  7. $type = substr($method, 9);
  1. if (count($bootstrap_js)) {
  2. foreach ($bootstrap_js as $bootstrap) {
  3. $wa->useScript('bootstrap.'.$bootstrap['value']);
  4. }
  5. }
  6. $wa->useScript('astroid.script');
  7. }
  8. if (Helper::getPluginParams()->get('astroid_debug', 0)) {
  9. $wa->useScript('bootstrap.tab');
  10. $wa->useScript('astroid.debug');
  11. }
  1. $document = Astroid\Framework::getDocument(); // Astroid Document
  2. $params = Astroid\Framework::getTemplate()->getParams(); // Astroid Params
  3. Astroid\Helper\Head::meta(); // site meta
  4. Astroid\Component\Utility::custom(); // custom code
  5. Astroid\Helper\Head::scripts(); // site scripts
  6. Astroid\Helper\Head::favicon(); // site favicon
  7. Astroid\Component\Utility::error(); // error page styling
  8. /** @var JDocumentError $this */
require('/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/astroid/framework/layouts/system/error.php') in /var/www/vhosts/esv-knittelfeld.at/httpdocs/templates/astroid_template_zero/error.php (line 18)
  1. } catch (\Exception $e) {
  2. die('Please install and activate <a href="https://www.astroidframe.work/" target="_blank">Astroid Framework</a> in order to use this template.');
  3. }
  4. }
  5. require Astroid\Helper\Overrides::getHTMLSystem();
require('/var/www/vhosts/esv-knittelfeld.at/httpdocs/templates/astroid_template_zero/error.php') in /var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Document/HtmlDocument.php (line 734)
  1. // Store the file path
  2. $this->_file = $directory . '/' . $filename;
  3. // Get the file content
  4. ob_start();
  5. require $directory . '/' . $filename;
  6. $contents = ob_get_clean();
  7. }
  8. return $contents;
  9. }
  1. $this->baseurl = Uri::base(true);
  2. $this->params = $params['params'] ?? new Registry();
  3. $this->template = $template;
  4. // Load
  5. $this->_template = $this->_loadTemplate($baseDir, $file);
  6. return $this;
  7. }
  8. /**
  1. *
  2. * @since 1.7.0
  3. */
  4. public function parse($params = [])
  5. {
  6. return $this->_fetchTemplate($params)->_parseTemplate();
  7. }
  8. /**
  9. * Outputs the template to the browser.
  10. *
  1. public function render($caching = false, $params = [])
  2. {
  3. $this->_caching = $caching;
  4. if (empty($this->_template)) {
  5. $this->parse($params);
  6. }
  7. if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) {
  8. $this->cspNonce = $params['csp_nonce'];
  9. }
  1. $this->debug = $params['debug'] ?? false;
  2. $this->error = $this->_error;
  3. $params['file'] = 'error.php';
  4. return parent::render($cache, $params);
  5. }
  6. /**
  7. * Render the backtrace
  8. *
  1. ob_end_clean();
  2. }
  3. $this->getDocument()->setTitle(Text::_('Error') . ': ' . $error->getCode());
  4. return $this->getDocument()->render(
  5. false,
  6. [
  7. 'template' => $template->template,
  8. 'directory' => JPATH_THEMES,
  9. 'debug' => JDEBUG,
  1. 'subject' => $app,
  2. 'document' => $renderer->getDocument(),
  3. ])
  4. );
  5. $data = $renderer->render($error);
  6. // If nothing was rendered, just use the message from the Exception
  7. if (empty($data)) {
  8. $data = $error->getMessage();
  9. }
  1. * @since 3.10.0
  2. */
  3. public static function handleException(\Throwable $error)
  4. {
  5. static::logException($error);
  6. static::render($error);
  7. }
  8. /**
  9. * Render the error page based on an exception.
  10. *
  1. );
  2. // Trigger the onError event.
  3. $this->dispatchEvent('onError', $event);
  4. ExceptionHandler::handleException($event->getError());
  5. }
  6. // Trigger the onBeforeRespond event.
  7. $this->dispatchEvent(
  8. 'onBeforeRespond',
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/vhosts/esv-knittelfeld.at/httpdocs/includes/app.php') in /var/www/vhosts/esv-knittelfeld.at/httpdocs/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

RuntimeException

PHP regular expression limit reached (pcre.backtrack_limit)

  1. break;
  2. default:
  3. $message = 'Unknown PCRE error calling PCRE function';
  4. }
  5. throw new \RuntimeException($message);
  6. }
  7. }
  8. }
  1. // Replace all unknown protocols in CSS background image.
  2. if (str_contains($buffer, 'style=')) {
  3. $regex_url = '\s*url\s*\(([\'\"]|\&\#0?3[49];)?(?!/|\&\#0?3[49];|' . $protocols . '|\#)([^\)\'\"]+)([\'\"]|\&\#0?3[49];)?\)';
  4. $regex = '#style=\s*([\'\"])(.*):' . $regex_url . '#m';
  5. $buffer = preg_replace($regex, 'style=$1$2: url($3' . $base . '$4$5)', $buffer);
  6. $this->checkBuffer($buffer);
  7. }
  8. // Replace all unknown protocols in OBJECT param tag.
  9. if (str_contains($buffer, '<param')) {
  10. // OBJECT <param name="xx", value="yy"> -- fix it only inside the <param> tag.
  1. $app = $event->getApplication();
  2. if (!$app->isClient('site')) {
  3. return;
  4. }
  5. $this->rewriteUrls($app);
  6. }
  7. /**
  8. * Handle URL rewriting for error pages since they skip the normal render flow
  9. *
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
  1. $dispatcher = $this->getDispatcher();
  2. } catch (\UnexpectedValueException $exception) {
  3. return null;
  4. }
  5. return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
  6. }
  7. /**
  8. * Method to run the application routines.
  9. *
  1. // Set the application output data.
  2. $this->setBody($data);
  3. // Trigger the onAfterRender event.
  4. $this->dispatchEvent(
  5. 'onAfterRender',
  6. new AfterRenderEvent('onAfterRender', ['subject' => $this])
  7. );
  8. // Mark afterRender in the profiler.
  1. $this->set('themeInherits', $template->parent);
  2. break;
  3. }
  4. parent::render();
  5. }
  6. /**
  7. * Route the application.
  8. *
  1. $this->doExecute();
  2. // If we have an application document object, render it.
  3. if ($this->document instanceof \Joomla\CMS\Document\Document) {
  4. // Render the application output.
  5. $this->render();
  6. }
  7. // If gzip compression is enabled in configuration and the server is compliant, compress the output.
  8. if ($this->get('gzip') && !\ini_get('zlib.output_compression') && \ini_get('output_handler') !== 'ob_gzhandler') {
  9. $this->compress();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/vhosts/esv-knittelfeld.at/httpdocs/includes/app.php') in /var/www/vhosts/esv-knittelfeld.at/httpdocs/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

Stack Traces 2

[2/2] InvalidActionException
Joomla\CMS\WebAsset\Exception\InvalidActionException:
WebAssetManager is locked, you came late

  at /var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/WebAsset/WebAssetManager.php:270
  at Joomla\CMS\WebAsset\WebAssetManager->useAsset()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/WebAsset/WebAssetManager.php:208)
  at Joomla\CMS\WebAsset\WebAssetManager->__call()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/astroid/framework/library/astroid/Helper/Head.php:70)
  at Astroid\Helper\Head::scripts()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/astroid/framework/layouts/system/error.php:19)
  at require('/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/astroid/framework/layouts/system/error.php')
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/templates/astroid_template_zero/error.php:18)
  at require('/var/www/vhosts/esv-knittelfeld.at/httpdocs/templates/astroid_template_zero/error.php')
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Document/HtmlDocument.php:734)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Document/HtmlDocument.php:788)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Document/HtmlDocument.php:625)
  at Joomla\CMS\Document\HtmlDocument->parse()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Document/HtmlDocument.php:643)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/includes/app.php:58)
  at require_once('/var/www/vhosts/esv-knittelfeld.at/httpdocs/includes/app.php')
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/index.php:51)                
[1/2] RuntimeException
RuntimeException:
PHP regular expression limit reached (pcre.backtrack_limit)

  at /var/www/vhosts/esv-knittelfeld.at/httpdocs/plugins/system/sef/src/Extension/Sef.php:565
  at Joomla\Plugin\System\Sef\Extension\Sef->checkBuffer()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/plugins/system/sef/src/Extension/Sef.php:354)
  at Joomla\Plugin\System\Sef\Extension\Sef->rewriteUrls()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/plugins/system/sef/src/Extension/Sef.php:233)
  at Joomla\Plugin\System\Sef\Extension\Sef->onAfterRender()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Application/CMSApplication.php:1126)
  at Joomla\CMS\Application\CMSApplication->render()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Application/SiteApplication.php:745)
  at Joomla\CMS\Application\SiteApplication->render()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/libraries/src/Application/CMSApplication.php:309)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/includes/app.php:58)
  at require_once('/var/www/vhosts/esv-knittelfeld.at/httpdocs/includes/app.php')
     (/var/www/vhosts/esv-knittelfeld.at/httpdocs/index.php:51)