* Function to test whether we are in an article view.
*
* returns boolean True if current view is an article
*/
public static function isArticle() {
$option = JRequest::getCmd('option');
$view = JRequest::getCmd('view');
$id = JRequest::getInt('id');
// return True if this is an article
return ($option == 'com_content' && $view == 'article' && $id);
}
public static function getList($params)
{
$includeMenuTypes = $params->get('fj_menu_item_types', 'article');
// only do this if this is an article or if we are showing this module for any menu item type
if (self::isArticle() || ($includeMenuTypes == 'any')) //only show for article pages
{
$db = JFactory::getDBO();
$user = JFactory::getUser();
$userGroups = implode(',', $user->getAuthorisedViewLevels());
defined('_JEXEC') or die;
// Include the syndicate functions only once
require_once (dirname(__FILE__) . '/helper.php');
$list = modFJRelatedPlusHelper::getList($params); // get return results from the helper
$articleView = modFJRelatedPlusHelper::isArticle(); // is this an article?
$subtitle = '';
if (!count($list)) { // no articles to list. check whether we want to show some text
unset($displayData);
} else {
extract($displayData);
}
include $path;
};
$loader($path, $this->getLayoutData());
}
}
}
include $path;
};
$loader($path, $this->getLayoutData());
}
}
$dispatcher = $app->bootModule($module->module, $app->getName())->getDispatcher($module, $app);
// Check if we have a dispatcher
if ($dispatcher) {
ob_start();
$dispatcher->dispatch();
$module->content = ob_get_clean();
}
// Add the flag that the module content has been rendered
$module->contentRendered = true;
// Get module parameters
$params = new Registry($module->params);
// Render the module content
static::renderRawModule($module, $params, $attribs);
// Return early if only the content is required
if (!empty($attribs['contentOnly'])) {
return $module->content;
}
$module->contentRendered = true;
return $module->content;
}
return ModuleHelper::renderModule($module, $attribs);
}
}
return '';
}
$renderer = $document->loadRenderer('module');
$html = trim($renderer->render($module, $attribs));
} else {
$html = trim($module->content);
}
// Add frontend editing feature as it has only been defined for module positions.
return '';
}
$html = '';
foreach (ModuleHelper::getModules($position) as $module) {
$html .= $this->displayModule($module, $attribs);
}
return $html;
}
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
if (!$arguments) {
$ret = $object->$method();
} else {
$ret = \call_user_func_array([$object, $method], $arguments);
}
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$this->env->isStrictVariables())) {
return;
}
// line 3
public function block_particle($context, array $blocks = [])
{
// line 4
echo " ";
echo $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "platform", []), "displayModules", [0 => $this->getAttribute(($context["particle"] ?? null), "key", []), 1 => ["style" => (($this->getAttribute(($context["particle"] ?? null), "chrome", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "chrome", []), "gantry")) : ("gantry"))]], "method");
echo "
";
}
public function getTemplateName()
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
echo " ";
$this->displayBlock('javascript_footer', $context, $blocks);
$content = ob_get_clean();
$assetFunction($content, $location, $priority);
// line 14
$this->displayBlock('particle', $context, $blocks);
}
// line 2
public function block_stylesheets($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/position.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_particle($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
echo " ";
if ((($context["enabled"] ?? null) && ((null === $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "enabled", [])) || $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "enabled", [])))) {
// line 9
echo " ";
$this->loadTemplate([0 => (("particles/" . (($this->getAttribute(($context["segment"] ?? null), "subtype", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", []), "position")) : ("position"))) . ".html.twig"), 1 => (("@particles/" . (($this->getAttribute( // line 10
($context["segment"] ?? null), "subtype", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", []), "position")) : ("position"))) . ".html.twig")], "@nucleus/content/position.html.twig", 9)->display($context);
// line 11
echo " ";
}
// line 12
echo " ";
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
echo "
";
} else {
// line 13
echo " ";
$this->loadTemplate([0 => (("@nucleus/content/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), 1 => (("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig")], "@nucleus/layout/block.html.twig", 13)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 14
echo " ";
}
// line 15
echo " ";
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
// line 7
echo " ";
$this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), "@nucleus/layout/grid.html.twig", 7)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 8
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
// line 14
echo " ";
$this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), "@nucleus/layout/section.html.twig", 14)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 15
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
echo "
";
} else {
// line 13
echo " ";
$this->loadTemplate([0 => (("@nucleus/content/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), 1 => (("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig")], "@nucleus/layout/block.html.twig", 13)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 14
echo " ";
}
// line 15
echo " ";
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
// line 7
echo " ";
$this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), "@nucleus/layout/grid.html.twig", 7)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 8
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
// line 3
echo " ";
$this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), "@nucleus/layout/container.html.twig", 3)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 4
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
echo "
";
} else {
// line 13
echo " ";
$this->loadTemplate([0 => (("@nucleus/content/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), 1 => (("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig")], "@nucleus/layout/block.html.twig", 13)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 14
echo " ";
}
// line 15
echo " ";
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
// line 7
echo " ";
$this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), "@nucleus/layout/grid.html.twig", 7)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 8
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
// line 3
echo " ";
$this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), "@nucleus/layout/container.html.twig", 3)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 4
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
// line 34
echo " ";
if (($this->getAttribute($context["segment"], "type", []) != "offcanvas")) {
// line 35
echo " ";
$this->loadTemplate((("@nucleus/layout/" . $this->getAttribute($context["segment"], "type", [])) . ".html.twig"), "@nucleus/page.html.twig", 35)->display(twig_array_merge($context, ["segments" => $this->getAttribute($context["segment"], "children", [])]));
// line 36
echo " ";
}
// line 37
echo " ";
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
$context["offcanvas_position"] = ((($context["page_offcanvas"] ?? null)) ? ((($this->getAttribute($this->getAttribute(($context["offcanvas"] ?? null), "attributes", [], "any", false, true), "position", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute(($context["offcanvas"] ?? null), "attributes", [], "any", false, true), "position", []), "g-offcanvas-left")) : ("g-offcanvas-left"))) : (""));
// line 31
ob_start(function () { return ''; });
// line 32
echo " ";
$this->displayBlock('page_layout', $context, $blocks);
$context["page_layout"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 41
ob_start(function () { return ''; });
// line 42
echo " ";
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@nucleus/page.html.twig", "partials/page.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_page_footer($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("partials/page.html.twig", "error.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_page_head($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
*/
public function render($context = [])
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
}
/**
* Displays the template.
*
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
public function render($file, array $context = [])
{
// Include Gantry specific things to the context.
$context = $this->getContext($context);
return $this->renderer()->render($file, $context);
}
/**
* Compile and render twig string.
*
unset($gantry['configuration']);
// Render the page.
echo $theme
->setLayout('_error', true)
->render('error.html.twig', $context);
// Store the file path
$this->_file = $directory . '/' . $filename;
// Get the file content
ob_start();
require $directory . '/' . $filename;
$contents = ob_get_clean();
}
return $contents;
}
$this->baseurl = Uri::base(true);
$this->params = $params['params'] ?? new Registry();
$this->template = $template;
// Load
$this->_template = $this->_loadTemplate($baseDir, $file);
return $this;
}
/**
*
* @since 1.7.0
*/
public function parse($params = [])
{
return $this->_fetchTemplate($params)->_parseTemplate();
}
/**
* Outputs the template to the browser.
*
public function render($caching = false, $params = [])
{
$this->_caching = $caching;
if (empty($this->_template)) {
$this->parse($params);
}
if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) {
$this->cspNonce = $params['csp_nonce'];
}
$this->debug = $params['debug'] ?? false;
$this->error = $this->_error;
$params['file'] = 'error.php';
return parent::render($cache, $params);
}
/**
* Render the backtrace
*
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 dirname(__FILE__) . '/includes/app.php';
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
require_once (JPATH_SITE .'/components/com_content/helpers/route.php');
class modFJRelatedPlusHelper
{
/**
* The keywords from the Main Article
// no direct access
defined('_JEXEC') or die;
// Include the syndicate functions only once
require_once (dirname(__FILE__) . '/helper.php');
$list = modFJRelatedPlusHelper::getList($params); // get return results from the helper
$articleView = modFJRelatedPlusHelper::isArticle(); // is this an article?
$subtitle = '';
unset($displayData);
} else {
extract($displayData);
}
include $path;
};
$loader($path, $this->getLayoutData());
}
}
}
include $path;
};
$loader($path, $this->getLayoutData());
}
}
$dispatcher = $app->bootModule($module->module, $app->getName())->getDispatcher($module, $app);
// Check if we have a dispatcher
if ($dispatcher) {
ob_start();
$dispatcher->dispatch();
$module->content = ob_get_clean();
}
// Add the flag that the module content has been rendered
$module->contentRendered = true;
// Get module parameters
$params = new Registry($module->params);
// Render the module content
static::renderRawModule($module, $params, $attribs);
// Return early if only the content is required
if (!empty($attribs['contentOnly'])) {
return $module->content;
}
$module->contentRendered = true;
return $module->content;
}
return ModuleHelper::renderModule($module, $attribs);
}
}
return '';
}
$renderer = $document->loadRenderer('module');
$html = trim($renderer->render($module, $attribs));
} else {
$html = trim($module->content);
}
// Add frontend editing feature as it has only been defined for module positions.
return '';
}
$html = '';
foreach (ModuleHelper::getModules($position) as $module) {
$html .= $this->displayModule($module, $attribs);
}
return $html;
}
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
if (!$arguments) {
$ret = $object->$method();
} else {
$ret = \call_user_func_array([$object, $method], $arguments);
}
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$this->env->isStrictVariables())) {
return;
}
// line 3
public function block_particle($context, array $blocks = [])
{
// line 4
echo " ";
echo $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "platform", []), "displayModules", [0 => $this->getAttribute(($context["particle"] ?? null), "key", []), 1 => ["style" => (($this->getAttribute(($context["particle"] ?? null), "chrome", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "chrome", []), "gantry")) : ("gantry"))]], "method");
echo "
";
}
public function getTemplateName()
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
echo " ";
$this->displayBlock('javascript_footer', $context, $blocks);
$content = ob_get_clean();
$assetFunction($content, $location, $priority);
// line 14
$this->displayBlock('particle', $context, $blocks);
}
// line 2
public function block_stylesheets($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/position.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_particle($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
echo " ";
if ((($context["enabled"] ?? null) && ((null === $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "enabled", [])) || $this->getAttribute($this->getAttribute(($context["segment"] ?? null), "attributes", []), "enabled", [])))) {
// line 9
echo " ";
$this->loadTemplate([0 => (("particles/" . (($this->getAttribute(($context["segment"] ?? null), "subtype", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", []), "position")) : ("position"))) . ".html.twig"), 1 => (("@particles/" . (($this->getAttribute( // line 10
($context["segment"] ?? null), "subtype", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["segment"] ?? null), "subtype", []), "position")) : ("position"))) . ".html.twig")], "@nucleus/content/position.html.twig", 9)->display($context);
// line 11
echo " ";
}
// line 12
echo " ";
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
*/
public function render($context = [])
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
}
/**
* Displays the template.
*
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
public function render($file, array $context = [])
{
// Include Gantry specific things to the context.
$context = $this->getContext($context);
return $this->renderer()->render($file, $context);
}
/**
* Compile and render twig string.
*
$context = $this->getContext(['segment' => $item, 'enabled' => 1, 'particle' => $particle] + $options);
/** @var Document $document */
$document = $gantry['document'];
$document::push();
$html = trim($this->render("@nucleus/content/{$item->type}.html.twig", $context));
$content = $document::pop()->setContent($html);
if (isset($file)) {
// Save HTML and assets into the cache.
if (\GANTRY_DEBUGGER) {
*/
public function renderContent($item, $options = [])
{
$gantry = static::gantry();
$content = $this->getContent($item, $options);
/** @var Document $document */
$document = $gantry['document'];
$document->addBlock($content);
case 'spacer':
if (\GANTRY_DEBUGGER) {
Debugger::startTimer($item->id, "Rendering {$item->id}");
}
$item->content = $this->renderContent($item, ['prepare_layout' => true]);
// Note that content can also be null (postpone rendering).
if ($item->content === '') {
unset($items[$i]);
}
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
$fixed = true;
foreach ($item->children as $child) {
$fixed &= !empty($child->attributes->fixed);
}
$this->prepareLayout($item->children, $fixed, $temporary);
}
// TODO: remove hard coded types.
switch ($item->type) {
case 'system':
if (\GANTRY_DEBUGGER) {
Debugger::startTimer('segments', 'Preparing layout');
}
$this->prepareLayout($this->segments);
if (\GANTRY_DEBUGGER) {
Debugger::stopTimer('segments');
}
}
// Some objects throw exceptions when they have __call, and the method we try
// to call is not supported. If ignoreStrictCheck is true, we should return null.
try {
if (!$arguments) {
$ret = $object->$method();
} else {
$ret = \call_user_func_array([$object, $method], $arguments);
}
} catch (\BadMethodCallException $e) {
if ($call && ($ignoreStrictCheck || !$this->env->isStrictVariables())) {
// line 2
$this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "setLayout", [], "method");
// line 3
$this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "loadAtoms", [], "method");
// line 4
$context["segments"] = $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "segments", [], "method");
// line 6
ob_start(function () { return ''; });
// line 7
echo " ";
if ($this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "hasContent", [], "method")) {
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@nucleus/page.html.twig", "partials/page.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_page_footer($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("partials/page.html.twig", "index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = [])
{
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
*/
public function render($context = [])
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
}
/**
* Displays the template.
*
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
public function render($file, array $context = [])
{
// Include Gantry specific things to the context.
$context = $this->getContext($context);
return $this->renderer()->render($file, $context);
}
/**
* Compile and render twig string.
*
// All the custom twig variables can be defined in here:
$context = array();
// Render the page.
echo $theme->render('index.html.twig', $context);
// Store the file path
$this->_file = $directory . '/' . $filename;
// Get the file content
ob_start();
require $directory . '/' . $filename;
$contents = ob_get_clean();
}
return $contents;
}
$this->baseurl = Uri::base(true);
$this->params = $params['params'] ?? new Registry();
$this->template = $template;
// Load
$this->_template = $this->_loadTemplate($baseDir, $file);
return $this;
}
/**
*
* @since 1.7.0
*/
public function parse($params = [])
{
return $this->_fetchTemplate($params)->_parseTemplate();
}
/**
* Outputs the template to the browser.
*
// Fall back to constants.
$this->docOptions['directory'] = \defined('JPATH_THEMES') ? JPATH_THEMES : (\defined('JPATH_BASE') ? JPATH_BASE : __DIR__) . '/themes';
}
// Parse the document.
$this->document->parse($this->docOptions);
// Trigger the onBeforeRender event.
PluginHelper::importPlugin('system', null, true, $this->getDispatcher());
$this->dispatchEvent(
'onBeforeRender',
$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 dirname(__FILE__) . '/includes/app.php';
[2/2]
ClassNotFoundError
|
---|
Symfony\Component\ErrorHandler\Error\ClassNotFoundError: Attempted to load class "JRequest" from the global namespace. Did you forget a "use" statement? at /home/prvaetap/public_html/modules/mod_fj_related_plus/helper.php:504 at modFJRelatedPlusHelper::isArticle() (/home/prvaetap/public_html/modules/mod_fj_related_plus/helper.php:32) at modFJRelatedPlusHelper::getList() (/home/prvaetap/public_html/modules/mod_fj_related_plus/mod_fj_related_plus.php:15) at include('/home/prvaetap/public_html/modules/mod_fj_related_plus/mod_fj_related_plus.php') (/home/prvaetap/public_html/libraries/src/Dispatcher/ModuleDispatcher.php:52) at Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() (/home/prvaetap/public_html/libraries/src/Dispatcher/ModuleDispatcher.php:55) at Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() (/home/prvaetap/public_html/libraries/src/Helper/ModuleHelper.php:291) at Joomla\CMS\Helper\ModuleHelper::renderRawModule() (/home/prvaetap/public_html/libraries/src/Helper/ModuleHelper.php:162) at Joomla\CMS\Helper\ModuleHelper::renderModule() (/home/prvaetap/public_html/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99) at Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Framework/Platform.php:294) at Gantry\Framework\Platform->displayModule() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Framework/Platform.php:342) at Gantry\Framework\Platform->displayModules() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:702) at Twig\Template->getAttribute() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/0d/0d4a6911e2752baa5265db7e0e6f5b9761d3d76b2a688ac5db7456e79b4cc692.php:43) at __TwigTemplate_01ad04febfea6f21eb13ff5713edca5c250f2bf84bbf9e00b7f86de4dafc7bdb->block_particle() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:214) at Twig\Template->displayBlock() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/fd/fde41d9ff88e267cde744b89f85e1f02f78a4e570fefd8709c544de2ba51ef34.php:73) at __TwigTemplate_edf085b983c7e9bdabe8bb64b69d05d69a20c0ab490255b746ebee25ccd76165->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/0d/0d4a6911e2752baa5265db7e0e6f5b9761d3d76b2a688ac5db7456e79b4cc692.php:35) at __TwigTemplate_01ad04febfea6f21eb13ff5713edca5c250f2bf84bbf9e00b7f86de4dafc7bdb->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/db/db8697f41cb556935ef44e676eb00bfb3fbac52fb01b30cf6a8ddbdfead46594.php:53) at __TwigTemplate_f3ec2eae9d9333e5c795fc543ded7e6a25946a67ebad9d6c2015b691201c5ed3->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/46/462f8efe826bc0c6baa9133e28d76300d370325369c888f74eeb29ac49f9febc.php:75) at __TwigTemplate_d05e67649a8e18651181297e9bedd28de7d84d890453b9ba707c736d392b637b->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/1c/1c1c41b00ea35da18a5830f3287729679d4bb0a817227ed06a1ee30102a2a5d5.php:58) at __TwigTemplate_6c65161be3d9b11a085c3c23275f13061b0d6641ffe993eddf7dc812815ca4b1->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/d4/d4598f6236843b6c82e0fcf6c27afe75e3e0a7deb5f63c28bd8d7e38a98ae3cb.php:71) at __TwigTemplate_9017fa921f6734ddf592bdb38cf67deb4fb96f54e13435927f65d54656f13ec1->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/46/462f8efe826bc0c6baa9133e28d76300d370325369c888f74eeb29ac49f9febc.php:75) at __TwigTemplate_d05e67649a8e18651181297e9bedd28de7d84d890453b9ba707c736d392b637b->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/1c/1c1c41b00ea35da18a5830f3287729679d4bb0a817227ed06a1ee30102a2a5d5.php:58) at __TwigTemplate_6c65161be3d9b11a085c3c23275f13061b0d6641ffe993eddf7dc812815ca4b1->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/30/308b5ca5bbb0d17bd791a2c2a18b6ebe5a3db13aeca69551a231020811a39e38.php:51) at __TwigTemplate_84bff1e4df55899be20f2029690aadd8d5e615d94321e0890cb1da0f98582b7b->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/46/462f8efe826bc0c6baa9133e28d76300d370325369c888f74eeb29ac49f9febc.php:75) at __TwigTemplate_d05e67649a8e18651181297e9bedd28de7d84d890453b9ba707c736d392b637b->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/1c/1c1c41b00ea35da18a5830f3287729679d4bb0a817227ed06a1ee30102a2a5d5.php:58) at __TwigTemplate_6c65161be3d9b11a085c3c23275f13061b0d6641ffe993eddf7dc812815ca4b1->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/30/308b5ca5bbb0d17bd791a2c2a18b6ebe5a3db13aeca69551a231020811a39e38.php:51) at __TwigTemplate_84bff1e4df55899be20f2029690aadd8d5e615d94321e0890cb1da0f98582b7b->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/ba/ba74266590772a4e71c473b243bb405d964e00d88942be0af53017629587dafc.php:212) at __TwigTemplate_e77a93e0117191f68b71745017324846af6bfef58b8d611e49b3068f374b3fcb->block_page_layout() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:214) at Twig\Template->displayBlock() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/ba/ba74266590772a4e71c473b243bb405d964e00d88942be0af53017629587dafc.php:90) at __TwigTemplate_e77a93e0117191f68b71745017324846af6bfef58b8d611e49b3068f374b3fcb->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/b8/b87eadc7cf32ef06f192d9c509853e449ba938324df61983fbee71ec77735330.php:35) at __TwigTemplate_ab3424eee1af98a2d8430b6e051b4ced3ba2f0da28c81c269a5dcca16b017132->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/61/6187c77438ac4e6dc605180ab3b039da5e827ab0a710caf5e2689998b69ad6b9.php:36) at __TwigTemplate_42f6a5be43b563add507cef5711ba71a7c4b39c205a5e22a3f9f96364d18744b->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:432) at Twig\Template->render() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/TemplateWrapper.php:47) at Twig\TemplateWrapper->render() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Environment.php:384) at Twig\Environment->render() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php:176) at Gantry\Component\Theme\AbstractTheme->render() (/home/prvaetap/public_html/templates/rt_zenith/error.php:32) at require('/home/prvaetap/public_html/templates/rt_zenith/error.php') (/home/prvaetap/public_html/libraries/src/Document/HtmlDocument.php:731) at Joomla\CMS\Document\HtmlDocument->_loadTemplate() (/home/prvaetap/public_html/libraries/src/Document/HtmlDocument.php:785) at Joomla\CMS\Document\HtmlDocument->_fetchTemplate() (/home/prvaetap/public_html/libraries/src/Document/HtmlDocument.php:622) at Joomla\CMS\Document\HtmlDocument->parse() (/home/prvaetap/public_html/libraries/src/Document/HtmlDocument.php:640) at Joomla\CMS\Document\HtmlDocument->render() (/home/prvaetap/public_html/libraries/src/Document/ErrorDocument.php:139) at Joomla\CMS\Document\ErrorDocument->render() (/home/prvaetap/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:70) at Joomla\CMS\Error\Renderer\HtmlRenderer->render() (/home/prvaetap/public_html/libraries/src/Exception/ExceptionHandler.php:136) at Joomla\CMS\Exception\ExceptionHandler::render() (/home/prvaetap/public_html/libraries/src/Exception/ExceptionHandler.php:73) at Joomla\CMS\Exception\ExceptionHandler::handleException() (/home/prvaetap/public_html/libraries/src/Application/CMSApplication.php:336) at Joomla\CMS\Application\CMSApplication->execute() (/home/prvaetap/public_html/includes/app.php:58) at require_once('/home/prvaetap/public_html/includes/app.php') (/home/prvaetap/public_html/index.php:32) |
[1/2]
Error
|
---|
Error: Failed opening required '/home/prvaetap/public_html/components/com_content/helpers/route.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') at /home/prvaetap/public_html/modules/mod_fj_related_plus/helper.php:12 at require_once() (/home/prvaetap/public_html/modules/mod_fj_related_plus/mod_fj_related_plus.php:13) at include('/home/prvaetap/public_html/modules/mod_fj_related_plus/mod_fj_related_plus.php') (/home/prvaetap/public_html/libraries/src/Dispatcher/ModuleDispatcher.php:52) at Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() (/home/prvaetap/public_html/libraries/src/Dispatcher/ModuleDispatcher.php:55) at Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() (/home/prvaetap/public_html/libraries/src/Helper/ModuleHelper.php:291) at Joomla\CMS\Helper\ModuleHelper::renderRawModule() (/home/prvaetap/public_html/libraries/src/Helper/ModuleHelper.php:162) at Joomla\CMS\Helper\ModuleHelper::renderModule() (/home/prvaetap/public_html/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99) at Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Framework/Platform.php:294) at Gantry\Framework\Platform->displayModule() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Framework/Platform.php:342) at Gantry\Framework\Platform->displayModules() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:702) at Twig\Template->getAttribute() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/0d/0d4a6911e2752baa5265db7e0e6f5b9761d3d76b2a688ac5db7456e79b4cc692.php:43) at __TwigTemplate_01ad04febfea6f21eb13ff5713edca5c250f2bf84bbf9e00b7f86de4dafc7bdb->block_particle() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:214) at Twig\Template->displayBlock() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/fd/fde41d9ff88e267cde744b89f85e1f02f78a4e570fefd8709c544de2ba51ef34.php:73) at __TwigTemplate_edf085b983c7e9bdabe8bb64b69d05d69a20c0ab490255b746ebee25ccd76165->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/0d/0d4a6911e2752baa5265db7e0e6f5b9761d3d76b2a688ac5db7456e79b4cc692.php:35) at __TwigTemplate_01ad04febfea6f21eb13ff5713edca5c250f2bf84bbf9e00b7f86de4dafc7bdb->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/db/db8697f41cb556935ef44e676eb00bfb3fbac52fb01b30cf6a8ddbdfead46594.php:53) at __TwigTemplate_f3ec2eae9d9333e5c795fc543ded7e6a25946a67ebad9d6c2015b691201c5ed3->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:432) at Twig\Template->render() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/TemplateWrapper.php:47) at Twig\TemplateWrapper->render() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Environment.php:384) at Twig\Environment->render() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php:176) at Gantry\Component\Theme\AbstractTheme->render() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:825) at Gantry\Framework\Theme->getContent() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:718) at Gantry\Framework\Theme->renderContent() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:643) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:627) at Gantry\Framework\Theme->prepareLayout() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/ThemeTrait.php:468) at Gantry\Framework\Theme->segments() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:700) at Twig\Template->getAttribute() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/ba/ba74266590772a4e71c473b243bb405d964e00d88942be0af53017629587dafc.php:47) at __TwigTemplate_e77a93e0117191f68b71745017324846af6bfef58b8d611e49b3068f374b3fcb->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/b8/b87eadc7cf32ef06f192d9c509853e449ba938324df61983fbee71ec77735330.php:35) at __TwigTemplate_ab3424eee1af98a2d8430b6e051b4ced3ba2f0da28c81c269a5dcca16b017132->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/cache/gantry5/rt_zenith/twig/66/6641642a41ea2c7d8fe493111006c9e2d989a02ef877759688b21f086796becf.php:35) at __TwigTemplate_4e84c7ff66875716934cfc537f5ad4096df5d910f42cc579ef05bebc60907762->doDisplay() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:453) at Twig\Template->displayWithErrorHandling() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:420) at Twig\Template->display() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Template.php:432) at Twig\Template->render() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/TemplateWrapper.php:47) at Twig\TemplateWrapper->render() (/home/prvaetap/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Environment.php:384) at Twig\Environment->render() (/home/prvaetap/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php:176) at Gantry\Component\Theme\AbstractTheme->render() (/home/prvaetap/public_html/templates/rt_zenith/index.php:23) at require('/home/prvaetap/public_html/templates/rt_zenith/index.php') (/home/prvaetap/public_html/libraries/src/Document/HtmlDocument.php:731) at Joomla\CMS\Document\HtmlDocument->_loadTemplate() (/home/prvaetap/public_html/libraries/src/Document/HtmlDocument.php:785) at Joomla\CMS\Document\HtmlDocument->_fetchTemplate() (/home/prvaetap/public_html/libraries/src/Document/HtmlDocument.php:622) at Joomla\CMS\Document\HtmlDocument->parse() (/home/prvaetap/public_html/libraries/src/Application/CMSApplication.php:1057) at Joomla\CMS\Application\CMSApplication->render() (/home/prvaetap/public_html/libraries/src/Application/SiteApplication.php:732) at Joomla\CMS\Application\SiteApplication->render() (/home/prvaetap/public_html/libraries/src/Application/CMSApplication.php:311) at Joomla\CMS\Application\CMSApplication->execute() (/home/prvaetap/public_html/includes/app.php:58) at require_once('/home/prvaetap/public_html/includes/app.php') (/home/prvaetap/public_html/index.php:32) |