Hi,
I have a question about the debugging mode and error logging
I have several template overrides with custom layouts etc...
I have enable the debugging mode and I have a syntax error in a file.
In the site part I have the following error:
0 syntax error, unexpected token "("
In administrator/logs/everything.php I have the following but with the most important info is missing. In which file is the error And even better in which line ?native PHP error logging is displaying this critical information.
How can I find the file and line ?
Here is the full log :
I have a question about the debugging mode and error logging
I have several template overrides with custom layouts etc...
I have enable the debugging mode and I have a syntax error in a file.
In the site part I have the following error:
0 syntax error, unexpected token "("
In administrator/logs/everything.php I have the following but with the most important info is missing. In which file is the error And even better in which line ?
Code:
#13 [ROOT]/index.php(32): require_once('/home/mysite/...')
How can I find the file and line ?
Here is the full log :
2024-08-22T09:11:23+00:00CRITICAL 31.152.243.246errorUncaught Throwable of type ParseError thrown with message "syntax error, unexpected token "("". Stack trace: #0 [ROOT]/libraries/src/MVC/View/HtmlView.php(204): Joomla\CMS\MVC\View\HtmlView->loadTemplate(NULL)
#1 [ROOT]/libraries/src/MVC/View/CategoryView.php(262): Joomla\CMS\MVC\View\HtmlView->display(NULL)
#2 [ROOT]/components/com_content/src/View/Category/HtmlView.php(182): Joomla\CMS\MVC\View\CategoryView->display(NULL)
#3 [ROOT]/libraries/src/MVC/Controller/BaseController.php(697): Joomla\Component\Content\Site\View\Category\HtmlView->display()
#4 [ROOT]/components/com_content/src/Controller/DisplayController.php(122): Joomla\CMS\MVC\Controller\BaseController->display(true, Array)
#5 [ROOT]/libraries/src/MVC/Controller/BaseController.php(730): Joomla\Component\Content\Site\Controller\DisplayController->display()
#6 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('display')
#7 [ROOT]/components/com_content/src/Dispatcher/Dispatcher.php(56): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#8 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
#9 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
#10 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
#11 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
#12 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#13 [ROOT]/index.php(32): require_once('/home/mysite/...')
Statistics: Posted by mixahlos — Thu Aug 22, 2024 9:22 am