Warning: file_put_contents(/mnt/web201/a0/78/57812878/htdocs/t3-assets/dev/templates.t3_bs3_blank.less.custom.less.css): Failed to open stream: Permission denied in /mnt/web201/a0/78/57812878/htdocs/libraries/src/Filesystem/File.php on line 445 Path must not be empty (500 Whoops, looks like something went wrong.)

ValueError ValueError

HTTP 500 Whoops, looks like something went wrong.

Path must not be empty

Exceptions 2

ValueError

  1. $returning = new \stdClass();
  2. $returning->locklooped = false;
  3. $looptime = $locktime * 10;
  4. $path = $this->_getFilePath($id, $group);
  5. $_fileopen = @fopen($path, 'c+b');
  6. if (!$_fileopen) {
  7. $returning->locked = false;
  8. return $returning;
  1. $returning = new \stdClass();
  2. $returning->locklooped = false;
  3. $looptime = $locktime * 10;
  4. $path = $this->_getFilePath($id, $group);
  5. $_fileopen = @fopen($path, 'c+b');
  6. if (!$_fileopen) {
  7. $returning->locked = false;
  8. return $returning;
  1. * NOTE drivers with lock need also unlock or unlocking will fail because of false $id
  2. */
  3. $handler = $this->_getStorage();
  4. if ($this->_options['locking']) {
  5. $locked = $handler->lock($id, $group, $locktime);
  6. if ($locked !== false) {
  7. return $locked;
  8. }
  9. }
  1. $data = $this->cache->get($id);
  2. $locktest = (object) ['locked' => null, 'locklooped' => null];
  3. if ($data === false) {
  4. $locktest = $this->cache->lock($id);
  5. // If locklooped is true try to get the cached data again; it could exist now.
  6. if ($locktest->locked === true && $locktest->locklooped === true) {
  7. $data = $this->cache->get($id);
  8. }
  1. $cache = Factory::getContainer()->get(CacheControllerFactory::class)
  2. ->createCacheController('Callback', ['lifetime' => $app->get('cachetime'), 'caching' => $enableCache, 'defaultgroup' => 'schemaorg']);
  3. // Add article data
  4. if ($view == 'article' && $id > 0) {
  5. $additionalSchemas = $cache->get(function ($id) use ($component, $baseId) {
  6. $model = $component->createModel('Article', 'Site');
  7. $article = $model->getItem($id);
  8. if (empty($article->id)) {
  1. $schema = $event->getSchema();
  2. [$extension, $view, $id] = explode('.', $context);
  3. if ($extension === 'com_content' && $this->params->get('schema_content', 1)) {
  4. $this->injectContentSchema($context, $schema);
  5. } elseif ($extension === 'com_contact' && $this->params->get('schema_contact', 1)) {
  6. $this->injectContactSchema($context, $schema);
  7. }
  8. }
  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. 'subject' => $schema,
  2. 'context' => $context . '.' . $itemId,
  3. ]);
  4. PluginHelper::importPlugin('schemaorg', null, true, $dispatcher);
  5. $dispatcher->dispatch('onSchemaBeforeCompileHead', $event);
  6. $data = $schema->get('@graph');
  7. foreach ($data as $key => $entry) {
  8. $data[$key] = $this->cleanupSchema($entry);
  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. // Check for AttachBehavior
  2. $onAttachCallCache = WebAssetManager::callOnAttachCallback($wa->getAssets('script', true), $this->_doc);
  3. // Trigger the onBeforeCompileHead event
  4. $app->getDispatcher()->dispatch(
  5. 'onBeforeCompileHead',
  6. new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app, 'document' => $this->_doc])
  7. );
  8. // Re-Check for AttachBehavior for newly added assets
  1. $cbuffer[$hash] = $tmpdata;
  2. $cache->store($cbuffer, 'cbuffer_' . $type);
  3. } else {
  4. $this->setBuffer($renderer->render($name, $attribs, null), $type, $name, $title);
  5. }
  6. return parent::$_buffer[$type][$name][$title];
  7. }
  1. $replace = [];
  2. $with = [];
  3. foreach ($this->_template_tags as $jdoc => $args) {
  4. $replace[] = $jdoc;
  5. $with[] = $this->getBuffer($args['type'], $args['name'], $args['attribs']);
  6. }
  7. return str_replace($replace, $with, $this->_template);
  8. }
  9. }
  1. if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) {
  2. $this->cspNonce = $params['csp_nonce'];
  3. }
  4. $data = $this->_renderTemplate();
  5. parent::render($caching, $params);
  6. return $data;
  7. }
  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',
CMSApplication->execute() in /mnt/web201/a0/78/57812878/htdocs/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/mnt/web201/a0/78/57812878/htdocs/includes/app.php') in /mnt/web201/a0/78/57812878/htdocs/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';

ValueError

Path must not be empty

  1. $returning = new \stdClass();
  2. $returning->locklooped = false;
  3. $looptime = $locktime * 10;
  4. $path = $this->_getFilePath($id, $group);
  5. $_fileopen = @fopen($path, 'c+b');
  6. if (!$_fileopen) {
  7. $returning->locked = false;
  8. return $returning;
  1. $returning = new \stdClass();
  2. $returning->locklooped = false;
  3. $looptime = $locktime * 10;
  4. $path = $this->_getFilePath($id, $group);
  5. $_fileopen = @fopen($path, 'c+b');
  6. if (!$_fileopen) {
  7. $returning->locked = false;
  8. return $returning;
  1. * NOTE drivers with lock need also unlock or unlocking will fail because of false $id
  2. */
  3. $handler = $this->_getStorage();
  4. if ($this->_options['locking']) {
  5. $locked = $handler->lock($id, $group, $locktime);
  6. if ($locked !== false) {
  7. return $locked;
  8. }
  9. }
  1. $data = $this->cache->get($id);
  2. $locktest = (object) ['locked' => null, 'locklooped' => null];
  3. if ($data === false) {
  4. $locktest = $this->cache->lock($id);
  5. // If locklooped is true try to get the cached data again; it could exist now.
  6. if ($locktest->locked === true && $locktest->locklooped === true) {
  7. $data = $this->cache->get($id);
  8. }
  1. $cache = Factory::getContainer()->get(CacheControllerFactory::class)
  2. ->createCacheController('Callback', ['lifetime' => $app->get('cachetime'), 'caching' => $enableCache, 'defaultgroup' => 'schemaorg']);
  3. // Add article data
  4. if ($view == 'article' && $id > 0) {
  5. $additionalSchemas = $cache->get(function ($id) use ($component, $baseId) {
  6. $model = $component->createModel('Article', 'Site');
  7. $article = $model->getItem($id);
  8. if (empty($article->id)) {
  1. $schema = $event->getSchema();
  2. [$extension, $view, $id] = explode('.', $context);
  3. if ($extension === 'com_content' && $this->params->get('schema_content', 1)) {
  4. $this->injectContentSchema($context, $schema);
  5. } elseif ($extension === 'com_contact' && $this->params->get('schema_contact', 1)) {
  6. $this->injectContactSchema($context, $schema);
  7. }
  8. }
  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. 'subject' => $schema,
  2. 'context' => $context . '.' . $itemId,
  3. ]);
  4. PluginHelper::importPlugin('schemaorg', null, true, $dispatcher);
  5. $dispatcher->dispatch('onSchemaBeforeCompileHead', $event);
  6. $data = $schema->get('@graph');
  7. foreach ($data as $key => $entry) {
  8. $data[$key] = $this->cleanupSchema($entry);
  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. // Check for AttachBehavior
  2. $onAttachCallCache = WebAssetManager::callOnAttachCallback($wa->getAssets('script', true), $this->_doc);
  3. // Trigger the onBeforeCompileHead event
  4. $app->getDispatcher()->dispatch(
  5. 'onBeforeCompileHead',
  6. new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app, 'document' => $this->_doc])
  7. );
  8. // Re-Check for AttachBehavior for newly added assets
  1. *
  2. * @since 3.5
  3. */
  4. public function render($head, $params = [], $content = null)
  5. {
  6. return $this->_doc->loadRenderer('metas')->render($head, $params, $content)
  7. . $this->_doc->loadRenderer('styles')->render($head, $params, $content)
  8. . $this->_doc->loadRenderer('scripts')->render($head, $params, $content);
  9. }
  10. }
  1. $cbuffer[$hash] = $tmpdata;
  2. $cache->store($cbuffer, 'cbuffer_' . $type);
  3. } else {
  4. $this->setBuffer($renderer->render($name, $attribs, null), $type, $name, $title);
  5. }
  6. return parent::$_buffer[$type][$name][$title];
  7. }
  1. $replace = [];
  2. $with = [];
  3. foreach ($this->_template_tags as $jdoc => $args) {
  4. $replace[] = $jdoc;
  5. $with[] = $this->getBuffer($args['type'], $args['name'], $args['attribs']);
  6. }
  7. return str_replace($replace, $with, $this->_template);
  8. }
  9. }
  1. if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) {
  2. $this->cspNonce = $params['csp_nonce'];
  3. }
  4. $data = $this->_renderTemplate();
  5. parent::render($caching, $params);
  6. return $data;
  7. }
  1. if ($this->isClient('site') && $this->get('caching') && $this->get('caching', 2) == 2 && !$this->getIdentity()->id) {
  2. $caching = true;
  3. }
  4. // Render the document.
  5. $data = $this->document->render($caching, $this->docOptions);
  6. // Set the application output data.
  7. $this->setBody($data);
  8. // Trigger the onAfterRender event.
  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();
CMSApplication->execute() in /mnt/web201/a0/78/57812878/htdocs/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/mnt/web201/a0/78/57812878/htdocs/includes/app.php') in /mnt/web201/a0/78/57812878/htdocs/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] ValueError
ValueError:
Path must not be empty

  at /mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332
  at fopen()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332)
  at Joomla\CMS\Cache\Storage\FileStorage->lock()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Cache.php:384)
  at Joomla\CMS\Cache\Cache->lock()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Controller/CallbackController.php:64)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:336)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
     (/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:285)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/mnt/web201/a0/78/57812878/htdocs/plugins/system/schemaorg/src/Extension/Schemaorg.php:460)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:578)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:897)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:650)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/mnt/web201/a0/78/57812878/htdocs/includes/app.php:58)
  at require_once('/mnt/web201/a0/78/57812878/htdocs/includes/app.php')
     (/mnt/web201/a0/78/57812878/htdocs/index.php:51)                
[1/2] ValueError
ValueError:
Path must not be empty

  at /mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332
  at fopen()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Storage/FileStorage.php:332)
  at Joomla\CMS\Cache\Storage\FileStorage->lock()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Cache.php:384)
  at Joomla\CMS\Cache\Cache->lock()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Cache/Controller/CallbackController.php:64)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:336)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
     (/mnt/web201/a0/78/57812878/htdocs/plugins/content/joomla/src/Extension/Joomla.php:285)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/mnt/web201/a0/78/57812878/htdocs/plugins/system/schemaorg/src/Extension/Schemaorg.php:460)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/Renderer/Html/HeadRenderer.php:38)
  at Joomla\CMS\Document\Renderer\Html\HeadRenderer->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:578)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:897)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Document/HtmlDocument.php:650)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/CMSApplication.php:1120)
  at Joomla\CMS\Application\CMSApplication->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/SiteApplication.php:745)
  at Joomla\CMS\Application\SiteApplication->render()
     (/mnt/web201/a0/78/57812878/htdocs/libraries/src/Application/CMSApplication.php:309)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/mnt/web201/a0/78/57812878/htdocs/includes/app.php:58)
  at require_once('/mnt/web201/a0/78/57812878/htdocs/includes/app.php')
     (/mnt/web201/a0/78/57812878/htdocs/index.php:51)