Template Error - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Template Error

J

johnny

Template 3 years ago

I saved the home page in educon now i'm seeing the following error https://imgur.com/a/3hvjPYh

When I try to edit via the backend I see now page content apart from the header, logo and menu.

I have error reporting to maximum.

Any advise how I can troubleshoot this? Site currently localhost.

0
5 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #93751

Hello johnny

It is coming from the overridden addon of the template. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.

Best regards

0
J
johnny
Accepted Answer
3 years ago #93794

I can't share the site as it's localhost.

Is this a bug in the template?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #94380

okay, then go to Global Configuration -> System and turn on Debug System and then check the page. It will show the error location.

0
J
johnny
Accepted Answer
3 years ago #94459

I have done that and this is what I see. - https://imgur.com/a/SZ083YO

I really need this fixed as it's delaying my work.

I have made NO changes whatsoever. Joomla 4.2.5

*Call stack

Function Location

1 () JROOT\templates\edulif\html\modlogin\default.php:70 2 require() JROOT\modules\modlogin\modlogin.php:34 3 include() JROOT\libraries\src\Dispatcher\ModuleDispatcher.php:52 4 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT\libraries\src\Dispatcher\ModuleDispatcher.php:55 5 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT\libraries\src\Helper\ModuleHelper.php:281 6 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT\libraries\src\Helper\ModuleHelper.php:161 7 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT\libraries\src\Document\Renderer\Html\ModuleRenderer.php:99 8 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT\libraries\src\Document\Renderer\Html\ModulesRenderer.php:50 9 Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() JROOT\libraries\src\Document\HtmlDocument.php:565 10 Joomla\CMS\Document\HtmlDocument->getBuffer() JROOT\libraries\src\Document\HtmlDocument.php:848 11 Joomla\CMS\Document\HtmlDocument->renderTemplate() JROOT\libraries\src\Document\HtmlDocument.php:633 12 Joomla\CMS\Document\HtmlDocument->render() JROOT\libraries\src\Application\CMSApplication.php:1017 13 Joomla\CMS\Application\CMSApplication->render() JROOT\libraries\src\Application\SiteApplication.php:714 14 Joomla\CMS\Application\SiteApplication->render() JROOT\libraries\src\Application\CMSApplication.php:299 15 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:61 16 requireonce() JROOT\index.php:32*

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #94668

Please go to this location: templates/edulif/html/mod_login/default.php line 70 and change from this

if (count($twofactormethods) > 1)

to

if (count((array)$twofactormethods) > 1)

0