I don't understand. How a simple error.php file will migrate the whole template to Joomla 6 ?
Here are all the errors I have so maybe you will understand what I mean when I say that the template is NOT Joomla 6 compatible. All those class are not used anymore in J6 but still are massively present in the php files.
Attempted to load class "JDocumentRendererHead" from the global namespace.
Did you forget a "use" statement?
Symfony\Component\ErrorHandler\Error\
ClassNotFoundError
in C:\laragon\www\website1\templates\shaper_travelia\error.php (line 53)
$head = JPATH_LIBRARIES . '/joomla/document/html/renderer/head.php'; if(file_exists($head)) { require_once($head); }}$header_renderer = new JDocumentRendererHead($doc);$header_contents = $header_renderer->render(null);//background image$error_bg = '';$hascs_bg = '';
require()
in C:\laragon\www\website1\libraries\src\Document\HtmlDocument.php (line 734)
HtmlDocument->_loadTemplate('C:\\laragon\\www\\website1\\templates/shaper_travelia', 'error.php')
in C:\laragon\www\website1\libraries\src\Document\HtmlDocument.php (line 791)
HtmlDocument->_fetchTemplate(array('template' => 'shaper_travelia', 'directory' => 'C:\\laragon\\www\\website1\\templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in C:\laragon\www\website1\libraries\src\Document\HtmlDocument.php (line 625)
HtmlDocument->parse(array('template' => 'shaper_travelia', 'directory' => 'C:\\laragon\\www\\website1\\templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in C:\laragon\www\website1\libraries\src\Document\HtmlDocument.php (line 643)
HtmlDocument->render(false, array('template' => 'shaper_travelia', 'directory' => 'C:\\laragon\\www\\website1\\templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in C:\laragon\www\website1\libraries\src\Document\ErrorDocument.php (line 139)
ErrorDocument->render(false, array('template' => 'shaper_travelia', 'directory' => 'C:\\laragon\\www\\website1\\templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in C:\laragon\www\website1\libraries\src\Error\Renderer\HtmlRenderer.php (line 70)
HtmlRenderer->render(object(Error))
in C:\laragon\www\website1\libraries\src\Exception\ExceptionHandler.php (line 142)
ExceptionHandler::render(object(Error))
in C:\laragon\www\website1\libraries\src\Exception\ExceptionHandler.php (line 76)
ExceptionHandler::handleException(object(Error))
in C:\laragon\www\website1\libraries\src\Application\CMSApplication.php (line 350)
CMSApplication->execute()
in C:\laragon\www\website1\includes\app.php (line 58)
require_once('C:\\laragon\\www\\website1\\includes\\app.php')
in C:\laragon\www\website1\index.php (line 51)
Error
Class "JFactory" not found
in C:\laragon\www\website1\templates\shaper_travelia\html\layouts\joomla\content\post_formats\icons.php (line 12)
* @license GNU General Public License version 2 or later; see LICENSE.txt */defined('JPATH_BASE') or die;$params = JFactory::getApplication()->getTemplate(true)->params;$format = $displayData;if($params->get('show_post_format')) {
include()
in C:\laragon\www\website1\libraries\src\Layout\FileLayout.php (line 128)
FileLayout->render('standard')
in C:\laragon\www\website1\libraries\src\Layout\LayoutHelper.php (line 76)
LayoutHelper::render('joomla.content.post_formats.icons', 'standard')
in C:\laragon\www\website1\templates\shaper_travelia\html\com_content\article\default.php (line 84)
include('C:\\laragon\\www\\website1\\templates\\shaper_travelia\\html\\com_content\\article\\default.php')
in C:\laragon\www\website1\libraries\src\MVC\View\HtmlView.php (line 423)
HtmlView->loadTemplate(null)
in C:\laragon\www\website1\libraries\src\MVC\View\HtmlView.php (line 204)
HtmlView->display(null)
in C:\laragon\www\website1\components\com_content\src\View\Article\HtmlView.php (line 261)
HtmlView->display()
in C:\laragon\www\website1\libraries\src\MVC\Controller\BaseController.php (line 697)
BaseController->display(true, array('catid' => 'INT', 'id' => 'INT', 'cid' => 'ARRAY', 'year' => 'INT', 'month' => 'INT', 'limit' => 'UINT', 'limitstart' => 'UINT', 'showall' => 'INT', 'return' => 'BASE64', 'filter' => 'STRING', 'filter_order' => 'CMD', 'filter_order_Dir' => 'CMD', 'filter-search' => 'STRING', 'print' => 'BOOLEAN', 'lang' => 'CMD', 'Itemid' => 'INT'))
in C:\laragon\www\website1\components\com_content\src\Controller\DisplayController.php (line 123)
DisplayController->display()
in C:\laragon\www\website1\libraries\src\MVC\Controller\BaseController.php (line 730)
BaseController->execute('display')
in C:\laragon\www\website1\libraries\src\Dispatcher\ComponentDispatcher.php (line 143)
ComponentDispatcher->dispatch()
in C:\laragon\www\website1\components\com_content\src\Dispatcher\Dispatcher.php (line 56)
Dispatcher->dispatch()
in C:\laragon\www\website1\libraries\src\Component\ComponentHelper.php (line 361)
ComponentHelper::renderComponent('com_content')
in C:\laragon\www\website1\libraries\src\Application\SiteApplication.php (line 218)
SiteApplication->dispatch()
in C:\laragon\www\website1\libraries\src\Application\SiteApplication.php (line 272)
SiteApplication->doExecute()
in C:\laragon\www\website1\libraries\src\Application\CMSApplication.php (line 320)
CMSApplication->execute()
in C:\laragon\www\website1\includes\app.php (line 58)
require_once('C:\\laragon\\www\\website1\\includes\\app.php')
in C:\laragon\www\website1\index.php (line 51)