Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/language-en-GB-lib_joomla.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/templates-yootheme-language-en-GB-en-GB.tpl_yootheme.ini.1793979887.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-com_content.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_article.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_custom.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_blogposting.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_book.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_event.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_organization.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_person.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_recipe.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510

Warning: file_put_contents(/srv/www/joomla/scholexplorer.openaire.eu/administrator/cache/language/administrator-language-en-GB-plg_schemaorg_jobposting.ini.1793979997.php): Failed to open stream: Permission denied in /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Language/LanguageHelper.php on line 510
Path cannot be empty (500 Whoops, looks like something went wrong.)

ValueError ValueError

HTTP 500 Whoops, looks like something went wrong.

Path cannot 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',
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/srv/www/joomla/scholexplorer.openaire.eu/includes/app.php') in /srv/www/joomla/scholexplorer.openaire.eu/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 cannot 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. $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();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/srv/www/joomla/scholexplorer.openaire.eu/includes/app.php') in /srv/www/joomla/scholexplorer.openaire.eu/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 cannot be empty

  at /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Storage/FileStorage.php:333
  at fopen()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Storage/FileStorage.php:333)
  at Joomla\CMS\Cache\Storage\FileStorage->lock()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Cache.php:384)
  at Joomla\CMS\Cache\Cache->lock()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Controller/CallbackController.php:64)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/srv/www/joomla/scholexplorer.openaire.eu/plugins/content/joomla/src/Extension/Joomla.php:370)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
     (/srv/www/joomla/scholexplorer.openaire.eu/plugins/content/joomla/src/Extension/Joomla.php:319)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/srv/www/joomla/scholexplorer.openaire.eu/plugins/system/schemaorg/src/Extension/Schemaorg.php:467)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/HtmlDocument.php:578)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/HtmlDocument.php:900)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/HtmlDocument.php:650)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Application/CMSApplication.php:350)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/srv/www/joomla/scholexplorer.openaire.eu/includes/app.php:58)
  at require_once('/srv/www/joomla/scholexplorer.openaire.eu/includes/app.php')
     (/srv/www/joomla/scholexplorer.openaire.eu/index.php:51)                
[1/2] ValueError
ValueError:
Path cannot be empty

  at /srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Storage/FileStorage.php:333
  at fopen()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Storage/FileStorage.php:333)
  at Joomla\CMS\Cache\Storage\FileStorage->lock()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Cache.php:384)
  at Joomla\CMS\Cache\Cache->lock()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Cache/Controller/CallbackController.php:64)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/srv/www/joomla/scholexplorer.openaire.eu/plugins/content/joomla/src/Extension/Joomla.php:370)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
     (/srv/www/joomla/scholexplorer.openaire.eu/plugins/content/joomla/src/Extension/Joomla.php:319)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/srv/www/joomla/scholexplorer.openaire.eu/plugins/system/schemaorg/src/Extension/Schemaorg.php:467)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/HtmlDocument.php:578)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/HtmlDocument.php:900)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Document/HtmlDocument.php:650)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Application/CMSApplication.php:1136)
  at Joomla\CMS\Application\CMSApplication->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Application/SiteApplication.php:585)
  at Joomla\CMS\Application\SiteApplication->render()
     (/srv/www/joomla/scholexplorer.openaire.eu/libraries/src/Application/CMSApplication.php:325)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/srv/www/joomla/scholexplorer.openaire.eu/includes/app.php:58)
  at require_once('/srv/www/joomla/scholexplorer.openaire.eu/includes/app.php')
     (/srv/www/joomla/scholexplorer.openaire.eu/index.php:51)