Themis: Syntax Error, Unexpected 'elseif' (T_ELSEIF), Expecting End Of File - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Themis: Syntax Error, Unexpected 'elseif' (T_ELSEIF), Expecting End Of File

A

anchorsoftware

Template 4 years ago

Themis was working fine and now is showing this message on article pages:

syntax error, unexpected 'elseif' (T_ELSEIF), expecting end of file

I turn on the debugger and this what is spills out:

Call stack

Function Location

1 () JROOT/templates/themis/html/com_content/article/default.php:170 2 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:218 3 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_content/src/View/Article/HtmlView.php:257 4 Joomla\Component\Content\Site\View\Article\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:692 5 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_content/src/Controller/DisplayController.php:125 6 Joomla\Component\Content\Site\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730 7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:146 8 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/components/com_content/src/Dispatcher/Dispatcher.php:55 9 Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 10 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206 11 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245 12 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 13 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63 14 require_once() JROOT/index.php:32

0
6 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #42830

Hi there!

Sorry for the inconvenience.

Would you please give me your admin access to check the issue?

Best Regards

0
A
anchorsoftware
Accepted Answer
4 years ago #42833

Please see hidden content area

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #42946

Hello,

Would you please go to this file location: /templates/themis/html/com_content/article/default.php

And give me the stack that what is on line number 170?

Best Regards

0
A
anchorsoftware
Accepted Answer
4 years ago #43152

elseif ($params->get('show_noauth') == true && $user->get('guest')) :

0
A
anchorsoftware
Accepted Answer
4 years ago #43526

Any update on this? Thanks

0
A
anchorsoftware
Accepted Answer
4 years ago #44157

Good monring, It's been a week waiting for this. Do I need to discard the theme and use something else? Wasting time and money waiting on a resposne.

0