Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 17h 25m 33s
Claim 50% off
Awaiting an answer Templates

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

Asked by anchorsoftware 5 years ago Last activity 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

6 replies

Rashida Rahman Staff

Hi there!

Sorry for the inconvenience.

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

Best Regards

anchorsoftware Asked this

Please see hidden content area

Rashida Rahman Staff

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

anchorsoftware Asked this

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

anchorsoftware Asked this

Any update on this? Thanks

anchorsoftware Asked this

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.

Log in to reply.