Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/://tanningbuyersgroup.com/schemaorg) is not within the allowed path(s): (/var/www/vhosts/tanningbuyersgroup.com/:/tmp/) in /var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php on line 450

Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/://tanningbuyersgroup.com/schemaorg) is not within the allowed path(s): (/var/www/vhosts/tanningbuyersgroup.com/:/tmp/) in /var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php on line 457

Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/://tanningbuyersgroup.com/schemaorg) is not within the allowed path(s): (/var/www/vhosts/tanningbuyersgroup.com/:/tmp/) in /var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php on line 450

Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/://tanningbuyersgroup.com/schemaorg) is not within the allowed path(s): (/var/www/vhosts/tanningbuyersgroup.com/:/tmp/) in /var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php on line 457

Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/://tanningbuyersgroup.com/schemaorg) is not within the allowed path(s): (/var/www/vhosts/tanningbuyersgroup.com/:/tmp/) in /var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php on line 450

Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/://tanningbuyersgroup.com/schemaorg) is not within the allowed path(s): (/var/www/vhosts/tanningbuyersgroup.com/:/tmp/) in /var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php on line 457
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 contact data
  4. if ($view == 'contact' && $id > 0) {
  5. $additionalSchema = $cache->get(function ($id) use ($component, $baseId) {
  6. $model = $component->createModel('Contact', 'Site');
  7. $contact = $model->getItem($id);
  8. if (empty($contact->id)) {
  1. [$extension, $view, $id] = explode('.', $context);
  2. if ($extension === 'com_content' && $this->params->get('schema_content', 1)) {
  3. $this->injectContentSchema($context, $schema);
  4. } elseif ($extension === 'com_contact' && $this->params->get('schema_contact', 1)) {
  5. $this->injectContactSchema($context, $schema);
  6. }
  7. }
  8. /**
  9. * Inject com_content schemas if needed
  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('/var/www/vhosts/tanningbuyersgroup.com/httpdocs/includes/app.php') in /var/www/vhosts/tanningbuyersgroup.com/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';

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 contact data
  4. if ($view == 'contact' && $id > 0) {
  5. $additionalSchema = $cache->get(function ($id) use ($component, $baseId) {
  6. $model = $component->createModel('Contact', 'Site');
  7. $contact = $model->getItem($id);
  8. if (empty($contact->id)) {
  1. [$extension, $view, $id] = explode('.', $context);
  2. if ($extension === 'com_content' && $this->params->get('schema_content', 1)) {
  3. $this->injectContentSchema($context, $schema);
  4. } elseif ($extension === 'com_contact' && $this->params->get('schema_contact', 1)) {
  5. $this->injectContactSchema($context, $schema);
  6. }
  7. }
  8. /**
  9. * Inject com_content schemas if needed
  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('/var/www/vhosts/tanningbuyersgroup.com/httpdocs/includes/app.php') in /var/www/vhosts/tanningbuyersgroup.com/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] ValueError
ValueError:
Path must not be empty

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

  at /var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php:332
  at fopen()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Storage/FileStorage.php:332)
  at Joomla\CMS\Cache\Storage\FileStorage->lock()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Cache.php:384)
  at Joomla\CMS\Cache\Cache->lock()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Cache/Controller/CallbackController.php:64)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:561)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContactSchema()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:287)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/plugins/system/schemaorg/src/Extension/Schemaorg.php:460)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Document/HtmlDocument.php:578)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Document/HtmlDocument.php:897)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Document/HtmlDocument.php:650)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Application/CMSApplication.php:1120)
  at Joomla\CMS\Application\CMSApplication->render()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Application/SiteApplication.php:745)
  at Joomla\CMS\Application\SiteApplication->render()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/libraries/src/Application/CMSApplication.php:309)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/includes/app.php:58)
  at require_once('/var/www/vhosts/tanningbuyersgroup.com/httpdocs/includes/app.php')
     (/var/www/vhosts/tanningbuyersgroup.com/httpdocs/index.php:51)